error: 26 - Error Locating Server/Instance Specified

Hi Experts,

I have been running ASP.net applicatin on SQL Express but as my database started becoming bigger and I found my application running very slow, I started to Switch from Express to SQL 2008. I Re-inStalled Entire Windows 2008 Server, Installed SQL 2008 (Installed as Instance Name :- MSSQLSERVER), Changed the Connection String from

Data Source = .\SQLExpress to Data Souce = SERVERUS1
(SERVERUS1 is the computer name. I use the same name to connect to SQL server using Management Studio)

Error :-

eption Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)


Now it shows me this Error. Did I make mistake while typing in the ConnectionString?
vinit_21Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PaulHewsCommented:
You should include the instance name in the data source, like so:

Data Source = SERVERUS1\ MSSQLSERVER

Make sure that you have connectivity for remote connections.  (If you are connecting with Management Studio remotely, then no problem.)

How to: Enable Remote Connections on SQL Server
http://msdn.microsoft.com/en-us/library/dd857537(VS.85).aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.