This is a migrated thread and some comments may be shown as answers.

try to use WebMail but it still error

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pichet
Top achievements
Rank 1
Pichet asked on 15 Mar 2012, 10:25 PM

Server Error in '/' Application.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to 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: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source Error:

Line 21: 		if (!IsPostBack)
Line 22: 		{
Line 23: 			RadGrid1.Rebind();
Line 24: 			SelectFirstGridRow();
Line 25: 		}

Source File: d:\Test_telerik\WebMail\Default.aspx.cs    Line: 23




Could you please to help

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 20 Mar 2012, 03:42 PM
Hello Pichet,

Can you confirm that you have double-checked that the connection string in the web.config is correct with relation to the name of your SQL server instance?

Regards,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Pichet
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or