944,168 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 4926
  • ASP.NET RSS
Jul 25th, 2005
0

Server Error in '/CM_site' Application.

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ChaosBelle is offline Offline
1 posts
since Jul 2005
Jul 25th, 2005
0

Re: Server Error in '/CM_site' Application.

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!
Reputation Points: 14
Solved Threads: 0
Light Poster
npasma is offline Offline
41 posts
since Jun 2005
Jan 2nd, 2006
0

Re: Server Error in '/CM_site' Application.

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nutsboutnad is offline Offline
1 posts
since Jan 2006
Jan 12th, 2006
0

Re: Server Error in '/CM_site' Application.

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
Reputation Points: 26
Solved Threads: 11
Posting Whiz in Training
f1 fan is offline Offline
275 posts
since Jan 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Datagrid inside repeater-simple reference problem
Next Thread in ASP.NET Forum Timeline: .net framework vs. 1.1.4322 causing





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC