468,514 Members | 1,209 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,514 developers. It's quick & easy.

How to open an existing project?

Hi, A new baby question:

I downloaded a dot net project and saved it to my local disk. When I tried
to open this project, a message popped up:
"Unable to open web project "test/myfirstweb"/ The file path
"D:\dnet\webproj\myfirstweb\home" does not correspond to the URL
'http://localhost:/test/myfirstweb'. The two need to map to the same server
location.
HTTP Error 404:Object not found".

My question is, when I downloaded a web project and saved to local disk,
what should I do on the IIS to enable open the web project on MS Studio.net?

Thanks!
Jul 29 '06 #1
4 3775
Hello g4356,

You need to open .cproj file to get the url that site was initally built
(in your case it's 'http://localhost:/test/myfirstweb')
Then call properties of you website folder and WebShare it with that name

Test that site is opened with that alliase that is pointed in the app from IE

gHi, A new baby question:
g>
gI downloaded a dot net project and saved it to my local disk. When I
gtried
gto open this project, a message popped up:
g"Unable to open web project "test/myfirstweb"/ The file path
g"D:\dnet\webproj\myfirstweb\home" does not correspond to the URL
g'http://localhost:/test/myfirstweb'. The two need to map to the same
gserver
glocation.
gHTTP Error 404:Object not found".
gMy question is, when I downloaded a web project and saved to local
gdisk, what should I do on the IIS to enable open the web project on
gMS Studio.net?
g>
gThanks!
g>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jul 29 '06 #2
Thank you for your reply. Sorry for read your message so late. However, I
cannot understand what to do to solve this problem.
Could you please tell me where is the website folder? How to WebShare?
Someone told me the first thing is to configure the IIS to create an account
for the web site, but he did not give me the details. Should you also know
this way, would you please tell me as well?

Thanks!

g
"Michael Nemtsev" <ne*****@msn.comwrote in message
news:17***************************@msnews.microsof t.com...
Hello g4356,

You need to open .cproj file to get the url that site was initally built
(in your case it's 'http://localhost:/test/myfirstweb')
Then call properties of you website folder and WebShare it with that name

Test that site is opened with that alliase that is pointed in the app from
IE

gHi, A new baby question:
ggI downloaded a dot net project and saved it to my local disk. When I
gtried
gto open this project, a message popped up:
g"Unable to open web project "test/myfirstweb"/ The file path
g"D:\dnet\webproj\myfirstweb\home" does not correspond to the URL
g'http://localhost:/test/myfirstweb'. The two need to map to the same
gserver
glocation.
gHTTP Error 404:Object not found".
gMy question is, when I downloaded a web project and saved to local
gdisk, what should I do on the IIS to enable open the web project on
gMS Studio.net?
ggThanks!
g---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche


Jul 31 '06 #3
Hello g4356,

gThank you for your reply. Sorry for read your message so late.
gHowever, I
gcannot understand what to do to solve this problem.
gCould you please tell me where is the website folder?

Nowhere, you need to create it :)
The path is located in the .sln file from project u downloaded
Open .sln and find the string smth like
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication1", "http://localhost/WebApplication1/WebApplication1.csproj",
"{215D96CC-1FCB-4E86-B7A5-24843017CA65}"

Where WebApplication1 is the name of virtual folder you need to create.

gHow to
gWebShare?

Well..., now go to to the folder where is downloaded website located.
Click right mouse button on root website folder->Properties->Web Sharing
tab->Select "Share this folder" and type the name from the string we find
above - WebApplication1

gSomeone told me the first thing is to configure the IIS to create an
gaccount
gfor the web site,

not account, but virtual folder, that I descibed above

Now you can try to open your site via http://localhost/<nameOfSharedDirectory>/<mainPage>.aspx

gbut he did not give me the details. Should you also
gknow
gthis way, would you please tell me as well?
gThanks!
g>
gg
g>
g"Michael Nemtsev" <ne*****@msn.comwrote in message
gnews:17***************************@msnews.microso ft.com...
g>
>Hello g4356,

You need to open .cproj file to get the url that site was initally
built
(in your case it's 'http://localhost:/test/myfirstweb')
Then call properties of you website folder and WebShare it with that
name
Test that site is opened with that alliase that is pointed in the app
from IE

gHi, A new baby question:
ggI downloaded a dot net project and saved it to my local disk.
When I
gtried
gto open this project, a message popped up:
g"Unable to open web project "test/myfirstweb"/ The file path
g"D:\dnet\webproj\myfirstweb\home" does not correspond to the URL
g'http://localhost:/test/myfirstweb'. The two need to map to the
same
gserver
glocation.
gHTTP Error 404:Object not found".
gMy question is, when I downloaded a web project and saved to local
gdisk, what should I do on the IIS to enable open the web project
on
gMS Studio.net?
ggThanks!
g---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jul 31 '06 #4
Thank you again for your reply.

Actually, the project i downloaded contains no .sln file.
However, I create a new folder under wwwroot and move all the files and
folders of the project to there, finally, the localhost/test/myfirstweb
works, and i can open the project from dotnet design environment.

Thank you again!

g

"Michael Nemtsev" <ne*****@msn.comwrote in message
news:9c**************************@msnews.microsoft .com...
Hello g4356,

gThank you for your reply. Sorry for read your message so late.
gHowever, I
gcannot understand what to do to solve this problem.
gCould you please tell me where is the website folder?
Nowhere, you need to create it :)
The path is located in the .sln file from project u downloaded
Open .sln and find the string smth like
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication1",
"http://localhost/WebApplication1/WebApplication1.csproj",
"{215D96CC-1FCB-4E86-B7A5-24843017CA65}"

Where WebApplication1 is the name of virtual folder you need to create.

gHow to
gWebShare?

Well..., now go to to the folder where is downloaded website located.
Click right mouse button on root website folder->Properties->Web Sharing
tab->Select "Share this folder" and type the name from the string we find
above - WebApplication1

gSomeone told me the first thing is to configure the IIS to create an
gaccount
gfor the web site,
not account, but virtual folder, that I descibed above

Now you can try to open your site via
http://localhost/<nameOfSharedDirectory>/<mainPage>.aspx

gbut he did not give me the details. Should you also
gknow
gthis way, would you please tell me as well?
gThanks!
ggg
gg"Michael Nemtsev" <ne*****@msn.comwrote in message
gnews:17***************************@msnews.microso ft.com...
g>
>>Hello g4356,

You need to open .cproj file to get the url that site was initally
built
(in your case it's 'http://localhost:/test/myfirstweb')
Then call properties of you website folder and WebShare it with that
name
Test that site is opened with that alliase that is pointed in the app
from IE

gHi, A new baby question:
ggI downloaded a dot net project and saved it to my local disk.
When I
gtried
gto open this project, a message popped up:
g"Unable to open web project "test/myfirstweb"/ The file path
g"D:\dnet\webproj\myfirstweb\home" does not correspond to the URL
g'http://localhost:/test/myfirstweb'. The two need to map to the
same
gserver
glocation.
gHTTP Error 404:Object not found".
gMy question is, when I downloaded a web project and saved to local
gdisk, what should I do on the IIS to enable open the web project
on
gMS Studio.net?
ggThanks!
g---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche


Aug 2 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Greg Chu | last post: by
reply views Thread by KevinGravelle | last post: by
3 posts views Thread by alan_coffman2004 | last post: by
10 posts views Thread by PeterW | last post: by
3 posts views Thread by Joe Cletcher | last post: by
4 posts views Thread by NareshKumar | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.