View Single Post
  #5 (permalink)  
Old June 22nd, 2004, 08:46 AM
JonathanC JonathanC is offline
Authorized User
Join Date: Jun 2003
Location: Cowes, IOW, United Kingdom.
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to JonathanC

Hi All

When you recieve an error of SqlException it is always likely that there is a more specific error.
Wrap the code in the Form1_Load event with a


'the existing code here
Catch exception As Exception
End Try

You will notice that a more beneficial message will popup for you.
I suspect that it is likely to be a connection string error.
Could you please verify that your connection string is correct by logging into your SQL database via Analyzer or through the VS.NET Server Explorer.

You can put up the detailed error on the board for me to see.
Then we can try to get it working for you.

Jonathan Crossland