Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 The resource cannot be found

Author  Topic 

juicyapple
Posting Yak Master

176 Posts

Posted - 2008-03-03 : 01:50:25
Hi, when I start debugging on my asp.net program, IE will display the first page with the url:
http://localhost:1847/home_login.aspx?ReturnUrl=%2fadmin%2fhome_main.aspx

why port number is always be shown?

If I open IE and enter the the url,

http://localhost/home_login.aspx
or
http://<mycomputername>/home_login.aspx

I get an error : The resource cannot be found. What is wrong here?

Please advise.

jubinjose
Starting Member

20 Posts

Posted - 2008-03-17 : 04:01:45
check your IIS and see what port your website is running on?If it is not on 80, then port number will be shown as part of URL
Go to Top of Page

JBelthoff
Posting Yak Master

173 Posts

Posted - 2008-03-22 : 11:34:33
The port number is because you are selecting view in browser from visual studios. This causes the web application to be opened using the VS Server and not your local IIS.

If you want to use the local IIS than you will have to set that up as a website, or a virtual directory, and adjust those settings to point to the folder that your files are in - in your IIS setings.

There is nothing wrong with using the VS Server mind you.



JBelthoff
• Hosts Station is a Professional Asp Hosting Provider
› As far as myself... I do this for fun!
Go to Top of Page
   

- Advertisement -