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:
01371353
Views:
21
>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
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform