Hi, After I've published the project fine to WIN-BVDIC8GIAHI/Login
using Web developer 2010, when I further run it like https://WIN-BVDIC8GIAHI/Login
I get this. Why?
Server ErrorInternet Information Services 7.5
Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error InformationModule IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
Config File \\?\C:\inetpub\wwwroot\web.config
Requested URL https://win-bvdic8giahi:443/Login
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
Config Source
5: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
6: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"
/>
7: <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information »
The problem occurs because when you use framework 4.0, the machine
config already has some of the sections
defined that were used in previous ASP.NEt versions. So replace the
sectionGroup
of your existing web.config with the below configs:
I did change these 2 config files.
http://dl.dropbox.com/u/40211031/Web%20(project).config
http://dl.dropbox.com/u/40211031/Web%20(server).config
After I redeployed/reran the same project, I still have got this
Server ErrorInternet Information Services 7.5
Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error InformationModule IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
Config File \\?\C:\inetpub\wwwroot\web.config
Requested URL https://win-bvdic8giahi:443/Login
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
Config Source
5: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
6: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"
/>
7: <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information »
wmec
Contributor
6219 Points
3217 Posts
Unable to run it
Nov 05, 2012 08:17 AM|LINK
Hi,
After I've published the project fine to
WIN-BVDIC8GIAHI/Login
using Web developer 2010, when I further run it like
https://WIN-BVDIC8GIAHI/Login
I get this. Why?
Server ErrorInternet Information Services 7.5
Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error InformationModule IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
Config File \\?\C:\inetpub\wwwroot\web.config
Requested URL https://win-bvdic8giahi:443/Login
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
Config Source
5: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
6: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
7: <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information »
HuaMin Chen
oned_gk
All-Star
31127 Points
6357 Posts
Re: Unable to run it
Nov 05, 2012 08:35 AM|LINK
wmec
Contributor
6219 Points
3217 Posts
Re: Unable to run it
Nov 05, 2012 09:15 AM|LINK
Do you mean to remove all the version reference which is Version=3.5.0.0, inside Web.config file?
HuaMin Chen
oned_gk
All-Star
31127 Points
6357 Posts
Re: Unable to run it
Nov 05, 2012 12:04 PM|LINK
Install netfx from Web developer 2010 DVD, i think in wcu folder
And configur App_pool to use the netfx version
Try also change the default app pool with same netfx
wmec
Contributor
6219 Points
3217 Posts
Re: Unable to run it
Nov 06, 2012 12:55 AM|LINK
Where to download Netfx for Web developer 2010? How to identify if there is a problem or not for my Web developer/IIS setup?
HuaMin Chen
Amy Peng - M...
Star
10097 Points
952 Posts
Microsoft
Re: Unable to run it
Nov 06, 2012 08:35 AM|LINK
Hi wmec,
The following threads are similar to you and have been solved, please try to refer to it:
http://forums.asp.net/p/1571308/3939106.aspx.
http://www.sitefinity.com/devnet/forums/developing-with-sitefinity/http-error-500-19---internal-server-error
Regards,
Amy Peng
Feedback to us
Develop and promote your apps in Windows Store
wmec
Contributor
6219 Points
3217 Posts
Re: Unable to run it
Nov 07, 2012 12:57 AM|LINK
Thanks a lot.
1. would you advise what should be changed in the Web.config file?
2. please also advise if this is effecting
C:\inetpub\wwwroot\Web.config
or the same one inside the project is effecting
HuaMin Chen
Amy Peng - M...
Star
10097 Points
952 Posts
Microsoft
Re: Unable to run it
Nov 07, 2012 02:36 AM|LINK
Hi wmec,
The problem occurs because when you use framework 4.0, the machine config already has some of the sections defined that were used in previous ASP.NEt versions. So replace the
of your existing web.config with the below configs:<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/> <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> </sectionGroup> </sectionGroup> </sectionGroup>Both of the two threads gave the some answer, please try to refer to:
http://dotnetspidor.blogspot.com/2011/09/last-time-i-got-following-error-http.html.
http://www.codeproject.com/Articles/255278/IIS-deployment-error-There-is-a-duplicate-scriptRe.
Regards,
Amy Peng
Feedback to us
Develop and promote your apps in Windows Store
wmec
Contributor
6219 Points
3217 Posts
Re: Unable to run it
Nov 07, 2012 03:23 AM|LINK
I did change these 2 config files.
http://dl.dropbox.com/u/40211031/Web%20(project).config
http://dl.dropbox.com/u/40211031/Web%20(server).config
After I redeployed/reran the same project, I still have got this
Server ErrorInternet Information Services 7.5
Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error InformationModule IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
Config File \\?\C:\inetpub\wwwroot\web.config
Requested URL https://win-bvdic8giahi:443/Login
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
Config Source
5: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
6: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
7: <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information »
HuaMin Chen
wmec
Contributor
6219 Points
3217 Posts
Re: Unable to run it
Nov 08, 2012 12:53 AM|LINK
Any advice to this?
HuaMin Chen