My answer is a general one, if you go to Website -> Copy Website and connect to your site either via FTP or remote (my preffered way but requires Frontpage extensions on your server), you will then be prompted with your files and an empty directory (if the
remote host has no files on it) simply transfer all your files in your site to your remote space and thats it!
I had several projects that were not copied properly when using FTP, however since using remote site option I have never had any problems and my site has been deplyoed perfectly every time.
Ok Here is the site structure: I have 2 seperate website coz one is non-secure website + store front (Website1) and other is Secure Checkout site(using Common SSL Certificate Website2)
On my local machine all ASP.NET proejct resides under "C:\Projects\ASPNET2.0"
I have a Solution called Test with 2 websites and common directory between them:
C:\Projects\ASPNET2.0\Test has common direcotries like
images, css, EmailTemplates, scripts, MasterPages
for 2 websites. I have mapped each Website to these directories so that I don't have to maintain 2 seperate set of files.
Website1: C:\Projects\ASPNET2.0\Test\Website1
Website2: C:\Projects\ASPNET2.0\Test\Website2
1) Now, how do I copy this site on my production server using Copy Project or Web Deployment and Web Setup or FTP? Do I have to manually create site structure on production server?
Is there a better way to manage websites?
2) I am reading article about Web Application Project also. Where is App_Code directory? If i right click on project and say Add new ASP.NET folder, all I see is App_Data, Theme and App_Browser !!!
love_luv
Contributor
2256 Points
481 Posts
Help Deploying Site(files) on Production Server!!!
May 03, 2006 03:13 PM|LINK
Hi !!
I am reading how to use Web Deployment Project. I am Following articles:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/web_deployment_projects.asp
As per the article I can see Files inside my Deploy directory. How do I copy this site to my production server?
Please help !!
love_luv
Contributor
2256 Points
481 Posts
Re: Help Deploying Site(files) on Production Server!!!
May 04, 2006 05:20 PM|LINK
No one can tell me how do I copy Deployment project file to production server? What about directory structure?
Pls help!!
ScottGu
All-Star
18285 Points
2008 Posts
Microsoft
Moderator
Re: Help Deploying Site(files) on Production Server!!!
May 05, 2006 11:50 AM|LINK
Can you help explain what the file structure of your publish output directory looks like after you run the web deployment project?
Once you generate this directory you should just be able to copy the directory as is to your production server.
Hope this helps,
Scott
gbarnett
Participant
831 Points
112 Posts
Re: Help Deploying Site(files) on Production Server!!!
May 05, 2006 06:10 PM|LINK
I had several projects that were not copied properly when using FTP, however since using remote site option I have never had any problems and my site has been deplyoed perfectly every time.
Hope that helps.
p.s. Website menu is on the main toolbar.
Granville
http://weblogs.asp.net/gbarnett
Feel free to ask me any .NET question
love_luv
Contributor
2256 Points
481 Posts
Re: Help Deploying Site(files) on Production Server!!!
May 05, 2006 07:14 PM|LINK
I have followed article Using IIS with VS 2005 and the new Web Project system
Ok Here is the site structure: I have 2 seperate website coz one is non-secure website + store front (Website1) and other is Secure Checkout site(using Common SSL Certificate Website2)
On my local machine all ASP.NET proejct resides under "C:\Projects\ASPNET2.0"
I have a Solution called Test with 2 websites and common directory between them:
C:\Projects\ASPNET2.0\Test has common direcotries like
images, css, EmailTemplates, scripts, MasterPages
for 2 websites. I have mapped each Website to these directories so that I don't have to maintain 2 seperate set of files.
Website1: C:\Projects\ASPNET2.0\Test\Website1
Website2: C:\Projects\ASPNET2.0\Test\Website2
1) Now, how do I copy this site on my production server using Copy Project or Web Deployment and Web Setup or FTP? Do I have to manually create site structure on production server?
Is there a better way to manage websites?
2) I am reading article about Web Application Project also. Where is App_Code directory? If i right click on project and say Add new ASP.NET folder, all I see is App_Data, Theme and App_Browser !!!