Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

I get this error when I execute my web application.
I'm using ASP.Net 3.5

"This error can be caused by a virtual directory not being configured as an application in IIS"

:confused:
Posted
Updated 19-Jul-10 2:41am
v2

The error means what it says. Configure an application in IIS at the root of your web app and the error will go away.
 
Share this answer
 
Comments
sharmarun 19-Jul-10 2:05am    
How plz help me
Deploy your web application on IIS and then run the application.
Look here:
Deploying ASP.NET Websites on IIS 7.0 [^]
Deploying ASP.NET Applications in IIS 6.0 (IIS 6.0)[^]
 
Share this answer
 
XML
HI, you can try the below solutions

1. You can right click on project in the solution explorer, click on web tab, choose Use IIS Webserver radio button Click on Create Virtual Directory button


2. From the Visual Studio.Net 2008 command prompt run 
aspnet_regiis.exe -i
and then right click on virtual directory, click properties choose
ASP.Net  tab and then select the ASP.Net version as 2.0.50727 from the ASP.Net version dropdown.I hope this helps you in solving the error
 
Share this answer
 
v2
Go Inetmgr -> Right click your website -> Go to Properties -> Virtual Directory tab -> Under Application Settings -> Application Name Click on the create button
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900