Hi,
I am trying to schedule a Webi report thru SDK using classic ASP. I am using the sample code provided here…
Inside ScheduleWebiReport.asp, there’s the subroutine below…
Sub ScheduleWebiReport(iStore, webiID, format)
Dim webiDocs
Set webiDocs = iStore.Query("Select SI_ID, SI_NAME From CI_INFOOBJECTS Where SI_ID=" & webiID)
If (webiDocs.Count = 0) Then
redirectWithError "../Error.asp", "The Web Intelligence document does not exist."
End If
Dim webiDoc
[b]Set webiDoc = webiDocs.Item(1).PluginInterface("")[/b]
Dim scheduleInfo
'Creates an interface to the scheduling options for the Webi report.
Set scheduleInfo = webiDoc.SchedulingInfo
' Runs the Webi report once.
scheduleInfo.Type = 0
' Runs it right now.
scheduleInfo.RightNow = True
' Set the scheduled format
webiDoc.WebiFormatOptions.Format = format
iStore.Schedule(webiDocs)
End Sub
Whenever I reach the line: Set webiDoc = webiDocs.Item(1).PluginInterface("") (bolded above), I always get the error below…
Microsoft VBScript runtime error ‘800a01ae’
Class doesn’t support Automation
Has anyone encounter this issue or know how to fix this?
Thanks in advance.
ayatle (BOB member since 2008-03-10)