Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deployment question 1

Status
Not open for further replies.

vilrbn

Programmer
Oct 29, 2002
105
FR
Hello,

To deploy my site, I first have copied all off the files from my localhost to the Production server.
Now, I only want to copy the ones I have updated (*.aspx, *.vb, web.config).
If I do so, my site is not working properly. I tried to copy the Dlls located under my localhost\bin directory (don't know if it's a good idea) and got the same pb.
So,if I don't copy all of my files to the Production server, it's not working fine.
Do you know which files are mandatory for the good work of my site ?
Thanks for your help.
 
There's an option under the "Project" menu that says, "Copy Project", and once in there, you can select "Just the files that I need to run my project", pick a location, and it will copy everything you need.

You should just be able to specify your production server right there, and VS will handle everything for you.

-paul
penny1.gif
penny1.gif

The answer to getting answered -- faq855-2992
 
Many thanks Paul.
Shame on me not to have noticed this menu before...
 
Paul, did you sometimes noticed that your site hasn't the last version ?
I tried the VS Copy project menu and saw that some of the update were not applied.
Then I made a copy of my entire folder and get the same problem.
It's driving me crazy...
 
You need to make sure that you have compiled your project before you copy it to the new location. This way you ensure that your dll's are up to date.

The main files that a production server needs is the .aspx files, the dll's, web.config, your style sheets, Global.asax and any html pages that you have.

The aspx.vb files are not needed on your production server. That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
I think my problem comes from the compilation. I'm not systematically doing it before the deployment.
Thanks for this useful information (as usual !).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top