This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Problem: I'm trying to run the code in page 523 ExecuteNonQueryexample.
I'm getting an unhandled Exception error Sysytem.Data.SqlClient.SqlException:Login failed for user 'QSUser' Reason: not associated with the trusted SQL server connection.
I've installed Visual Studio.NET to run on my Windows XP.
Dear friend: Its a Connection error! ur Server is not a trusted Connection. Im sure u have clicked the Check-box for that.
if its a sample of the book, read again related part about Trusted Connection.