Server Error in '/CM_site' Application.

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

Join Date: Jul 2005
Posts: 1
Reputation: ChaosBelle is an unknown quantity at this point 
Solved Threads: 0
ChaosBelle ChaosBelle is offline Offline
Newbie Poster

Server Error in '/CM_site' Application.

 
0
  #1
Jul 25th, 2005
I'm very new to using asp.net and am trying to run my company's website with IIS - I know that it's set up properly because our other projects work fine on our local host. The problem I'm getting is with the web.config file. The project was outsourced and we no longer have contact with the person who wrote the asp side. I get the following error trying to view the website:

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 'configuration'

Source Error:


Line 28: />
Line 29:
Line 30: <configuration>
Line 31: <system.web>
Line 32: <customErrors mode="Off"/>


Source File: c:\inetpub\wwwroot\CM_site\web.config Line: 30


--------------------------------------------------------------------------------


Any ideas? It runs fine on the FTP server, but not the IIS.
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 41
Reputation: npasma is an unknown quantity at this point 
Solved Threads: 0
npasma's Avatar
npasma npasma is offline Offline
Light Poster

Re: Server Error in '/CM_site' Application.

 
0
  #2
Jul 25th, 2005
Here's a little something I found online, I have no idea if it will help, but here goes:

Symptom:
After copying or installing a .NET web-application the following error is observed in the browser when trying to view the site:

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


Cause
This error is generated because the default set of configuration values in web.config require IIS to treat the web site as an application but this has not been configured.

Remedy:
1. Run Internet Services Manager (under Control Panel > Administrative Tools)
2. Find the project in the list of projects. (Open up your computer in the list and look under "Default Web Site").
3. Bring up its properties (Right click > Properties).
4. If the "application name" (under "Application Settings" on the "Directory" tab) is greyed out then click '[Create]' and then '[OK]'.


I really hope this does something for ya! Good luck!
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 1
Reputation: nutsboutnad is an unknown quantity at this point 
Solved Threads: 0
nutsboutnad nutsboutnad is offline Offline
Newbie Poster

Re: Server Error in '/CM_site' Application.

 
0
  #3
Jan 2nd, 2006
i have the same problem... but that doesnt work... so do u have any other solutions?

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 'connectionStrings'

Source Error:


Line 10: <configuration>
Line 11: <appSettings/>
Line 12: <connectionStrings>
Line 13:
Line 14: <connectionStrings/>


Source File: C:\Inetpub\wwwroot\WA_Test\web.config Line: 12
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 275
Reputation: f1 fan is an unknown quantity at this point 
Solved Threads: 11
f1 fan f1 fan is offline Offline
Posting Whiz in Training

Re: Server Error in '/CM_site' Application.

 
0
  #4
Jan 12th, 2006
OK first of all the custom Errors problem. IIS doesnt like the /> closing tag. You have to use <customErrors mode="Off"></customErrors> that will work

Second problem was the closing tag of connection strings... it should be </connectionStrings> not <connectionStrings/> as you had it... easy mistake - always pays to double check your xml
Reply With Quote Quick reply to this message  
Reply

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


Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC