Hello
I have a 2008R2 server which is intended on running classic ASP and ASP.net applications. When trying to browse to my classic ASP application I am getting:
Code:
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
So after some investigation I see the application pool was set to .net 4.0 and Integrated code. Knowing that I did not need this I set it back to no managed code / classic. So all was fine, my classic ASP system works without issue. Only then did I find out there is a .net application also sitting under the same IIS Website which was no longer working.
Now when I set the Application pool back to .net 4.0 and Integrated code both the classic ASP and .net sites serve up the above error. So now both sites are broken...
If I place a simple Classic ASP page in place it does work fine so IIS is serving up a simple classic ASP page. I have tried recycling the app pool, no luck. I just re-started the server, no luck.......Any help would be great
TYIA