Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CommandTimeout with ExecScalar
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01371141
Message ID:
01371434
Views:
15
>>It seems the most likely cause is I have a subclass of mmDataAccess for SqlCE (Compact Edition). I have to test with standard SQL, but I am not sure why this line in the base class is not allowing the change? Your support is very appreciated.
>>
>
>That's most likely the problem. SqlCE doesn't support seeting the CommandTimeout property to anything but 0.
>
>http://msdn.microsoft.com/en-us/library/system.data.sqlserverce.sqlcecommand.commandtimeout(VS.71).aspx

Thanks Paul!
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Previous
Reply
Map
View

Click here to load this message in the networking platform