I have been trying to get this ISAPI Extension settings correct in IIS, with no success.
In IIS under the Machine name -> ISAPI and CGI Restrictions I have included my dll with the correct path c:\inetpub\scripts\CreditNow.dll with Allow extension path to execute box ticked.
I also have the Allow unspecified CGI module and Allow unspecified ISAPI modules boxes ticked.
In the Handler Mappings for the option ISAPI-dll my executable is set as C:\inetpub\scripts\CreditNow.dll and Request Path: *.dll. In the Request Restrictions->Mapping->Invoke handler only if.. (This is ticked)
In the Access tab->Execute is chosen.
In the Default Web Site section-> Virtual Directories, my correct path is set here:
Physical Path: C:\inetpath\scripts
Also in Control Panel->Programs and Features->Turn Windows features on or off->IIS -> Application Development Features, all options are ticked (CGI,ISAPI Extensions,ISAPI Filters...).
The error message that I get when running the dll on Internet Explorer is:
HTTP Error 500.0 - Internal Server Error
There is a problem with the resource you are looking for, so it cannot be displayed.
Physical Path C:\inetpub\scripts\CreditNow.dll
I have been playing around with the IIS settings for a while now and unable to get this working.
The code is correct because it used to work on a different machine running on Windows Vista.
My current OS is Windows 7.
I am missing some setting or registration and I can't figure it out. Any help will be highly appreciated.