08 - Jun - 2005
The project you are trying to open is a web project you need to open it by specifying its URL path
Posted by Paul Farrow - Under: Software
The famous error “The project you are trying to open is a web project you need to open it by specifying its URL path” in visual studio .net. Basically you have either lost your .webinfo file or your .webinfo file is pointing to the wrong project or wrong place.
Took me a while to figure it out but hope that helps someone. Hopefully the source code provider isnt so buggy in Visual Studio 2005.
You rock! Thanks for posting this solution.
Paul, you are my hero – Thanks for posting this peice of gold. Saved me much frustration.
Well thanks… solves my problem. Although I still have a security problem.
🙂
aL.
cool. saved me a big headache.
hi,
Thanks for providing the solution for above error..
Thanks a lot
Cool! Saves a lot of time troubleshooting the cause of our problem.
Many thanks
Jun
Hi there, and download the project files from the VSS and try to open by double clicking the .vbproj file. Then it asks me to open it in the under wwwroot folder and then i say ok to it and it eventually opens the project in VS and also the webproject gets created in IIS on its own.
I have few projects developed in VS 2003 and put in the VSS. Lately i
have installed VS 2005 on the same machine. Usually i open web projectes like this. I create a working folder on the C:/
Now, I want to downlaod and open a webapp from VSS that was developed in VS 2003. So i did the same way as i would do every time as i explained above but somehow when i double click the .vbproj it is opening a wizard of VS 2005 to convert the project to VS 2005.
So i just right clicked on the .vbproj and forcebly try opening it in VS 2003. But it is throwing an exception
“The project you are trying to open is a web project. You need to open
it by specifying its URL path”
I also tried creating a webinfo file in the current folder to my working folder (my working folder is not a wwwroot folder. I would create my working folder some where on C: and double click the .vbproj file and it creates the project in wwwroot for me)
Not sure if this webinfo file has some errors but as i don’t know the underhood process i just created one like this and put it in my current working folder. But it doesn’t solve my problem.
Has any one came across with this kind of scenario before?
Please help.
-L
Thank You very much.
Muchas gracias, joder.
You’re a fucking crack !!!
Such a small and easy solution to a really annoying problem.
Thanx a lot!
Dude,
You saved my lot of time…
Thank you and god bless you
It’s fantastic. I got a such easy solution.
Thanks
Unfortunatly nothing has fixed my problem. I have replaced the .webinfo file and still no luck.
are you sure you have the correct location !!
Thank you very much! This has been an irritation for the past year!!
good stuff
Oh my god you are so great!!!
Thanks!!!
Wow, thank you mister!
Thanks. Saved me a ton of time too. And if “you’re a ****ing crack” is a good thing (which doesn’t sound so good) then I agree!
Awesome…thanks a lot!!!!
asdfsadf
Thank you ! saved me lots of time and troubles.
HOW to create a webinfo file if the file isn’t there ?
create a web solution from the visual studio wizard that should create a webinfo file
Excellent!!! You have saved me a great deal. Thanks a lot.