Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Getting error error: 26 - Error Locating Server/Instance Specified (http://www.velocityreviews.com/forums/t666520-getting-error-error-26-error-locating-server-instance-specified.html)

juvi 01-21-2009 01:27 PM

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

Alexey Smirnov 01-21-2009 03:31 PM

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?)

juvi 01-22-2009 11:39 AM

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

Alexey Smirnov 01-22-2009 12:05 PM

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.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57