laxmi.m:
Hi Experts,
I am new to this topic. Actually, While run the page , getting error like 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)
Can anyone tell me the reason..
is there any settings orproperties i need to mention?
Reply as early as possible...
Thanks in Advance,
Laxmi.M.
Hi Laxmi.M,
According to the error message, there are two main reasons.
First, your SQL Server didn't deploy correctly. Please check out your SQL Server's username and password for logining.
Second, you may not build your connection string properly. You can get help to learn how to do it from the site below.
http://msdn.microsoft.com/en-us/library/ms254978.aspx
By the way, your issue is not belong to this forum (It's a Webparts Forum here). If you post your issue to a correct forum, you will get more helpful suggestion.
This forum link could help you more:Data Access.
Hope it helpful for you.
Hope it helps.
I'm always ready for your reply.
Thank you for thinking of ASP.NET Forums,
Jerry Weng - MSFT
If the post helps you, please click the Mark As Answer or the Mark As Not Answer if not.