473,769 Members | 6,499 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1423
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********@hotm ail.com
http://www.nathansokalski.com/

"David Hearn" <da*********@st agparkway.com> wrote in message
news:Oj******** ******@TK2MSFTN GP11.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*********@st agparkway.com> wrote in message
news:Oj******** ******@TK2MSFTN GP11.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*********@st agparkway.com> wrote in message
news:Oj******** ******@TK2MSFTN GP11.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
1631
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 I'm having is that my Web Deployment Project just asks for what virtual directory I want to install into and it doesn't give any options for the website. I'm using the windows bootstrap option and it creates a setup.exe and msi file that I run to...
1
650
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 objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
0
1179
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 (we've noticed it in installs created with VS2005) mean that the user can now choose which website our application is installed into aswell as the name of the virtual directory (it used to be just the latter). Whilst this is welcome from the...
1
252
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 assemblies to be deployed to application server. Some of these assemblies will be shared by future applications. There is also a SQL Server DB that I need to install onto live server. The only way I have deployed asp.net app before is to copy my...
2
4543
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". However when installing I get the following error: The Specified path '/LM/W3SVC/1/ROOT/testsite' is unavailable. The internet information server might not be running or the path exists and is redirected to another machine. Please check the...
4
2047
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 one-key-chord way to upload a single file or a single site. In Dreamweaver, you can hit "Control-Shift-U" to upload a single file to the remote site you have configured. This is extremely handy when you're doing quickie fixes and development, more...
5
2466
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 a website on the web server which is running with .net 1.1
5
2962
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 source code (in ..vb files). I would prefer easy update of the site (code or aspx.) Thanks.
0
849
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 the project. recently when i try to deploy my one of the application to the 64 bit server, i faced some issue, i would like to make my application to 64 bit and test, however i'm not able to do for this, but i found that "web application" include...
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,...
0
10211
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...
0
10045
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9993
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
9863
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
6672
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
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3958
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
2815
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.