Click here to Skip to main content
15,886,801 members
Home / Discussions / C#
   

C#

 
AnswerRe: icons Pin
AB777130-Jan-06 18:20
AB777130-Jan-06 18:20 
GeneralRe: icons Pin
James Gupta30-Jan-06 21:27
professionalJames Gupta30-Jan-06 21:27 
GeneralRe: icons Pin
AB777130-Jan-06 21:36
AB777130-Jan-06 21:36 
QuestionSystem.Diagnostic.Process - execute and monitor return code? Pin
devfendar30-Jan-06 13:10
devfendar30-Jan-06 13:10 
AnswerRe: System.Diagnostic.Process - execute and monitor return code? Pin
Mark Greenwood30-Jan-06 17:57
Mark Greenwood30-Jan-06 17:57 
GeneralRe: System.Diagnostic.Process - execute and monitor return code? Pin
devfendar30-Jan-06 23:53
devfendar30-Jan-06 23:53 
QuestionHow is this done? Pin
TMF32030-Jan-06 12:28
TMF32030-Jan-06 12:28 
QuestionconnectionString update not working Pin
Eugenio Lysei Junior30-Jan-06 12:12
Eugenio Lysei Junior30-Jan-06 12:12 
I've updated a connectionString manually on IIS and restarted Web site,
but previously working INSERT is not working to the new data source.
New connectionString is okay (see details below).
I know I can have multiple connectionStrings, but don't know
how to select one of them on the fly.
I don't know how to handle this situation.
Any help will be very appreciated.
Thanks in advance!

Eugenio

DETAILS:

I'm running an ASP.NET Web Service (IIS 5.1).
Web service INSERTs a couple of records successfully into a DataSet
created using DataSet Wizard on VS2005 to a SQLEXPRESS on local machine.

I've the same database on a remote SQLSERVER (that I can access thru
MS SQLServer Mgmt Studio Express), and wanna INSERT data to it.
So I manually changed Web.config to the new connectionString on IIS and
restarted the Web site that I'm using. Data obviously did not go to the
old database, but it did not go to the new too! (although my code haven't
thrown any exception). Data has been lost.

Second turn, I configured the code to use an ODBC System DSN to the
old and okay database. Worked fine. Changed the DSN settings to the
remote database (connectionString remained the same) as restarted
Web site on ISS. The same behaviour got before: data was lost!


Eugenio
Questionprevent Cut 'n' Paste Pin
Greg_R30-Jan-06 10:57
Greg_R30-Jan-06 10:57 
AnswerRe: prevent Cut 'n' Paste Pin
likefood30-Jan-06 11:03
likefood30-Jan-06 11:03 
AnswerRe: prevent Cut 'n' Paste Pin
Office Lineman30-Jan-06 11:45
Office Lineman30-Jan-06 11:45 
GeneralRe: prevent Cut 'n' Paste Pin
likefood30-Jan-06 12:14
likefood30-Jan-06 12:14 
AnswerRe: prevent Cut 'n' Paste Pin
Michael Dunn30-Jan-06 13:12
sitebuilderMichael Dunn30-Jan-06 13:12 
GeneralRe: prevent Cut 'n' Paste Pin
Greg_R30-Jan-06 15:36
Greg_R30-Jan-06 15:36 
GeneralRe: prevent Cut 'n' Paste Pin
leppie30-Jan-06 21:55
leppie30-Jan-06 21:55 
QuestionJavascript variable from WebBrowser control Pin
arro200130-Jan-06 10:29
arro200130-Jan-06 10:29 
AnswerRe: Javascript variable from WebBrowser control Pin
tarasn30-Jan-06 22:35
tarasn30-Jan-06 22:35 
QuestionHashcodes Pin
Beringer30-Jan-06 10:01
Beringer30-Jan-06 10:01 
AnswerRe: Hashcodes Pin
Guffa30-Jan-06 10:17
Guffa30-Jan-06 10:17 
AnswerRe: Hashcodes Pin
Dan Neely30-Jan-06 10:19
Dan Neely30-Jan-06 10:19 
AnswerRe: Hashcodes Pin
Ingo30-Jan-06 22:59
Ingo30-Jan-06 22:59 
AnswerRe: Hashcodes Pin
Le centriste31-Jan-06 1:52
Le centriste31-Jan-06 1:52 
AnswerRe: Hashcodes Pin
Beringer31-Jan-06 12:23
Beringer31-Jan-06 12:23 
QuestionQuestion on running Excel when multiple versions of Excel are installed Pin
Flack30-Jan-06 9:13
Flack30-Jan-06 9:13 
QuestionI need a csc switch Pin
likefood30-Jan-06 9:12
likefood30-Jan-06 9:12 

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.