I just migrated an old classic ASP app to a Windows 2016 server running IIS 10 and I cannot use a DLL that ran flawlessly on Windows 2012 running IIS 8.
I've spent the last 2 days trying everything I could think of with no luck. Even building a new DLL with Visual Studio 2017 - that also didn't work. Has anyone run into this problem and solved it? I hope so because I hate to go backward at this point.
It happens when a call is made to "Server.CreateObject(nameOfDll)" and the error is either "Server.CreateObject Failed" or "entry-point DllRegisterServer was not found".
The DLL is installed with an MSI installer. I also tried regsvr32 and regasm with no luck. I'm thinking it's a compatibility issue that I hope one of you smart folks know how to work around.
** UPDATE **
I setup a new 2012 Server running IIS 8 to test the suggestion made by Lex Li and Lankymart. It worked on that server without any problems. I then made the changes to the Windows 2016 server running IIS 10 that was giving me a problem and it did not fix the problem, but the error message changed: "Object doesn't support this property or method". It appears to be reading the DLL but doesn't recognize the methods.