ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 Time Out in SQL Reports

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Message:

* HTML is ON
* Forum Code is OFF
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Gustavo Posted - 10/07/2004 : 10:31:23
Hi
In SQL Reports (when the time for query results exceeds 1 min. or more), I've got the message 'SQL: Select .... ' and not the query results.
If I execute the query on other tool its works fine.
I use the string 'Connect TimeOut=300' in the Connection string but it not works.
How can I configure Report Portal for that querys?

Thanks
Gustavo - Argentina
1   L A T E S T    R E P L I E S    (Newest First)
admin Posted - 10/08/2004 : 07:17:31
Modify sql\i_query.asp CreateTable() function to call this function:

Function GetRecordset(sSQL,sConnectionString)
Dim cmd
Set cmd = Server.CreateObject("ADODB.Command")
cmd.ActiveConnection = sConnectionString
cmd.CommandText = sSQL
cmd.CommandTimeout = 60*60
Server.ScriptTimeout = 60*60
Set GetRecordset = cmd.Execute()
End Function

Change the line below to call the function
'rs.Open sSql, sReportConnection
set rs = GetRecordset(sSql, sReportConnection)

ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page