Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Book / SQL connection question
Message
From
05/02/2003 23:12:26
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Book / SQL connection question
Miscellaneous
Thread ID:
00749702
Message ID:
00749702
Views:
72
Hi Kevin -

Since this came up in the context of trying to run the C# winforms sample in your book I thought this might be a useful place to display my complete ignorance of all things SQL Server:

I have SQL2000 installed with (I believe) the default settings. The computer name is CHARLES. When I open Enterprise Manager I don't see CHARLES I see local. Can get in to Northwind etc. I have SQLServer loading on OS boot. Service manager shows server as CHARLES.

I run your C# winforms sample. When I try to launch the Orders form I get

An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll

Additional information: System error.

No source code link.

Left all connection string settings at default in Data.cs

Then tried changing server to CHARLES in that conneciton string. No joy.

I'm sure I'm missing something very obvious but with my level of SQL Server knowledge the obvious is obscure.

Guidance?

TIA


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Next
Reply
Map
View

Click here to load this message in the networking platform