|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
change from "//localhost:numbers/" to just "//localhost/"?help:
how can I change from "//localhost:numbers/" to just "//localhost/"? I can see the web pages using "//localhost:numbers/" instead of ""//localhost/". I use asp.net 2.o. and windows 2000. how can i set up from "//localhost:numbers/" to just "//localhost/" so that other people could see the page not the error message. ..... Install IIS and copy the app in a folder etc.. etc..
Show quoteHide quote "KenLee" <Ken***@discussions.microsoft.com> schreef in bericht news:47A11B4B-DA91-4830-82D5-1CB9D9F0D326@microsoft.com... > help: > how can I change from "//localhost:numbers/" to just "//localhost/"? > I can see the web pages using "//localhost:numbers/" instead of > ""//localhost/". > I use asp.net 2.o. and windows 2000. > how can i set up from "//localhost:numbers/" to just "//localhost/" so > that > other people could see the page not the error message. > .... > > use iis.
-- bruce (sqlwork.com) Show quoteHide quote "KenLee" <Ken***@discussions.microsoft.com> wrote in message news:47A11B4B-DA91-4830-82D5-1CB9D9F0D326@microsoft.com... > help: > how can I change from "//localhost:numbers/" to just "//localhost/"? > I can see the web pages using "//localhost:numbers/" instead of > ""//localhost/". > I use asp.net 2.o. and windows 2000. > how can i set up from "//localhost:numbers/" to just "//localhost/" so > that > other people could see the page not the error message. > .... > > I am assuming that you are using Visual Studio 2005
1) Right click on the solution 2) Select menu "Property Pages" 3) Go to Start options in the new window 4) Select "Use Custom Server" 5) Enter the BaseURL for the project (i.e: http://localhost/myproject/) Sonu Kapoor [MVP] --- Posted via www.DotNetSlackers.com If you are using localhost, people outside your computer can't reach it.
Show quoteHide quote "KenLee" <Ken***@discussions.microsoft.com> wrote in message news:47A11B4B-DA91-4830-82D5-1CB9D9F0D326@microsoft.com... > help: > how can I change from "//localhost:numbers/" to just "//localhost/"? > I can see the web pages using "//localhost:numbers/" instead of > ""//localhost/". > I use asp.net 2.o. and windows 2000. > how can i set up from "//localhost:numbers/" to just "//localhost/" so > that > other people could see the page not the error message. > .... > > The "numbers" thing is a non IIS web hosting component.
To get rid of them , you need to put the files in a "Virtual Directory". The easiest way to do this is make a directory called c:\inetpub\wwwroot\MyNewDirectory\ inside the program IIS, you can also create a virtual directory and put it anywhere c:\myfirstVdirectory I usually keep stuff in wwwroot, for simplicity. One last note, you may have to "Create Application" for your directory (MyNewDirectory). Open IIS, and right click MyNewDirectory, click properties, and there is "Create" near an "Application" ... somewhere on the first page. That should get you started. Don't forget to use ~/MyFolder/myfile.aspx That should decrease the need to MUST use IIS. ... KenLee wrote: Show quoteHide quote > help: > how can I change from "//localhost:numbers/" to just "//localhost/"? > I can see the web pages using "//localhost:numbers/" instead of > ""//localhost/". > I use asp.net 2.o. and windows 2000. > how can i set up from "//localhost:numbers/" to just "//localhost/" so that > other people could see the page not the error message. > ....
Other interesting topics
AJAX + ASP.NET
Using american dates by default Duplicate custom controls List files in a directory, modify name. PostBackURL to new window 'Timeout period elapsed prior to obtaining a connection from the pool.' - Please help. Why use disconnected datasets? crystal report viewer in landscape Custom HTML Control Tags - Lets Try Again :) How do I set the CssClass for a GridView sorting link? |
|||||||||||||||||||||||