Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using localhost
Message
 
 
À
28/08/2006 13:18:26
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Divers
Thread ID:
01149087
Message ID:
01149092
Vues:
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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform