I am trying to run an ASPX page hosted on Windows Server 2008 x86 through IIS 7.0, with .NET 4.0. I added an application app1in Default Web SiteIIS mapped to dir C:\toto\app1that contains the file Web.config. I have an error:
Failed to load file or assembly "xxx.dll" or one of its dependencies, etc.
and xxx.dll- this is a .NET DLL that wraps its own C ++ DLLs ( they are dependencies that cannot be loaded), they are all located in C:\toto\app1\bin. I tried changing the env PATH variable so that it contained a directory bin(yes, I know this badly :-)), but it still does not work.
I suppose there should be something at the IIS application level, but I could not understand that ... Could you help?
Many thanks!
EDIT: copying your own dlls in C:\windows\system32really works, but this is not a pleasant solution at all ...
source
share