Asp

I am trying khổng lồ deploy an asp.net application in our hệ thống while I am receiving the following error.

Server Error in "/" Application. ________________________________________Configuration Error Description: An error occurred during the processing of a configuration tệp tin required to service this request. Please đánh giá the specific error details below & modify your configuration tệp tin appropriately. Parser Error Message: It is an error khổng lồ use a section registered as allowDefinition="MachineToApplication" beyond application cấp độ. This error can be caused by a virtual directory not being configured as an application in IIS.Source Error: Line 63: ASP.NET lớn identify an incoming user. Line 64: -->Line 65: Line 66: Source File: D:BarclaysPayamentManagementSystemscr.uiweb.config Line: 65What is the reason & how khổng lồ resolve sầu it?

Please help




You watching: Asp

asp.net
Share
Improve this question
Follow
edited Jun 30 "09 at 11:37
*

Matthew Scharley
118k5151 gold badges191191 silver badges216216 bronze badges


See more: Phần Mềm Thẩm Mỹ 2 - Phần Mềm Thẩm Mỹ Đã Full Tiếng Việt

asked Jun 30 "09 at 11:32
*

priyanka.sarkarpriyanka.sarkar
23.6k3939 gold badges117117 silver badges164164 bronze badges
1
Add a phản hồi |

10 Answers 10


Active Oldest Votes


See more: Tải Game Stronghold Crusader 2 Download (V1, Stronghold Crusader 2 Free Download (V1

21
You may get this error when trying to lớn browse an ASPhường.NET application.

The debug information shows that "This error can be caused by a virtual directory not being configured as an application in IIS."

However, this error occurs primarily out of two scenargame ios.

When you create an new web application using Visual Studio .NET, it automatically creates the virtual directory & configures it as an application. However, if you manually create the virtual directory and it is not configured as an application, then you will not be able lớn browse the application và may get the above error. The debug information you get as mentioned above sầu, is applicable to lớn this scenario.

To resolve it, right clichồng on the virtual directory - select properties và then clichồng on "Create" next lớn the "Application" Label & the text box. It will automatically create the "application" using the virtual directory"s name. Now the application can be accessed.

When you have sub-directories in your application, you can have sầu web.config file for the sub-directory. However, there are certain properties which cannot be phối in the web.config of the sub-directory such as authentication, session state (you may see that the error message shows the line number where the authentication or session state is declared in the web.config of the sub-directory). The reason is, these settings cannot be overridden at the sub-directory màn chơi unless the sub-directory is also configured as an application (as mentioned in the above sầu point).

Mostly, we have sầu the practice of adding website.config in the sub-directory if we want khổng lồ protect access to lớn the sub-directory files (say, the directory is admin & we wish to lớn protect the admin pages from unauthorized users).


Chuyên mục: Chia sẻ