Click here to Skip to main content
15,922,512 members
Home / Discussions / Database
   

Database

 
GeneralRe: "Copy Project" and SQL ??? Pin
Member 962-May-03 14:03
Member 962-May-03 14:03 
kvnsdr wrote:
You see, when I move a perfectly running asp.net web project to another server, the computer names are different. So I changed those to make sure the database connections are correct. However upon this attempt nothing works.

It's normal practice to put the connection string in an externally configurable place if it's production software or at least in only one place in your code if it's internal use for just this reason. Then you only need to update one place.

As you found out, when you use the drag and drop features it will happily make a new connection string over and over and over again.

I think that the drag and drop is an excellent way for a beginner to learn what is required to get the task accomplished, but then most would quickly move beyond that if they are programming more than a very simple application.



"Things are more like they are now than they ever were before."
-- Dwight Eisenhower
GeneralRe: "Copy Project" and SQL ??? Pin
J. Dunlap2-May-03 17:09
J. Dunlap2-May-03 17:09 
GeneralQuery Statement Pin
blindzebra1-May-03 8:30
blindzebra1-May-03 8:30 
GeneralRe: Query Statement Pin
Member 961-May-03 19:12
Member 961-May-03 19:12 
GeneralRe: Query Statement Pin
Richard Deeming2-May-03 2:50
mveRichard Deeming2-May-03 2:50 
GeneralConnection Pooling Pin
RedZenBird1-May-03 7:42
RedZenBird1-May-03 7:42 
GeneralSql transaction log format Pin
jspano1-May-03 7:07
jspano1-May-03 7:07 
GeneralChecking Query Progress Pin
perlmunger30-Apr-03 4:31
perlmunger30-Apr-03 4:31 
GeneralInstall packages for serversoftware. Pin
Jonas Follesø30-Apr-03 1:35
Jonas Follesø30-Apr-03 1:35 
GeneralRe: Install packages for serversoftware. Pin
Rein Hillmann1-May-03 5:58
Rein Hillmann1-May-03 5:58 
QuestionCan execute() return both recordset and output parameters Pin
TianYang29-Apr-03 22:34
TianYang29-Apr-03 22:34 
AnswerRe: Can execute() return both recordset and output parameters Pin
andyharman30-Apr-03 12:19
professionalandyharman30-Apr-03 12:19 
GeneralCustom view for a datafield Pin
ssnkh29-Apr-03 20:14
ssnkh29-Apr-03 20:14 
GeneralSQLJ with JTree Plz HELP Pin
sharathkv12329-Apr-03 17:02
sharathkv12329-Apr-03 17:02 
GeneralGet parameter that generated by Refresh() Pin
TianYang28-Apr-03 22:21
TianYang28-Apr-03 22:21 
GeneralRead Only Transactions Pin
Patje28-Apr-03 22:08
Patje28-Apr-03 22:08 
GeneralRe: Read Only Transactions Pin
Rein Hillmann1-May-03 19:42
Rein Hillmann1-May-03 19:42 
GeneralRe: Read Only Transactions Pin
Patje4-May-03 20:43
Patje4-May-03 20:43 
GeneralSQL Statement Help... Pin
Jason Weibel28-Apr-03 9:51
Jason Weibel28-Apr-03 9:51 
GeneralRe: SQL Statement Help... Pin
Timur Fanshteyn28-Apr-03 11:07
Timur Fanshteyn28-Apr-03 11:07 
GeneralRe: SQL Statement Help... Pin
Jason Weibel28-Apr-03 11:43
Jason Weibel28-Apr-03 11:43 
QuestionADO events biased to COM memory model? Pin
Chopper28-Apr-03 9:33
Chopper28-Apr-03 9:33 
GeneralRelated Tables: How to set forgeign key of child table when adding new rows to parenttable Pin
STW27-Apr-03 10:41
STW27-Apr-03 10:41 
GeneralRe: Related Tables: How to set forgeign key of child table when adding new rows to parenttable Pin
perlmunger30-Apr-03 5:05
perlmunger30-Apr-03 5:05 
GeneralRe: Related Tables: How to set forgeign key of child table when adding new rows to parenttable Pin
STW30-Apr-03 5:25
STW30-Apr-03 5:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.