Server Error in Application.

Posted by Sunitajadhav under IIS on 3/10/2010 | Views : 3033 | Status : [Member] | Replies : 6
Hello Friends,
I have developed web application and created virtual directory in IIS while I browse web page I get an error. What should I do?
I am giving an error page.
Thanks in advance.


Server Error in '/' 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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 25: ASP.NET to identify an incoming user.
Line 26: -->
Line 27: <authentication mode="Windows"/>
Line 28: <!--
Line 29: The <customErrors> section enables configuration

Source File: c:\inetpub\wwwroot\rcps\web.config Line: 27
________________________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42





Responses

Posted by: Vuyiswamb on: 3/10/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
First Question, How many webconfig's do you have ?

Second Question, Do you have a web config in the Root directory of your project ?



Thank you for posting at Dotnetfunda
[Administrator]

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sunitajadhav on: 3/10/2010 [Member] Starter

Up
0
Down
I have only one webconfig and have web config in the Root directory of mine project

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 3/10/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Do you need the WebConfig in the Root of your Project ?

Thank you for posting at Dotnetfunda
[Administrator]

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sunitajadhav on: 3/10/2010 [Member] Starter

Up
0
Down
now i m getting another error.
i posted that in forum(IIS).
Thanks in advacne

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 3/10/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
So this issue has been resolved ?

Thank you for posting at Dotnetfunda
[Administrator]

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gemamgall on: 6/27/2012 [Member] Starter | Points: 25

Up
0
Down
you need to change the custom error authentication mode to off to view the exact error.

Thanks and Regards,

Vinay Gandhi
www.quadtechindia.com

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response