Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deploy a Web Application
Message
From
18/04/2007 18:49:16
 
 
To
18/04/2007 17:27:57
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01217524
Message ID:
01217545
Views:
14
>Hi, every time I deploy my application to the server, My Server configuration file is replaced, so connection string is now having a reference to the test SQL Server instead of the Production Server.
>
>How can I avoid configuration file to be replaced when deploying.
>
>It is posible to just deploy a web page? using visual studio?



Have two copies of web.config. One in the DEV server, one in Production. Each points to different data servers.
When you copy (or Publish), do not copy over (or FTP over) the web.config file.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform