Unrecognized configuration section "

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2008
Posts: 3
Reputation: dmarino1 is an unknown quantity at this point 
Solved Threads: 0
dmarino1 dmarino1 is offline Offline
Newbie Poster

Unrecognized configuration section "

 
0
  #1
Jul 3rd, 2008
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 Files
File Type: zip web.zip (2.1 KB, 2 views)
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 144
Reputation: sierrainfo is an unknown quantity at this point 
Solved Threads: 9
sierrainfo sierrainfo is offline Offline
Junior Poster

Re: Unrecognized configuration section "

 
0
  #2
Jul 3rd, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 3
Reputation: dmarino1 is an unknown quantity at this point 
Solved Threads: 0
dmarino1 dmarino1 is offline Offline
Newbie Poster

Re: Unrecognized configuration section "

 
0
  #3
Jul 3rd, 2008
well, I tried to remove, everytime I re-publish it gets recreated so its something this application requires...any other suggestions?

thanks
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC