Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error depending on the data range of the parameter

Status
Not open for further replies.

crystaldev1

Programmer
Nov 6, 2003
232
US
I'm using CR 9 and SQL Server 2005. I have a report with parameters startdate and enddate as a date range. This report runs fine if the date range is 1 or 2 days but errors out if it's any longer than that. Here is the error:

" Failed to open a rowset.
Details: ADO Error Code: 0x
Source: Microsoft OLE DB Provider for SQL Server
Description: [DBNETLIB][ConnectionOpen(Connect()).]
SQL Server does not exist or access denied.
SQL State: 08001
Native Error:
Failed to open a rowset.
Error in File C:\.........rpt:
Failed to open a rowset. "

Any suggestions? Thanks.
 
What is your record selection formula? How are the parameters set up?

-LB
 
I believe the report times out. Is there any way to increase the connection timeout from the report? Right now it is set to "Connect Timeout = 15". Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top