![]() |
Getting error error: 26 - Error Locating Server/Instance Specified
Hello,
I have a strange problem. I have a connection string to ActiveDirectory and SQL Server. When debugging on developement machine everything is working great. However when I use it on our webserver I get the following error: error: 26 - Error Locating Server/Instance Specified The strange thing is that the project contains more pages that uses the same connection string and I get this error only on one site. The other site can write and read to/from database. Please help. juvi |
Re: Getting error error: 26 - Error Locating Server/InstanceSpecified
On Jan 21, 2:27*pm, juvi <j...@discussions.microsoft.com> wrote:
> error: 26 - Error Locating Server/Instance Specified > > The strange thing is that the project contains more pages that uses the same > connection string and I get this error only on one site. The other site can > write and read to/from database. So, what is different then? Is this page failed on AD connection (a linked server?) |
Re: Getting error error: 26 - Error Locating Server/Instance Speci
Thx for your reply.
Solved it already now - during deployment there seems to be an invisible Connection String to LocalSQLServer that was not correct. I attached the ASPNETDB.mdf to SQL Server and deleted the invisible CN-String through IIS -> ASP.net configuration Then appended the needed LocalSQLServer connection string to web.config file and then it worked. juvi |
Re: Getting error error: 26 - Error Locating Server/Instance Speci
On Jan 22, 12:39*pm, juvi <j...@discussions.microsoft.com> wrote:
> Thx for your reply. > > Solved it already now - during deployment there seems to be an invisible > Connection String to LocalSQLServer that was not correct. > > I attached the ASPNETDB.mdf to SQL Server and deleted the invisible > CN-String through IIS -> ASP.net configuration > > Then appended the needed LocalSQLServer connection string to web.config file > and then it worked. > > juvi okay, glad that this works now |
| All times are GMT. The time now is 11:10 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.