473,722 Members | 2,459 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Change the Web Server path for an existing Web Project?

In VS2003 (VB) I am trying to open a solution that contains a couple web
projects. It was zipped from another developer's machine and sent to me. I
unzipped it a folder on my C drive and placed a WindowsXP Web Share on the
folder. I can access the webshare by typing in http://localhost/dmedibiz.
However, when I open the solution and it tries to open the Web Project
parts, it says "Contacting Web Server to Open Web Project, followed by an
error message.

The Web Server reported the following error when attempting to create or
open the Web project located at the URL: ' http://dmedibiz '. 'The server
name or address could not be resolved'.

So... I am trying to find out how to change the web server reference to
http://localhost/dmedibiz.
I found a file called DotCom.vbproj.w ebinfo, which contained the lines:

<VisualStudioUN CWeb>
<Web URLPath = "http://dmedibiz/DotCom.vbproj" />
</VisualStudioUNC Web>

So I changed that to:
<VisualStudioUN CWeb>
<Web URLPath = "http://localhost/dmedibiz/DotCom.vbproj" />
</VisualStudioUNC Web>

That path can be resolved in IE 7, but the project still tries to open the
project in the previous web path. The solution contains 12 projects. I need
to open the web project to access some visual elements I wish to use in a
different project. Any suggestions?
Thanks in advance...
Dec 18 '06 #1
1 4322
I removed the Web projects from the Solution, then did Add Existing Project
from the Web and selected the existing Web projects. Now I have to redo the
References to the other projects in the solution. That's all I could come up
with as a work around. So far.. so good.

"John Kotuby" <jo***@powerlis t.comwrote in message
news:O8******** *****@TK2MSFTNG P06.phx.gbl...
In VS2003 (VB) I am trying to open a solution that contains a couple web
projects. It was zipped from another developer's machine and sent to me. I
unzipped it a folder on my C drive and placed a WindowsXP Web Share on the
folder. I can access the webshare by typing in http://localhost/dmedibiz.
However, when I open the solution and it tries to open the Web Project
parts, it says "Contacting Web Server to Open Web Project, followed by an
error message.

The Web Server reported the following error when attempting to create or
open the Web project located at the URL: ' http://dmedibiz '. 'The server
name or address could not be resolved'.

So... I am trying to find out how to change the web server reference to
http://localhost/dmedibiz.
I found a file called DotCom.vbproj.w ebinfo, which contained the lines:

<VisualStudioUN CWeb>
<Web URLPath = "http://dmedibiz/DotCom.vbproj" />
</VisualStudioUNC Web>

So I changed that to:
<VisualStudioUN CWeb>
<Web URLPath = "http://localhost/dmedibiz/DotCom.vbproj" />
</VisualStudioUNC Web>

That path can be resolved in IE 7, but the project still tries to open the
project in the previous web path. The solution contains 12 projects. I
need to open the web project to access some visual elements I wish to use
in a different project. Any suggestions?
Thanks in advance...

Dec 19 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3664
by: matchbx | last post by:
I hope someone can help. I am currently running Windows Server 2000 with IIS 5.0. I have all of the latest patches and updates from Microsoft. When trying to create a new ASP.NET Application I receive the following error message: Unable to create the web project "NewWebProject". Unable to validate that the file path 'c:\inetpub\wwwroot\NewWebProject' matches the URL path 'http://localhost/NewWebProject'. A connection with
2
15225
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000 Personal disk from the SQL Server 2000 Enterprise kit as this is reported here on the MSDN web site to be the version that is supported on Windows XP. In fact so many of you kind people confess to having succeeded in doing it. I have tried...
2
8401
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when submitting the form to update the database. The server doesn't have the client side value any more. It seems to me that as I begin to write the client side javacript code for form validation and client side editing capabilities in order to save...
1
1525
by: scottrm | last post by:
We have multiple developers all using a shared development server. Recently we have migrated to a new server. I copied all the project folders across and created virtual directories mapped to and with the same name as the project folder (same as the old server) but when I create a new solution and try to add the existing projects from the new development server I get the following message. "Unable to open Web project 'qssweb/CTSubs'. ...
5
1811
by: sling blade | last post by:
I have developled my first major app and i am trying to deploy it in to a host server for publication. However the app tries to use the physical path used during development. Is the path hard coded in my dll or similar file? In trying to nail down exactly where this path is located, I have deleted all files except for the index files, the Global.asax files,
3
2143
by: CharlesA | last post by:
Hi folks, I'll try and keep this as short as I can and have it still make sense. I'm working on a corporate locked down copy of XP, I'm not allowed to have IIS on this machine. this makes it somewhat hard to write ASP.net applications our IT dept came up with a workaround acceptable to their security standards We'd put Virtual PC 2004 on our machines, install windows Server 2003 (web edition) on it and then Visual studio on our XP...
4
1861
by: Just D. | last post by:
How can we change the property of one subdirectory of the Virtual Directory? One of the directories should be granted "Write". Should we delete this Virtual Directory to recreate it with the required property or there is some way to do that? What I see now is a poor documentation on the Internet about that. Thanks, Just D.
10
6096
by: =?Utf-8?B?UHVuaXQgS2F1cg==?= | last post by:
Hi, I am developing a windows application in VS.NET 2005. The application is database driven and I need to deploy it on a client's pc. How should I go about developing such an application. I remember I did something once long back .. like including .mdf files into my project in the solution explorer of VS 2005 and then used Click Once deployment tool ... to make sure that the database and tables were created when the client installed my...
1
1746
by: Spam Catcher | last post by:
Hi all, I'm deploying a web site application to a production server. The web site contacts a back end web service (part of this project) and in development it uses http://localhost:4161/. In production it has another path - how do I configure the path? In .NET 1.1 I could change a web service to be "dynamic URL", but this doesn't seem to be an option with the web site project.
0
9386
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9158
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9090
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6685
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5996
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4503
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4764
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3208
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2148
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.