| | |
Unrecognized configuration section "
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2008
Posts: 3
Reputation:
Solved Threads: 0
Sorry to anyone if I made the mistake of "Thread Hijacking"...onto the issue
Attached is my Web.Config file. I am getting upto 6 different Unrecognized Configuration section issues...
I am converting from VB to C# using a product called CodeChargeStudio4, a product the company wants me to use. I have been able to resolve most of the other issues but I am down to these last 6...for now.
this is the error message when publishing to the web site - .NET...
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: Unrecognized configuration section authentication.
Source Error:
Line 79: <!--Authentication @0-D74B60F9-->
Line 80:
Line 81: <authentication mode="Forms">
Line 82: <forms loginUrl="Login.aspx"/>
Line 83: </authentication>
Source File: D:\Inetpub\wwwroot\QA\im4\web.config Line: 81
Show Additional Configuration Errors:
Unrecognized configuration section membership. (D:\Inetpub\wwwroot\QA\im4\web.config line 85)
Unrecognized configuration section roleManager. (D:\Inetpub\wwwroot\QA\im4\web.config line 100)
Unrecognized configuration section compilation. (D:\Inetpub\wwwroot\QA\im4\web.config line 113)
Unrecognized configuration section httpHandlers. (D:\Inetpub\wwwroot\QA\im4\web.config line 130)
Unrecognized configuration section httpModules. (D:\Inetpub\wwwroot\QA\im4\web.config line 136)
again, the attached file is the web.config file...thank you for any advice or guidance...
Attached is my Web.Config file. I am getting upto 6 different Unrecognized Configuration section issues...
I am converting from VB to C# using a product called CodeChargeStudio4, a product the company wants me to use. I have been able to resolve most of the other issues but I am down to these last 6...for now.
this is the error message when publishing to the web site - .NET...
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: Unrecognized configuration section authentication.
Source Error:
Line 79: <!--Authentication @0-D74B60F9-->
Line 80:
Line 81: <authentication mode="Forms">
Line 82: <forms loginUrl="Login.aspx"/>
Line 83: </authentication>
Source File: D:\Inetpub\wwwroot\QA\im4\web.config Line: 81
Show Additional Configuration Errors:
Unrecognized configuration section membership. (D:\Inetpub\wwwroot\QA\im4\web.config line 85)
Unrecognized configuration section roleManager. (D:\Inetpub\wwwroot\QA\im4\web.config line 100)
Unrecognized configuration section compilation. (D:\Inetpub\wwwroot\QA\im4\web.config line 113)
Unrecognized configuration section httpHandlers. (D:\Inetpub\wwwroot\QA\im4\web.config line 130)
Unrecognized configuration section httpModules. (D:\Inetpub\wwwroot\QA\im4\web.config line 136)
again, the attached file is the web.config file...thank you for any advice or guidance...
•
•
Join Date: May 2008
Posts: 144
Reputation:
Solved Threads: 9
Hi,
There are 2 <system.web> sections in your config file. Remove this -
<!--sysytem.web tail @0-49F1C7C6-->
<system.web>
</system.web>
<!--End sysytem.web tail-->
Then move the sections which are causing the errors to the other <system.web> section which also contains the <customErrors mode="Off"> setting.
I think this will solve your problem.
There are 2 <system.web> sections in your config file. Remove this -
<!--sysytem.web tail @0-49F1C7C6-->
<system.web>
</system.web>
<!--End sysytem.web tail-->
Then move the sections which are causing the errors to the other <system.web> section which also contains the <customErrors mode="Off"> setting.
I think this will solve your problem.
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: in asp.net request.form
- Next Thread: GirdView Problem
| Thread Tools | Search this Thread |
.net 3.5 ajax alltypeofvideos appliances asp asp.net bc30451 beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions control countryselector dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash formatdecimal formview gridview gudi iis javascript list listbox login microsoft mouse mssql nameisnotdeclared news novell numerical opera panelmasterpagebuttoncontrols problem radio redirect registration relationaldatabases reportemail save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio vs2008 web webapplications webdevelopemnt webdevelopment webprogramming webservice wizard xsl youareanotmemberofthedebuggerusers





