Hiiii alll
At present am doin a small project in windows application with C# as its code behind language. Now am in problem that i'm not able to connect sql server with my application. Its throwing an error that "sql default settings does not allow remote connections. connection can not be opened for sql server 2005."

Can any one say me what could be wrong . and help me out with a right solution..
Thanks in advance

Recommended Answers

All 3 Replies

I'm not 100% certain, but I believe you cannot make remote connections to a database if you have only the express edition.

Then how do i connect sql in my application

Thanks in Advance..

Your DB must be on your local machine in order to make a connection to it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.