Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 157385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:29:41+00:00 2026-05-11T10:29:41+00:00

I am getting following error while running my application which is asp.net. Server Error

  • 0

I am getting following error while running my application which is asp.net.

Server Error in ‘/ASPMassShop’ Application.

‘Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Child nodes not allowed.

Source Error:

Line 126:       <compilers> Line 127:           <compiler language='c#;cs;csharp' extension='.cs' warningLevel='4' type='Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'> Line 128:               <providerOption name='CompilerVersion' value='v3.5'/> Line 129:               <providerOption name='WarnAsError' value='false'/> Line 130:           </compiler> 

Source File: D:\ASPMass_Source.0.1\ASPMassShop\web.config Line: 128


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 ‘

Following is my web.config

<?xml version='1.0'?> <configuration>     <configSections>         <section name='RewriterConfig' type='URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter'/>         <sectionGroup name='system.web.extensions' type='System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'>             <sectionGroup name='scripting' type='System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'>                 <section name='scriptResourceHandler' type='System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35' requirePermission='false' allowDefinition='MachineToApplication'/>                 <sectionGroup name='webServices' type='System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'>                     <section name='jsonSerialization' type='System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35' requirePermission='false' allowDefinition='Everywhere'/>                     <section name='profileService' type='System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35' requirePermission='false' allowDefinition='MachineToApplication'/>                     <section name='authenticationService' type='System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35' requirePermission='false' allowDefinition='MachineToApplication'/>                     <section name='roleService' type='System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35' requirePermission='false' allowDefinition='MachineToApplication'/>                 </sectionGroup>             </sectionGroup>         </sectionGroup>     </configSections>     <RewriterConfig>         <Rules>             <RewriterRule>                 <LookFor>^/default\.aspx$</LookFor>                 <SendTo>/default.aspx</SendTo>             </RewriterRule>             <RewriterRule>                 <LookFor>^/([a-zA-Z0-9-]+)\.aspx$</LookFor>                 <SendTo>/Categories/Category.aspx?Category=$1</SendTo>             </RewriterRule>             <RewriterRule>                 <LookFor>^/([a-zA-Z0-9-]+)/([0-9]+)\.aspx$</LookFor>                 <SendTo>/Categories/Category.aspx?Category=$1&amp;PageID=2</SendTo>             </RewriterRule>             <RewriterRule>                 <LookFor>^/([a-zA-Z0-9-]+)/([0-9]+)/(NameDown|NameUp|PriceDown|PriceUp)\.aspx$</LookFor>                 <SendTo>/Categories/Category.aspx?Category=$1&amp;PageID=$2&amp;Sort=$3</SendTo>             </RewriterRule>             <RewriterRule>                 <LookFor>^/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)\.aspx$</LookFor>                 <SendTo>/Products/Product.aspx?Category=$1&amp;Item=$2</SendTo>             </RewriterRule>         </Rules>     </RewriterConfig>     <appSettings>         <add key='SiteName' value='ASPMass Shopping Cart'/>         <add key='SiteUrl' value='http://localhost:3156'/>         <add key='SiteDir' value='E:\work\ASPMass\ASPMassShop'/>         <add key='Currency' value='USD'/>         <add key='ProductsPerPage' value='10'/>         <add key='PayPal_Email' value='yourpaypalemail@youremail.com'/>         <add key='PayPal_Return' value='http://localhost:2324/Orders/OrderStep4.aspx'/>         <add key='PayPal_Cancel' value='http://localhost:3156/Orders/Payment/Payment.aspx?Payment=PayPal'/>         <add key='PayPal_Currency' value='USD'/>         <add key='PayPal_URL' value='https://www.sandbox.paypal.com/cgi-bin/webscr'/>         <add key='MaxTopProducts' value='100'/>         <add key='Version' value='0.2'/>         <add key='ActivateNewUsers' value='True'/>         <add key='SearchExpiration' value='1440'/>         <add key='CatImgWidth' value='40'/>         <add key='CatImgHeight' value='40'/>         <add key='ManufImgWidth' value='70'/>         <add key='ManufimgHeight' value='30'/>         <add key='SMTPServer' value='localhost'/>         <add key='SMTPPort' value='25'/>         <add key='SMTPUser' value='admin'/>         <add key='SMTPPass' value='admin'/>         <add key='NewsletterEmail' value='no_reply@aspmass.com'/>     </appSettings>     <connectionStrings>         <!--<add name='CartDBConnection' connectionString='Data Source=HAMBUGADA\SQLEXPRESS;Initial Catalog=ASPMass;Integrated Security=True' providerName='System.Data.SqlClient'/>-->         <add name='ConnStr' connectionString='Data Source=GRAPHIX\SQLEXPRESS;Initial Catalog=GltzCartData;Integrated Security=True ' providerName='System.Data.SqlClient'/>     </connectionStrings>     <system.web>         <siteMap>             <providers>                 <add name='AdminSiteMap' type='System.Web.XmlSiteMapProvider' siteMapFile='~/Admin/Admin.sitemap'/>             </providers>         </siteMap>         <!--              Set compilation debug='true' to insert debugging              symbols into the compiled page. Because this              affects performance, set this value to true only              during development.         -->         <compilation debug='true'>             <assemblies>                 <add assembly='System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089'/>                 <add assembly='System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089'/>                 <add assembly='System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/>                 <add assembly='System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089'/>             </assemblies>         </compilation>         <!--             The <authentication> section enables configuration              of the security authentication mode used by              ASP.NET to identify an incoming user.          -->         <authentication mode='Windows'/>         <!--             The <customErrors> section enables configuration              of what to do if/when an unhandled error occurs              during the execution of a request. Specifically,              it enables developers to configure html error pages              to be displayed in place of a error stack trace.          <customErrors mode='RemoteOnly' defaultRedirect='GenericErrorPage.htm'>             <error statusCode='403' redirect='NoAccess.htm' />             <error statusCode='404' redirect='FileNotFound.htm' />         </customErrors>         -->         <pages theme='Front_BlueTheme'>             <controls>                 <add tagPrefix='asp' namespace='System.Web.UI' assembly='System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/>                 <add tagPrefix='asp' namespace='System.Web.UI.WebControls' assembly='System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/>             </controls>         </pages>         <httpHandlers>             <remove verb='*' path='*.asmx'/>             <add verb='*' path='*.asmx' validate='false' type='System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/>             <add verb='*' path='*_AppService.axd' validate='false' type='System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/>             <add verb='GET,HEAD' path='ScriptResource.axd' type='System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35' validate='false'/>         </httpHandlers>         <httpModules>             <add name='ScriptModule' type='System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/>             <add type='URLRewriter.ModuleRewriter, URLRewriter' name='ModuleRewriter'/>         </httpModules>     </system.web>     <system.codedom>         <compilers>             <compiler language='c#;cs;csharp' extension='.cs' warningLevel='4' type='Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'>                 <providerOption name='CompilerVersion' value='v3.5'/>                 <providerOption name='WarnAsError' value='false'/>             </compiler>         </compilers>     </system.codedom>     <!--          The system.webServer section is required for running ASP.NET AJAX under Internet         Information Services 7.0.  It is not necessary for previous version of IIS.     -->     <system.webServer>         <validation validateIntegratedModeConfiguration='false'/>         <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' preCondition='integratedMode' verb='GET,HEAD' path='ScriptResource.axd' type='System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/>         </handlers>     </system.webServer>     <runtime>         <assemblyBinding xmlns='urn:schemas-microsoft-com:asm.v1'>             <dependentAssembly>                 <assemblyIdentity name='System.Web.Extensions' publicKeyToken='31bf3856ad364e35'/>                 <bindingRedirect oldVersion='1.0.0.0-1.1.0.0' newVersion='3.5.0.0'/>             </dependentAssembly>             <dependentAssembly>                 <assemblyIdentity name='System.Web.Extensions.Design' publicKeyToken='31bf3856ad364e35'/>                 <bindingRedirect oldVersion='1.0.0.0-1.1.0.0' newVersion='3.5.0.0'/>             </dependentAssembly>         </assemblyBinding>     </runtime> </configuration> 

Where do I have to make changes to make my application run?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T10:29:42+00:00Added an answer on May 11, 2026 at 10:29 am

    providerOption is not allowed as Child node in the compiler tag of the web.config.

    <system.codedom>     <compilers>             <compiler language='c#;cs;csharp' extension='.cs' warningLevel='4' type='Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'>                     <providerOption name='CompilerVersion' value='v3.5'/>                     <providerOption name='WarnAsError' value='false'/>             </compiler>     </compilers> </system.codedom> 

    See here on the MSDN docmentation for the .NET 3.5 framework.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 118k
  • Answers 118k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The following gets you a distinct list of cities and… May 11, 2026 at 11:35 pm
  • Editorial Team
    Editorial Team added an answer I don't know if this even applies, since it is… May 11, 2026 at 11:35 pm
  • Editorial Team
    Editorial Team added an answer I never used Netbeans, but I found this: STDIN in… May 11, 2026 at 11:35 pm

Related Questions

I have SQL server 2008 and it was working fine ,but today while starting
I'm getting the following error when trying to setup SQL Server 2005 DB Mirroring
I am getting Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
Flawed as I am, I've received some unneeded help in creating errors in the

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.