Click here to Skip to main content
16,006,348 members
Home / Discussions / Database
   

Database

 
AnswerRe: Query Problem?? Pin
Michael Potter31-Jan-06 8:39
Michael Potter31-Jan-06 8:39 
QuestionSession Variable using ASP Pin
ketanjh30-Jan-06 21:34
ketanjh30-Jan-06 21:34 
QuestionMust declare the variable '@TheYear' Pin
sasire1830-Jan-06 19:03
sasire1830-Jan-06 19:03 
AnswerRe: Must declare the variable '@TheYear' Pin
Pankaj Kulkarni30-Jan-06 19:47
Pankaj Kulkarni30-Jan-06 19:47 
AnswerRe: Must declare the variable '@TheYear' Pin
venkat2reddy31-Jan-06 0:47
venkat2reddy31-Jan-06 0:47 
GeneralRe: Must declare the variable '@TheYear' Pin
Colin Angus Mackay31-Jan-06 2:27
Colin Angus Mackay31-Jan-06 2:27 
GeneralRe: Must declare the variable '@TheYear' Pin
sasire1831-Jan-06 3:19
sasire1831-Jan-06 3:19 
QuestionconnectionString update not working Pin
Eugenio Lysei Junior30-Jan-06 12:11
Eugenio Lysei Junior30-Jan-06 12:11 
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

QuestionHOW TO USE TIMESTAMP Pin
ventomito30-Jan-06 9:48
ventomito30-Jan-06 9:48 
QuestionADO creating 2 connections Pin
Steven G. Weber30-Jan-06 9:20
Steven G. Weber30-Jan-06 9:20 
QuestionMoving a SQL database Pin
dptalt30-Jan-06 5:54
dptalt30-Jan-06 5:54 
AnswerRe: Moving a SQL database Pin
Colin Angus Mackay30-Jan-06 6:52
Colin Angus Mackay30-Jan-06 6:52 
GeneralRe: Moving a SQL database Pin
shaz jazz1-Jul-06 2:17
shaz jazz1-Jul-06 2:17 
GeneralRe: Moving a SQL database Pin
Colin Angus Mackay1-Jul-06 2:37
Colin Angus Mackay1-Jul-06 2:37 
QuestionRecursive Data Pin
Bassam Saoud30-Jan-06 5:06
Bassam Saoud30-Jan-06 5:06 
AnswerRe: Recursive Data Pin
Damodar Periwal3-Feb-06 14:01
Damodar Periwal3-Feb-06 14:01 
QuestionHow to get SqlTypes of a particular column in sqlserver using C# Pin
YogeshChoudhary30-Jan-06 0:59
YogeshChoudhary30-Jan-06 0:59 
QuestionHow to generate a sql db from a xml file Pin
User 231751430-Jan-06 0:58
User 231751430-Jan-06 0:58 
Questionupdate problem Pin
kings_128-Jan-06 15:57
kings_128-Jan-06 15:57 
QuestionCertain Numbr of records Pin
gharry28-Jan-06 3:36
gharry28-Jan-06 3:36 
AnswerRe: Certain Numbr of records Pin
Colin Angus Mackay28-Jan-06 6:01
Colin Angus Mackay28-Jan-06 6:01 
QuestionAutonumber in MS Access Pin
alfakappasigma27-Jan-06 23:49
alfakappasigma27-Jan-06 23:49 
AnswerRe: Autonumber in MS Access Pin
Pankaj Kulkarni30-Jan-06 0:47
Pankaj Kulkarni30-Jan-06 0:47 
GeneralRe: Autonumber in MS Access Pin
alfakappasigma31-Jan-06 6:43
alfakappasigma31-Jan-06 6:43 
GeneralRe: Autonumber in MS Access Pin
Luis Alonso Ramos31-Jan-06 7:58
Luis Alonso Ramos31-Jan-06 7:58 

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.