IIS7 App Pool can't load library with Fixed Base Address
问题 My .NET 4.0 Web services are using libeay32.dll, which is compiled in VS2010 with the /FIXED option in order to be FIPS compliant. This means that libeay32.dll fails to load unless it gets to live in a certain address (0xfb00000). The exception thrown is: System.DllNotFoundException: Unable to load DLL 'some_dependent_library.dll': Attempt to access invalid address. The only way I know to help guarantee that libeay32.dll gets the right address is to load it in a Main() method before any other