I have VS 2005 and VS 2008 installed side by side. It is interesting that I can use development server under VS 2005. But when I tried in VS 2008, it gave me an error "Unable to connect to the ASP.NET Development Server".
Any idea?
Thanks!
I have VS 2005 and VS 2008 installed side by side. It is interesting that I can use development server under VS 2005. But when I tried in VS 2008, it gave me an error "Unable to connect to the ASP.NET Development Server".
Any idea?
Thanks!
Try checking the port configuration of VS 2008?
If it's not set to automatic it may be using a port that is in use?
If it is set to auto-assign then try specifying a port and picking one which you know to be free.
If your project is a website and not a web project then you can set the port properties from the property window.
Select the project from the solution explorer then press (ctrl+w then p) to bring up the property window.
HTH
ive reiinstalled it five tyms but it didn't solve the problem about connection. I hope you can give detailed steps to enable the connection.........
You can edit the port developmentserver will use directly in your solution file. Simply edit the VWDPort property in the ProjectSection of the web project entry. First call netstat in your command line to chek if the current port is already in use. That did it for me.