Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
I’ve been a VB.net Winforms developer the past few years and I now have a need to work on my 1st Web app. A couple of years ago I took a series of 1 day courses on ASP.Net but until now I haven’t had a chance to put that knowledge to work. I’ve been tasked to upgrade/rewrite an existing VS2003 Web project. The person that wrote it no longer works for our company but I do have the source code. I only have VS2005 so I have been trying to upgrade the app to that version and I’m having some issues. When I open up the Solution in VS2005, it brings up the upgrade wizard. When it finishes, it says it has upgraded the solution but it gives me an error saying: Unable to open the Web 'http://localhost/MyApp'. Could not find a Web server at 'localhost' on port 80. How do I fix this so it points to the right web server? Also, since I am new to web apps, I am wondering if someone could point me to a few good ASP.Net tutorials so I can brush up on things a bit before hitting this project. Any help in this area would be appreciated.
Posted 24-Apr-13 9:46am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

It's hard to see where did you screw up this without seeing all your steps. Usually, running a valid ASP.NET application presents no problems.
 
I would advise the following: create a simple Web site from scratch. The URI http://localhost is used for testing/debugging on an development computer under the HTTP server bundled with Visual Studio. When you do everything from scratch and hit "Run" for the very first time, this "development HTTP server" is started. You will get a window where you can choose a URI to load first, one of those available in your project. When you do the basic exercises, you might be able to see how to revive your legacy project. If you wish, you can run any other HTTP server, but it won't let you debug your server-side code and it has to support ASP.NET.
 
[EDIT]
 
My other advice: from your legacy project, remove everything which is not a pure source code. Build and start it from scratch. Naturally, you should clear understand what is source code and what's not, no matter what work do you do. Remove all "obj", "bin", "*.user", "*.ncb"… Sometimes, project clear operations (from project menu or Solution Explorer) helps, but cleaning it manually before even starting Visual Studio is the most sure method.
 
[END EDIT]
 
Learning ASP.NET? I think there is nothing better than starting from http://www.asp.net/get-started[^].
 
Good luck,
—SA
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 304
1 Sergey Alexandrovich Kryukov 295
2 Shweta N Mishra 216
3 Maciej Los 210
4 PIEBALDconsult 184
0 OriginalGriff 7,630
1 Sergey Alexandrovich Kryukov 7,022
2 DamithSL 5,586
3 Manas Bhardwaj 4,946
4 Maciej Los 4,525


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 24 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100