windows - WebResource.axd giving 403 error in ASP.Net Post backs using IIS7 -


i installed asp.net website on windows 2008 server, default using iis7. website seems work fine, post backs on forms not work. after few hours of debugging, realized when manually try hit webresource.axd file in browser (e.g. type http://www.domain.com/webresource.axd in address bar), http 403 error (access denied).

i'm not quite sure next , windows 2008 security knowledge limited. how go giving access file?

navigate iis config folder. typically: c:\windows\system32\inetsrv\config , open applicationhost.config file. within file navigate <handlers> section , check following line present:

<add name="assemblyresourceloader-integrated" path="webresource.axd" verb="get,debug" type="system.web.handlers.assemblyresourceloader" precondition="integratedmode" /> 

that if you're running in integrated mode. check verb specified.

if running in classic pipeline mode line should present

<add name="axd-isapi-2.0" path="*.axd" verb="get,head,post,debug" modules="isapimodule" scriptprocessor="%windir%\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll" precondition="classicmode,runtimeversionv2.0,bitness32" responsebufferlimit="0" /> 

if seems ok @ web.config in handlers , modules section , see if have added <clear /> on top of each. if did have include add section in web.config file respecting order in of handlers/modules specified in applicationhosting.config file.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -