troubleshooting Question

Brutal Migration To Windows Server 2012

Avatar of Bob Schneider
Bob SchneiderFlag for United States of America asked on
Microsoft SQL ServerASPWindows Server 2012
19 Comments11 Solutions1268 ViewsLast Modified:
I am beside myself.  Sites have been down for 18 hours now.  All files have been moved.  All data has been moved.  There seems to be some problems with my sql server connection was working fine on my windows server 2008 and seems to be problematic on 2012.

Here is my 2008 connection string:
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Provider=SQLNCLI11;Server=localhost\SQLExpress;Database=xxx;Uid=xxx;Pwd=xxx;"

The file structure on that server was:
C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS

The file structure on my new server is:
C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER

The error highlights the conn,open line and says it can't find the instance.  I tried replacing SQLExpress with SQLSERVER but that didn't help.

Could really use some resolution here.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 11 Answers and 19 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 11 Answers and 19 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros