Wednesday, March 28, 2012

system.webServer and sys is undefined

Hi,

I know this has been on the table before but I've been struggling with "sys is undefined" when running in IIS7 Integrated mode for a while now and it would be great to get a good answer from MS (or someone else) about this. Classic mode works just fine. There are 5000 different "solutions" available in the forums and the only thing I've managed to get to work is removing the <handlers> section under <system.webServer>. The application still works as expected. Aren't these lines required? They already exist in <httpHandlers> below <system.web>.

When I accesshttp://localhost/test/ScriptResource.axd with the <handlers> still there I get:

Description: Handler "ScriptResource" has a bad module "ManagedPipelineHandler" in its module list
Error Code: 0x8007000d
Notification: ExecuteRequestHandler
Module: IIS Web Core
Requested URL:http://localhost:80/test/ScriptResource.axd
Physical Path: C:\Projects\test\web\ScriptResource.axd
Logon User: domain\user
Logon Method: Negotiate
Handler: ScriptResource

When I remove the section the application works but I get 404 instead when accessinghttp://localhost/test/ScriptResource.axd.

Can someone please explain or point me in the right direction?

Many thanks,
Manso

Hi,

Please refer to this thread:http://forums.asp.net/p/1048901/1504197.aspx#1504197

Hope this helps.

No comments:

Post a Comment