VS 2003 & VS 2005 on one machine

S

shil

Can I have both 1.1 and 2.0 frameworks installed on same machine? I
have 2005 already, for some reason I had to install 2003. When I try to
create a new project in 2003, I get an error as below:

"Visual Studio could not identify the version of ASP.NET oon the Web
Server. The Web Server reported the following error when attempting to
create or open the Web project located at the following URL:
'http://localhost/WebApplication1'. 'HTTP/1.1 401 Access Denied'."

But I could create or open projects in 2005.
Any one know how to solve this?

Thanks in advance.
Shil.
 
F

Freaky

hi,

Even the same from my side. for various resons, i installed VS2005;
which will actually convert ur solution which is not
backward-compatible with VS2003. so, once the conversion is done, we
cannot open the same in 2003.

Also, 2003 will be the default mode of selection, when u open a
project; and wen v try to open a web-page it gives an error as "Unable
to get the project file from the web server".
When the same project is opened with VS2003 in a different system, it
gets opened.

That means, both cannot exist simultaneously.
So, accord.to me its not possible. Also, if anyone have resolved this
problem, plz reply
 
M

Michael Moreno

For me it works fine.
But as always with any product I first installed 2003 and then 2005...
 
P

Patrice

Works here with VS 2003 installed first...

"Unable to get the project from file server" would be rather mean to me that
VS can't access the file on the server for some reason totally unrelated to
having both installed...

IMO it would look rather like the default access option for VS 2003 is not
set properly (if I remember it uses frontpage extensions rather than file
sharing by default).

Good luck.
 
C

Chris Mullins

shil said:
Can I have both 1.1 and 2.0 frameworks installed on same machine?

You sure can. I run like this all the time.
"Visual Studio could not identify the version of ASP.NET oon the Web
Server. The Web Server reported the following error when attempting to
create or open the Web project located at the following URL:
'http://localhost/WebApplication1'. 'HTTP/1.1 401 Access Denied'."

You need to register / unregister the right version of ASP.Net each time you
switch environments.

To Register ASP.Net 2.0:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis /i

To Unregister ASP.Net 2.0:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis /u


To Register ASP.Net 1.1:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis /i

To UnRegister ASP.Net 1.1:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis /u

That does the trick for me. Just remember to unregister the version you're
not using, and register the version you want. Then fire up Visual STudio and
create whatever you need...
 
P

psycho

what if i keep two xp installed and keep vs2003 on one and vs2005 on
another than will there be any problem.
 
C

Chris Mullins

psycho said:
what if i keep two xp installed and keep vs2003 on one and vs2005 on
another than will there be any problem.

It's really not worth the trouble. The two versions of Visual Studio
co-exist just fine. You just have to make sure the right version of ASP.NET
is registered with IIS before you do web development.
 
P

Patrice

Not each time. You can define the version to use for each framework once.
2.0 adds also a new tab in the IIS console that allows to do that using the
UI...
 
Joined
Jun 1, 2010
Messages
6
Reaction score
0
Open VS2005 project in VS2003

we can open it 2003 just by changing 'Version' in .vcproj and here is how :

1. Open .vcproj in wordpad.
2. Change the Version from 8.00 to 7.10.
3. Save it.

And open it in 2003. It opens now.

I observed that this technique works in most instances.

Hope it did add some value.Any suggestions are appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top