ASP.NET IIS Web.config [Internal Server Error]

http://stackoverflow.com/questions/2138285/asp-net-iis-web-config-inte

Page 1 of 1

2 Replies - 3866 Views - Last Post: 26 January 2010 - 11:05 PM Rate Topic: -----

#1 Net Cemeteries  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 52
  • Joined: 14-April 09

ASP.NET IIS Web.config [Internal Server Error]

Posted 26 January 2010 - 05:17 AM

I changed PC / Windows (XP -> 7) so IIS (6 -> 7,5) and trying to move my website

But I can't run my site from this server . . . error :

Quote

Error description: Error HTTP 500.19 - Internal Server Error

The requested page is not available because of incorrect configuration data for this page.

Error Details Module IIS Web Core Notice BeginRequest Handler Not yet determined Error 0x80070021 Configuration error This configuration section can not be used in this way. This happens when the section is locked at the parent level. Locking is either by default (overrideModeDefault = "Deny"), or installed directly by the tag location with overrideMode = "Deny" or inherited property allowOverride = "false". The configuration file \ \? \ D: \ Projects \ Flow WEB \ Sources \ web.config The requested URL-address https: / / 192.168.0.172:443 / Physical Path D: \ Projects \ Flow WEB \ Sources Logon Method Not yet determined Users who have logged on yet to be determined Channel


Configuration
<handlers>   
<remove name="WebServiceHandlerFactory-Integrated" />


...

my web.config part :

	<modules>
		<remove name="ScriptModule" />
		<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
	</modules>

	<handlers>
		<remove name="WebServiceHandlerFactory-Integrated" />
		<remove name="ScriptHandlerFactory" />
		<remove name="ScriptHandlerFactoryAppServices" />
		<remove name="ScriptResource" />
		<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
		<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
		<add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
	</handlers>


So what's wrong ?

Is This A Good Question/Topic? 0
  • +

Replies To: ASP.NET IIS Web.config [Internal Server Error]

#2 Net Cemeteries  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 52
  • Joined: 14-April 09

Re: ASP.NET IIS Web.config [Internal Server Error]

Posted 26 January 2010 - 11:03 PM

Solved.
Was This Post Helpful? 0
  • +
  • -

#3 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5413
  • View blog
  • Posts: 27,430
  • Joined: 10-May 07

Re: ASP.NET IIS Web.config [Internal Server Error]

Posted 26 January 2010 - 11:05 PM

Was this an issue with IIS configuration, or ASP code?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1