Skip to Content
Former Member
Jan 14, 2010 at 10:26 PM

How to set command timeout for table object?


I have a report that is generating an error during rendering in a CrystalReportViewer control (v10.5). The error is "Failed to open a rowset." which appears to be caused by a timeout. I'm currenlty setting the connection info and location of the sproc programmatically. How can I set the command timeout as well? Can I set this via the Attributes collection of the ConnectionInfo object? (This appears to be a command timeout, not a connection timeout, which I'm already including in the Attributes collection of the ConnectionInfo object and setting at 15 seconds. I've tried making this as much as 60 seconds but it doesn't change the behavior.)