472,993 Members | 3,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,993 software developers and data experts.

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 3997
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Greg Chu | last post by:
Hi, on the start page of the IDE, you see "open an existing project". Currently I only have 4 existing project listed. Is there a place that I can change to list more existing projects? Thanks!...
0
by: KevinGravelle | last post by:
Hello, I am running an Apache web server and my httpd configuration file is utilizing the aspdotnet_module in order to run an ASP.NET application. Whenever I try and open my existing web...
55
by: Steve Jorgensen | last post by:
In a recent thread, RKC (correctly, I believe), took issue with my use of multiple parameters in a Property Let procedure to pass dimensional arguments on the basis that, although it works, it's...
5
by: Kevin Buchan | last post by:
I came in today and tried to edit a project that I was working with, locally, at the tail end of last week. This web project was created, hosted, and only edited locally. I truly cannot...
3
by: alan_coffman2004 | last post by:
Opening an ASP.NET VS2002 project in VS2003, am getting this error: "Unable to open Web project 'MyProject'. The file path 'c:\inetpub\wwwroot\MyProject' does not correspond to the URL...
10
by: PeterW | last post by:
I find in the last 3/4 days that I can't open web applications using VS.net 1.1 for enterprise architiect. The project I am currently working on just refuses to open and hangs. I try using IIS...
3
by: Joe Cletcher | last post by:
It must be simple, but how do I open an existing MS Project file? I've tried Dim Proj as MSProject.Project Proj = CreateObject("MSProject.Application")...
4
by: NareshKumar | last post by:
Hi all, I'm using existing ASP.net project to make some enhancements which is secured by Visual source safe and in my system frontpage is installed. Now when i run the project file i get...
0
by: MarkusJNZ | last post by:
Hi, we have an existing solution which contains a bunch of C# projects and one weployment project. Initially I did not have the web deployment project installed on my computer so I downloaded...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.