|
-
Jan 20th, 2003, 04:07 PM
#1
Thread Starter
Fanatic Member
script does not execute
I'm trying to run a dll in vbscript and then do a response.redirect. The length of the dll processing time can sometimes reach 15 minutes. The dll works fine. My problem is when the processing time for the dll is over a couple minutes my If statement won't execute. Do you think it is because the script is timing out? I don't get any error messages the page just hangs. Here is my code:
<%
Set rpt = Server.CreateObject("WebExport.ExportEngine")
sReportName = report
sReportFolder = folder
sDestFolder = "C:\Web Site\Upload\Temp"
sLogFileSpec = folder & "log.log"
rpt.Params(clientid) = 1
x = rpt.ExportReport(sReportName, sReportFolder, sDestFolder, sLogFileSpec)
If x = True Then
sFile = rpt.ExportFileName
Response.Redirect "http://xxx.xxx.xxx.xx/Upload/test.asp"
ElseIf x = False Then
errdesc = rpt.ErrorDescription
errsrc = rpt.ErrorSource
description = "Error Source: " & errsrc & vbcrlf & "Description: " & errdesc
End If
%>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|