Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using localhost
Message
From
28/08/2006 13:43:16
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01149087
Message ID:
01149099
Views:
7
>>I recently installed vs2005 2.0 and am in the process of creating/testing simple .aspx's.
>>
>>From the vs2005, I select View in Browser and the Browser is opened and displays properly. The url is something like http://localhost:3625/wconnect/HelloWorld.aspx
>>
>>If I then open another instance of the Browser and type in //localhost/wconnect/HelloWorld.aspx I get "Server Application Error". I can type in //localhost/wconnect/HelloWorld.htm and it works okay.
>>
>>This problem also exists with *.asp files.
>>
>>Any idea what I'm doing wrong?
>>
>>Dale S.
>
>In VS 2005 you can run a page or a site without creating a virtual directory. Maybe when you run the page from the VS 2005 that is what happens, the page is ran by VS 2005. When you run it outside the VS 2005 it expects to be in a virtual directory.
>
>Did you actually create a virtual directory /wconnect?
>
>HTH.

Yes the virtual exists.

I've created a couple other virtual directories for testing purposes and get the same problem.

I can connect to *.htm's in all the directories using localhost, just not asp or aspx files.
Previous
Reply
Map
View

Click here to load this message in the networking platform