Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / June 2007

Tip: Looking for answers? Try searching our database.

error on conn.open()

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
M K - 30 Jun 2007 03:02 GMT
I got this error and have no clue what to do.

Error code(  -2146232060 ) An error has occurred while establishing a
connection to the server.  When connecting to SQL Server 2005, this failure
maybe caused by the fact that under the default settings SQL Server does not
allow remote connections. (provider: SQL: Network Intervaces, error:26 -
Error Locating Server/Instance Specified))

any suggestions as what exactly to check or change?

Mark
M K - 30 Jun 2007 03:07 GMT
I found this...
http://www.aquesthosting.com/HowTo/Sql2005/SQLError26.aspx

and i did not find the "Protocols for MSSQLSERVER" then enable the protocols
you need"
SQL Server 2005 Open SQL Server Configuration Manager. Select "SQL Server
2005 Network Configuration | Protocols for MSSQLSERVER" then enable the
protocols you need.

there was nothing listed under network configuration selection...

>I got this error and have no clue what to do.
>
[quoted text clipped - 7 lines]
>
> Mark
M K - 30 Jun 2007 03:29 GMT
ugg helps when i have the ; in the connection string... lol

>I found this...
> http://www.aquesthosting.com/HowTo/Sql2005/SQLError26.aspx
[quoted text clipped - 18 lines]
>>
>> Mark

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.