Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CmdUsers.ExecuteNonQuery() error
Message
From
27/01/2006 13:01:46
 
 
To
27/01/2006 11:16:40
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01090740
Message ID:
01091014
Views:
16
Sergio,

SQL Profiler is in the Tools directory where SQL Server is stored, typically "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\profiler.exe"

~~Bonnie



>Hello Bonnie,
>
>I found the problem. It was on the connection string.
>I removed the two backslashes from "server=\\myserver" to "server=myserver"
>
>
>SqlConnection cnUsers = new SqlConnection("server=myserver;integrated security=true;database=shg");
>
>
>Bonnie how do I access the SQL Profiler to see what is actually getting passed to SQL Server?.
>
>Thanks,
>Sergio
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform