Allow unmanaged DLL’s in IIS

Asked

Viewed 301 times

1

How to set up IIS in windows 10 to allow unmanaged DLL?

1 answer

1


At first, you don’t need to set anything up. Just be visible in the Windows PATH or in the Windows/System32 directory, this to dll x64. For x86, you need to put inside the Windows/Syswow64/System32 directory and configure the IIS website to be 32-bit compatible.

It is interesting to check if all dependencies are satisfied using the utility Dependency Walker.

  • are already in System32, even so the errors continue.

  • Are dlls 32 or 64 bits?

  • Depending on the type of DLL, you may have to register. how to register a dll (English)

  • is 64 bit, I did and says.. the module was loaded, but dllregisterserver was not located.

  • how do you want to access this dll? It’s an ASP application, or it’s ASP.NET?

  • Asp.Net web page access to connect a thermal imager

  • @Lorena just checking in - regsvr32 needs to be executed as administrator, otherwise dllregisterserver will fail (and in some cases silently.)

  • @Onosendai ran as administrator and still says dllregisterserver was not found.

  • 2

    @Lorena So your DLL does not have the registry interface (it is not a COM object). You may also be registering a 32bit DLL in a 64 bit environment or vice versa. If you want to confirm, type dumpbin /exports 'nomedadll.dll'.

Show 4 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.