Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Getting error error: 26 - Error Locating Server/Instance Specified

Reply
Thread Tools

Getting error error: 26 - Error Locating Server/Instance Specified

 
 
juvi
Guest
Posts: n/a
 
      01-21-2009
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
 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      01-21-2009
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?)
 
Reply With Quote
 
 
 
 
juvi
Guest
Posts: n/a
 
      01-22-2009
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
 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      01-22-2009
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
issue locating error in JSP/compiled Java web application Damon Getsman Java 1 09-18-2008 05:39 PM
Login destinationpageurl error: 26 - Error Locating Server on deployment jobs ASP .Net Security 0 06-07-2007 01:30 AM
deploying aspnetdb membership .. error: 26 - Error Locating Server/Instance jobs ASP .Net 4 06-06-2007 10:35 PM
Error connecting to SQLExpress 2005 locally (error: 26 - Error Locating Server/Instance Specified) hfk0 ASP .Net 2 03-27-2006 08:43 PM
Understand why I am getting a "Specified cast is not valid" error =?Utf-8?B?Q2hhcmxlcw==?= ASP .Net 8 05-04-2004 04:06 PM



Advertisments
 



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