Reputation: 11
As the title suggests this is the exception from my stacktrace.
I am trying to obtain a connection to my SQL Server 2008 R2 database hosted on a windows 2003 server.
My connection string is:
Data Source=server\\SQLEXPRESS;Initial Catalog=sqlDB;Integrated Security=SSPI
Any help would be much appreciated.
Upvotes: 1
Views: 7265
Reputation: 323
Refreshing database in SQL Server Object Explorer helped me with that issue.
Upvotes: 0
Reputation: 1214
Try this, it may help you to create your database
Open command prompt, then type services.msc Now Services window will be opened
And, Open SQL Server Browser,Enable this and start it
Upvotes: 1
Reputation: 5340
The Resolving “A network-related or instance-specific error occurred while establishing a connection to SQL Server…” article explains how to address this issue. I hope, it will be helpful to you.
Upvotes: 1