473,405 Members | 2,310 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,405 software developers and data experts.

Website Deployment Question. Please Help!

I am using VS2005 now and have been used to the XCopy deployment way of
doing things with VS2003. When I made a change to a page, I simply copied
the new ASPX page up. If I made a change to the code behind, I would copy
the new DLL to the BIN directory and obviously, if I made a change to both,
I copied both. Now with VS2005, I have figured out the publish thing and it
works fine except that when I publish a site, it deletes everything in the
existing directory that I am publishing to which could be a good thing, or
not. In my case, it's not. How would I get only the files I have changed up
to the site withouy having to wipe everything out. I have tried the old
method of just copying the files over, but as soon as I try to run the site,
I get an error. Can someone enlighten me on this please?

Thanks in advance!
Jan 4 '06 #1
3 1406
First, are you using VS or an external FTP program to do the uploading? I
have never used VS2005 or done my uploading through VS, but either way it
sounds like the problem is in the settings either VS or the FTP program uses
during the upload. I would check these settings. Also, does the error you
recieve tell you a file is missing or that the code has an error in it? My
preference as to the easiest way to upload the files I have changed has
always been through an external FTP program, because it is simpler, you can
see what files are on the server and what files are on your local machine,
and does not try to interfere with the files by doing things automatically
(it really frustrates me when VS tries to do things like that without asking
me first). If you want to know of a good free FTP program, let me know and I
will let you know the one I use.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"David Hearn" <da*********@stagparkway.com> wrote in message
news:Oj**************@TK2MSFTNGP11.phx.gbl...
I am using VS2005 now and have been used to the XCopy deployment way of
doing things with VS2003. When I made a change to a page, I simply copied
the new ASPX page up. If I made a change to the code behind, I would copy
the new DLL to the BIN directory and obviously, if I made a change to both,
I copied both. Now with VS2005, I have figured out the publish thing and it
works fine except that when I publish a site, it deletes everything in the
existing directory that I am publishing to which could be a good thing, or
not. In my case, it's not. How would I get only the files I have changed up
to the site withouy having to wipe everything out. I have tried the old
method of just copying the files over, but as soon as I try to run the
site, I get an error. Can someone enlighten me on this please?

Thanks in advance!

Jan 5 '06 #2
I have just gotten my copy of VS 2005 and begun creating a small test web
site, and I have the same question as you.

There must be a different way than simply publishing the web and having it
delete everything and replace it with the new version. This just will not
work for anything but a very small site. What if I have, say, a 10 MB site
and only want to change one page? We must be missing something. It was so
easy in 2003.
"David Hearn" <da*********@stagparkway.com> wrote in message
news:Oj**************@TK2MSFTNGP11.phx.gbl...
I am using VS2005 now and have been used to the XCopy deployment way of
doing things with VS2003. When I made a change to a page, I simply copied
the new ASPX page up. If I made a change to the code behind, I would copy
the new DLL to the BIN directory and obviously, if I made a change to both,
I copied both. Now with VS2005, I have figured out the publish thing and it
works fine except that when I publish a site, it deletes everything in the
existing directory that I am publishing to which could be a good thing, or
not. In my case, it's not. How would I get only the files I have changed up
to the site withouy having to wipe everything out. I have tried the old
method of just copying the files over, but as soon as I try to run the
site, I get an error. Can someone enlighten me on this please?

Thanks in advance!

Jan 6 '06 #3
I think I have found the solution - Visual Studio 2005 Web Deployment
Projects

http://msdn.microsoft.com/asp.net/re...p/default.aspx

I have downloaded and installed it and hope to find time to try it soon..

"David Hearn" <da*********@stagparkway.com> wrote in message
news:Oj**************@TK2MSFTNGP11.phx.gbl...
I am using VS2005 now and have been used to the XCopy deployment way of
doing things with VS2003. When I made a change to a page, I simply copied
the new ASPX page up. If I made a change to the code behind, I would copy
the new DLL to the BIN directory and obviously, if I made a change to both,
I copied both. Now with VS2005, I have figured out the publish thing and it
works fine except that when I publish a site, it deletes everything in the
existing directory that I am publishing to which could be a good thing, or
not. In my case, it's not. How would I get only the files I have changed up
to the site withouy having to wipe everything out. I have tried the old
method of just copying the files over, but as soon as I try to run the
site, I get an error. Can someone enlighten me on this please?

Thanks in advance!

Jan 6 '06 #4

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

Similar topics

3
by: John Holmes | last post by:
We have a couple of websites on our Intranet IIS server. We use the default website for some vended web apps, but the majority of our intranet exists on another IIS configured website. The problem...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: Rich Lund | last post by:
I've posted in the MSI group but just in case someone else has run into this. If you use website deployment projects you might be able to help me: It seems recent changes to Windows Installer...
1
by: Terry Holland | last post by:
I have just created my first asp.net application and I am ready to deploy. The solution consists of the following: A single asp.net assembly to be deployed to web server A number of vb.net...
2
by: CodeMonkey | last post by:
Hi all I created a web site project using Visual Studio 2005 and then created the Deployment Project to deploy it. I set the virtual directory property on the web application folder to "testsite"....
4
by: | last post by:
Using VS.NET I am wondering what methods developers use to deploy ASP.NET website content to a remote server, either using FTP or network file copy. Ideally there would be a one-button or...
5
by: Ron | last post by:
Hi all, I am new at .net 2.0 deployment so can any one recommend me a good way or article to follow? What I want to do is (1)to deploy the website on the server2003 with IIS6 (2)we have...
5
by: Cirene | last post by:
When would I use "Copy Web site" over "Publish Website" or visa versa? Why would I use the Web Deployment Project vs these options? I want to make sure no one can pull up/read/download my vb...
0
by: XJ | last post by:
Hi experts, i have one doubt for this VS2005 "website" project and "web application", currently im using "website" to build my application, for deployment, i use "web deployment tools" to deliver...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...
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...
0
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,...

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.