Click here to Skip to main content
15,895,011 members
Home / Discussions / Database
   

Database

 
QuestionChecking for an Existing record when Updating Pin
Brendan Vogt11-Jul-06 21:08
Brendan Vogt11-Jul-06 21:08 
AnswerRe: Checking for an Existing record when Updating Pin
kumarprabhakar7412-Jul-06 0:21
kumarprabhakar7412-Jul-06 0:21 
QuestionUpdate statement Pin
angelagke11-Jul-06 18:23
angelagke11-Jul-06 18:23 
AnswerRe: Update statement Pin
Dinuj Nath11-Jul-06 20:51
Dinuj Nath11-Jul-06 20:51 
GeneralRe: Update statement Pin
angelagke11-Jul-06 21:37
angelagke11-Jul-06 21:37 
GeneralRe: Update statement Pin
VK-Cadec12-Jul-06 10:01
VK-Cadec12-Jul-06 10:01 
GeneralRe: Update statement Pin
angelagke13-Jul-06 2:07
angelagke13-Jul-06 2:07 
QuestionConnectionString works for VB6/VBNET/VBNET2003 for SQL SERVER but not for VBNET2005 SQL SERVER only local Pin
Serpiente11-Jul-06 15:16
Serpiente11-Jul-06 15:16 
Hello,

I have this sub:

Sub ConDB()
Dim oSqlCliCon As SqlConnection
oSqlCliCon = New SqlConnection("Data Source=120.260.9.8;Integrated Security=SSPI;Initial Catalog=pubs")
Try
oSqlCliCon.Open()
Catch ex As Exception
msgbox(ex.Message)
End Try
oSqlCliCon.Close()
End Sub

The problem:

The code works for VB6/VBNET/VBNET2003 for SQL SERVER
for VBNET2005 works only local but for the SQL SERVER don't.

The exception message:


Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.


The exception message if modify the connectionstring:

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)

Please help, thank you.

gangeles
QuestionOutput parameter in stored procedure Pin
leckey11-Jul-06 9:27
leckey11-Jul-06 9:27 
AnswerRe: Output parameter in stored procedure Pin
nguyenvhn11-Jul-06 22:38
nguyenvhn11-Jul-06 22:38 
GeneralRe: Output parameter in stored procedure Pin
leckey12-Jul-06 3:13
leckey12-Jul-06 3:13 
QuestionDB Connection Failure using C# Pin
Cadence2.011-Jul-06 9:03
Cadence2.011-Jul-06 9:03 
AnswerRe: DB Connection Failure using C# Pin
god_bless_the_world11-Jul-06 11:22
god_bless_the_world11-Jul-06 11:22 
GeneralRe: DB Connection Failure using C# Pin
Cadence2.011-Jul-06 11:47
Cadence2.011-Jul-06 11:47 
QuestionStored Procedures Pin
HRiazi11-Jul-06 6:50
HRiazi11-Jul-06 6:50 
AnswerThe best third party tool Pin
Ennis Ray Lynch, Jr.12-Jul-06 7:15
Ennis Ray Lynch, Jr.12-Jul-06 7:15 
QuestionSQL Server files very large Pin
dptalt11-Jul-06 5:17
dptalt11-Jul-06 5:17 
AnswerRe: SQL Server files very large Pin
Eric Dahlvang11-Jul-06 7:48
Eric Dahlvang11-Jul-06 7:48 
GeneralRe: SQL Server files very large Pin
dptalt13-Jul-06 3:09
dptalt13-Jul-06 3:09 
GeneralRe: SQL Server files very large Pin
Eric Dahlvang13-Jul-06 3:52
Eric Dahlvang13-Jul-06 3:52 
QuestionSQL String to insert values into a table that are C# variables. Pin
DavidSAtWork11-Jul-06 4:51
DavidSAtWork11-Jul-06 4:51 
AnswerRe: SQL String to insert values into a table that are C# variables. Pin
albCode11-Jul-06 5:00
albCode11-Jul-06 5:00 
GeneralRe: SQL String to insert values into a table that are C# variables. Pin
Colin Angus Mackay11-Jul-06 5:05
Colin Angus Mackay11-Jul-06 5:05 
GeneralRe: SQL String to insert values into a table that are C# variables. Pin
albCode11-Jul-06 5:12
albCode11-Jul-06 5:12 
AnswerRe: SQL String to insert values into a table that are C# variables. Pin
Colin Angus Mackay11-Jul-06 5:08
Colin Angus Mackay11-Jul-06 5:08 

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.