SQL Server Error 26 (Error Locating Server/Instance Specified) Only When Debugging
Posted
by Phsion
on Stack Overflow
See other posts from Stack Overflow
or by Phsion
Published on 2010-04-19T03:43:08Z
Indexed on
2010/04/19
3:53 UTC
Read the original article
Hit count: 213
I have a simple asp .net web project I'm working on, and while normally everything is going fine, if I try to debug the site, I get "SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified". I'm not sure if its a weird code issue or a weird SQL Server Issue, but here are the system specs anyway.
My dev machine is Windows 7 32-bit, and a Windows Server 2008 VM (on the same Windows 7 Machine) runs both IIS and SQL Server 2008 Express. I haven't had any other problems with the connection string I'm using, and I'm using the simple SA account.
Anyhow, thanks for the help.
© Stack Overflow or respective owner