473,769 Members | 5,742 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to change the URL that a Web app is published to in VS .Net

When you create a C# Web Application project, you have to specify at
project creation time the URL you want to publish the project to. Is
there any way in the IDE to change the server that the project is
published to at build time?

You can go into Project properties -> Common Properties -> Web
Settings and under "Web Server Information" it shows the name of the
Web server -- but it's greyed out so that you can't edit it. Is that
intentional for some reason?

I tried to see if there was some local file that I could edit to
change the server that the project is Web-published to, but the
hostname seemed to be stored in several different files, including
binary files, that it didn't seem to be as simple as changing a single
line in a configuration file.

What I'd like to be able to do is make some changes to a project and
deploy it to an incremental server, and do a quick test pass on that
server to make sure everything is working correctly, before deploying
to a live site. Is there no elegant way to do that in Visual Studio
..Net?

-Bennett
Nov 18 '05 #1
2 1159
"Bennett Haselton" <be*****@peacef ire.org> wrote in message
news:e6******** *************** **@posting.goog le.com...
When you create a C# Web Application project, you have to specify at
project creation time the URL you want to publish the project to. Is
there any way in the IDE to change the server that the project is
published to at build time?

You can go into Project properties -> Common Properties -> Web
Settings and under "Web Server Information" it shows the name of the
Web server -- but it's greyed out so that you can't edit it. Is that
intentional for some reason?

I tried to see if there was some local file that I could edit to
change the server that the project is Web-published to, but the
hostname seemed to be stored in several different files, including
binary files, that it didn't seem to be as simple as changing a single
line in a configuration file.

What I'd like to be able to do is make some changes to a project and
deploy it to an incremental server, and do a quick test pass on that
server to make sure everything is working correctly, before deploying
to a live site. Is there no elegant way to do that in Visual Studio
.Net?


You can use Project->Copy Project to copy the project files to different
servers. There is no way in the IDE to change the URL.
--
John Saunders
johnwsaundersii i at hotmail
Nov 18 '05 #2
You'll have to open the project from a new URL, say by copying or
deploying the entire site to a new server.

--
Scott
http://www.OdeToCode.com

On 17 Jul 2004 23:48:33 -0700, be*****@peacefi re.org (Bennett
Haselton) wrote:
When you create a C# Web Application project, you have to specify at
project creation time the URL you want to publish the project to. Is
there any way in the IDE to change the server that the project is
published to at build time?

You can go into Project properties -> Common Properties -> Web
Settings and under "Web Server Information" it shows the name of the
Web server -- but it's greyed out so that you can't edit it. Is that
intentional for some reason?

I tried to see if there was some local file that I could edit to
change the server that the project is Web-published to, but the
hostname seemed to be stored in several different files, including
binary files, that it didn't seem to be as simple as changing a single
line in a configuration file.

What I'd like to be able to do is make some changes to a project and
deploy it to an incremental server, and do a quick test pass on that
server to make sure everything is working correctly, before deploying
to a live site. Is there no elegant way to do that in Visual Studio
.Net?

-Bennett


Nov 18 '05 #3

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

Similar topics

0
4755
by: James Ng | last post by:
I have posted this to the Citrix Developers' forum and have not heard anything yet. So I'd like to see if any other Java developers have experience this problem with their Java application in a Citrix Published application environment. We are running Citrix XP enterprise feature release 2 on windows 2000 server sp4. We developed a Java application which can catch the "PrintScreen" key event released event correctly in our PC but could...
23
2300
by: Harry Haller | last post by:
How can I change the value in a css class? For instance, with I.E., I want to change the value in the class span.arr from middle to 0.2em. The value of middle is OK for most other browsers. I expected the code below to work but I.E. does not like it. What should I be doing?
7
6772
by: Adam Barnett via AccessMonster.com | last post by:
I have an Access application split into a FE and BE with a workgroup file (.mdw) for authentication. I currently have the FE application setup as a published application for 40 users. We have been experiencing some unusual behavior that was not experienced when the application was run in a client/server environment. What is the proper way to setup an Access application via published applications? I do not want the user to have to get to...
52
3788
by: lovecreatesbeauty | last post by:
Why the C standard committee doesn't provide a standard implementation including the C compiler and library when the language standard document is published? C works on the abstract model of low level machine. C stands for portability and platform and machine independent. If the C compiler and C standard library are written in C itself, is it possible that one "standard" C compiler plus library is enough? The standard implementation is...
0
1347
by: Beemer Biker | last post by:
I didnt see any "save solution" in the VS8 files menu where I can save the project solution to a different directory. My program needs to be checked into our source control system (Accurev) and people that check it out will be putting it in different places. I looked at "nchansite.sln" and here is some of the stuff that needs to change: =============== Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "c:\nchansite\",...
5
1761
by: John | last post by:
Hi When I try to install a published app using a url like http://www.mydomain.com/publish.htm, it starts the download but then comes up with the eror given at the end below. I am installing the app on an sbs 2003 (windows 2003 + ISA 2000) server. I suspect ISA 2000 is the problem but don't know where and how to give proxy credentials in the whole publishing and installing process. Any help to fix this will be appreciated. Thanks
1
3709
by: Himmel | last post by:
Hello, I am using an access database to query a very large number of linked tables. Currently, the name of the database the linked tables point to is always the same name. However we are switching to a new system that uses versioned databases. Each time a new build of the database is published, a whole new database is created. For example, we are currently on version 1847. The linked tables are set to look in "Database_1847". A new...
9
1908
by: dominiquevalentine | last post by:
Hello, I'm a teen trying to do my part in improving the world, and me and my pal came up with some concepts to improve the transportation system. I have googled up and down for examples of using python to create a city street but I can not find any. my objective is to replicate a section of los angeles using python, and program the street lights and cars and whatnot. Should I be looking towards 3D to do this?
3
2103
by: HugoVallejo | last post by:
Hi everyone. I've created an ASP.NET web site which uses a .NET assembly to read/write operations using an odbc driver. When a connection to the odbc database is made locking files are created, when the connection is closed those files are removed. I tried the web site using VS2005 and it worked fine. Then I published it in IIS 5.1 (WIn XP SP2) but it didn't work. I thought because write permissions on the folder of the database. So I...
0
9586
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9990
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
9861
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...
0
8869
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7406
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
5298
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...
1
3956
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
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.