Problems linking to SQL Server

  • 14 years ago

    I'm trying to create a database driven application in C#.

    I have SQL Server Express installed on my computer with a database in it. I can see this database and its tables in Server Explorer (although for some reason, it all appears with red crosses until I expand the nodes.)

    However, in the Data Link Properties dialogue box that appears when you try to add a new connection from Server Explorer, the server name is not listed under the Connection tab. In fact, if I try to use the drop down list I get an error:

    Error enumerating data servers. Enumerator reports 'Unspecified error'.

    This is a problem because the same dialogue box appears when using the Data Forms Wizard.

    Can anyone suggest why the server cannot be found?

    Thanks

    Dovder

















Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - Rick Osborne