asklijo.com

  • Increase font size
  • Default font size
  • Decrease font size
Home

asp.net application error

I was getting the  following error while I try to open the application.  Recently I have upgraded the helm 3.2 to helm 4. It was perfectly working while I use the helm 3

 

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 30:             ASP.NET to identify an incoming user. 
Line 31:         -->
Line 32: 		
Line 33: 
Line 34: 	

Source File: d:\Domains\softvent.com\wwwroot\regd\web.config    Line: 32


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

 

Solution of the above issue given below

From the above error we can find out that, IIS is telling there is no virtual directory for this.

1). Please login to helm panel
2).click on the my domains
3). Click on your domain
4). Click on virtual directory
5).Click on add
6).Virtual Directory Name:*   you can give your folder name there
7).Select A folder ( selected by default)  After that browse your directory structure  that  you can do the folder browser near to text box  your folder where your application locate. ( Now instead of wwwroot you can see your folder name there)

8).Just Press save it.

Now the site will be working fine.
BY

LIjo Peter