Click here to Skip to main content
15,911,360 members
Home / Discussions / Database
   

Database

 
QuestionSQL Trigger not working on update statement Pin
BSRK13-Sep-06 1:21
BSRK13-Sep-06 1:21 
AnswerRe: SQL Trigger not working on update statement Pin
Eric Dahlvang13-Sep-06 3:42
Eric Dahlvang13-Sep-06 3:42 
AnswerRe: SQL Trigger not working on update statement Pin
Chris Meech13-Sep-06 10:01
Chris Meech13-Sep-06 10:01 
GeneralRe: SQL Trigger not working on update statement Pin
Eric Dahlvang13-Sep-06 11:38
Eric Dahlvang13-Sep-06 11:38 
Questionproblem in retrieving "Time" from database using _RecordsetPtr Pin
PrafullaVedante12-Sep-06 23:53
PrafullaVedante12-Sep-06 23:53 
AnswerRe: problem in retrieving "Time" from database using _RecordsetPtr Pin
Rob Graham13-Sep-06 15:49
Rob Graham13-Sep-06 15:49 
GeneralRe: problem in retrieving "Time" from database using _RecordsetPtr Pin
PrafullaVedante13-Sep-06 23:12
PrafullaVedante13-Sep-06 23:12 
QuestionDeploying an application for SQL Server 2005 express Pin
Ilkka Pitkänen12-Sep-06 21:12
Ilkka Pitkänen12-Sep-06 21:12 
I have been programming an application with VC++ 2005 and SQL Server 2005. I have converted an old 16-bit database for 32-bit managed code and SQL server and the application seems to be good. Now I want to deploy the application to another server for testing.

I have installed XP SP2, Windows Installer 3.1, Net framework 2.0 and SQL Server 2005 express to the test server. I have transferred the application with WI 3.1 and the program works well in the test server till the first SQL command. I have made a back up of the database and restored in the test server. In the test server I can log in the database with Server Management studio and I can read the data there correctly. I have enabled both named pipes and TCP/IP for the database in the test server. With Surface Area Configuration I have enabled Local and Remote Connections Using both TCP/IP and named pipes. I only need Windows authentication at this time.

After all this when I come to the first SQL command in the application on the test server I receive the error message:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server).

My connection string to the database is:
'connection->ConnectionString = "Persist Security Info=False; Integrated Security =SSPI;"
"Data Source=TESTSERVER; Initial Catalog=TESTDATABASE;";'

When I use "Data Source=DevelopmentServer", the application works well on the development server.

Can't understand what is still wrong. Can anyone possibly have an answer?

AnswerRe: Deploying an application for SQL Server 2005 express Pin
Ilkka Pitkänen14-Sep-06 6:49
Ilkka Pitkänen14-Sep-06 6:49 
QuestionQuery regarding SP's Pin
ParagGupta12-Sep-06 20:54
ParagGupta12-Sep-06 20:54 
AnswerRe: Query regarding SP's Pin
_AK_12-Sep-06 21:11
_AK_12-Sep-06 21:11 
GeneralRe: Query regarding SP's Pin
ParagGupta12-Sep-06 22:37
ParagGupta12-Sep-06 22:37 
AnswerRe: Query regarding SP's Pin
sa.Eish12-Sep-06 22:59
sa.Eish12-Sep-06 22:59 
GeneralRe: Query regarding SP's Pin
ParagGupta12-Sep-06 23:34
ParagGupta12-Sep-06 23:34 
QuestionQuestion abt self joined tables Pin
Rocky#12-Sep-06 20:04
Rocky#12-Sep-06 20:04 
AnswerRe: Question abt self joined tables Pin
Stephen McGuire13-Sep-06 12:14
Stephen McGuire13-Sep-06 12:14 
QuestionA question abt making the main page of DB application Pin
Rocky#12-Sep-06 20:00
Rocky#12-Sep-06 20:00 
QuestionMultiple Record Set Pin
Amit Kumar G12-Sep-06 14:20
Amit Kumar G12-Sep-06 14:20 
AnswerRe: Multiple Record Set Pin
Not Active13-Sep-06 3:20
mentorNot Active13-Sep-06 3:20 
QuestionUrgent Need Help....Rows to Columns Pin
Amit Kumar G12-Sep-06 8:53
Amit Kumar G12-Sep-06 8:53 
AnswerRe: Urgent Need Help....Rows to Columns Pin
Eric Dahlvang12-Sep-06 11:47
Eric Dahlvang12-Sep-06 11:47 
QuestionSQL Join problem! Pin
richiemac12-Sep-06 3:21
richiemac12-Sep-06 3:21 
AnswerRe: SQL Join problem! Pin
Eric Dahlvang12-Sep-06 4:06
Eric Dahlvang12-Sep-06 4:06 
GeneralRe: SQL Join problem! Pin
richiemac12-Sep-06 5:05
richiemac12-Sep-06 5:05 
Questiondaynamic sql Pin
yazan_zahi12-Sep-06 2:10
yazan_zahi12-Sep-06 2:10 

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.