473,395 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 4023
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.