Click here to Skip to main content
16,004,919 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL compatibility Pin
Colin Angus Mackay17-Mar-06 1:40
Colin Angus Mackay17-Mar-06 1:40 
Questionstoring the result of exec (sqlQuery ) into a variable Pin
sandeep kumar pundhir16-Mar-06 20:15
sandeep kumar pundhir16-Mar-06 20:15 
AnswerRe: storing the result of exec (sqlQuery ) into a variable Pin
Colin Angus Mackay16-Mar-06 20:32
Colin Angus Mackay16-Mar-06 20:32 
GeneralRe: storing the result of exec (sqlQuery ) into a variable Pin
sandeep kumar pundhir20-Mar-06 18:14
sandeep kumar pundhir20-Mar-06 18:14 
Questioncustomer defined data fields Pin
econner16-Mar-06 16:16
econner16-Mar-06 16:16 
AnswerRe: customer defined data fields Pin
Muhammad Jawad17-Mar-06 1:34
Muhammad Jawad17-Mar-06 1:34 
QuestionSet SQL_ATTR_CURSOR_SCROLLABLE return error Pin
nhuythanh16-Mar-06 16:01
nhuythanh16-Mar-06 16:01 
QuestionSQL Server does not allow remote connections error Pin
tanpanjang16-Mar-06 10:37
tanpanjang16-Mar-06 10:37 
I am running Windows XP Pro with Service Pack 2, Visual Studio 2005, Microsoft SQL Server 2005 and Microsoft SQL Server Express Edition.

I have a file called EmployeeDirectoryOle.aspx in which I used a Repeater Control to display all the Employee records within the Employee table of the pfsnicom.mdb Microsoft Access file. I dont have a problem displaying records with the Repeater Control.

Another file, the EmployeeDirectorySql.aspx, contains the same codes (but different Namespace of course) connects and reads from SQL Database File. Whenever, I test query SELECT * FROM Employees under my 'Configure Data Source' window, it's fine. However, when I try to run this file, I get the error below:

" 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"

How do I resolve this problem?
AnswerRe: SQL Server does not allow remote connections error Pin
Colin Angus Mackay16-Mar-06 12:07
Colin Angus Mackay16-Mar-06 12:07 
GeneralRe: SQL Server does not allow remote connections error Pin
tanpanjang16-Mar-06 17:31
tanpanjang16-Mar-06 17:31 
GeneralRe: SQL Server does not allow remote connections error Pin
Colin Angus Mackay16-Mar-06 20:26
Colin Angus Mackay16-Mar-06 20:26 
GeneralRe: SQL Server does not allow remote connections error Pin
tanpanjang16-Mar-06 21:17
tanpanjang16-Mar-06 21:17 
GeneralRe: SQL Server does not allow remote connections error Pin
tanpanjang16-Mar-06 17:37
tanpanjang16-Mar-06 17:37 
QuestionCrystal Reports Query Engine Error Pin
beatle1116-Mar-06 10:18
beatle1116-Mar-06 10:18 
QuestionFetching data giving dynamic table at runtime Pin
sandeep kumar pundhir16-Mar-06 3:30
sandeep kumar pundhir16-Mar-06 3:30 
AnswerRe: Fetching data giving dynamic table at runtime Pin
Colin Angus Mackay16-Mar-06 12:38
Colin Angus Mackay16-Mar-06 12:38 
GeneralAnother Related problem Pin
sandeep kumar pundhir16-Mar-06 20:13
sandeep kumar pundhir16-Mar-06 20:13 
GeneralRe: Another Related problem Pin
Colin Angus Mackay16-Mar-06 20:30
Colin Angus Mackay16-Mar-06 20:30 
QuestionHow to use Filter forDataset Pin
Muhammad Jawad15-Mar-06 23:28
Muhammad Jawad15-Mar-06 23:28 
QuestionRetrieving data... Pin
merlie15-Mar-06 20:06
merlie15-Mar-06 20:06 
AnswerRe: Retrieving data... Pin
albCode15-Mar-06 21:34
albCode15-Mar-06 21:34 
QuestionHow to set Value in a Auto Number Filed in SQL DB Table? Pin
pubududilena15-Mar-06 16:55
pubududilena15-Mar-06 16:55 
AnswerRe: How to set Value in a Auto Number Filed in SQL DB Table? Pin
HimaBindu Vejella15-Mar-06 18:58
HimaBindu Vejella15-Mar-06 18:58 
Questionstored procedure ...help!!:) Pin
coolshad15-Mar-06 16:07
coolshad15-Mar-06 16:07 
AnswerRe: stored procedure ...help!!:) Pin
dansoft16-Mar-06 3:32
dansoft16-Mar-06 3:32 

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.