Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

aspx page & "virtual directory not configured as an app"

Status
Not open for further replies.

tyreejp

Programmer
Apr 20, 2005
114
US
I know how to resolve the error "This error can be caused by a virtual directory not being configured as an application in IIS". What I want to be able to do is drop this webpage and it's config file anywhere and have it work. Can that be done and if not, why?

--
James
 
This cannot be done. asp.net requires iis (or mono). and the .net web request require the correct IIS filter to process the rquest. IIS needs to translate the web request into an acutal file on the server. this needs to be mapped (virutal directory).

it's similar to why the .net framework is required to run a console/desktop app.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
You can't just drop a config file and an aspx page page "anywhere". It needs a web server which will serve the page, the web server must be configured to know what address will be called when this page is due to be served (which is where configuring the application comes in) and the web server must have the necessary extensions installed to serve that type of file.


-------------------------------------------------------

Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
[URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions
[URL unfurl="true"]http://weblogs.asp.net/marksmith[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top