If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Impromptu - ASP - ActiveX Can't create Object

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-17-03, 03:58
jdrulez jdrulez is offline
Registered User
 
Join Date: Jun 2002
Posts: 9
Impromptu - ASP - ActiveX Can't create Object

Hi !

I read a couple of articles without finding the solution ...
I'm running a report from an ASP page :

Sub Command1_Click()
Dim objImpApp
Dim objImpCat
Dim objDB
Dim Mois
Dim Annee
Dim Parameters

Mois = Month(debut)
Annee = Year(fin)
Parameters = Mois &"|"&Annee

Set objImpApp = CreateObject("CognosImpromptu.Application")
objImpApp.Visible 1
objImpApp.OpenCatalog "\\Virg\e-novacances.dev\dev\view\Impromptu\prod.cat","Auteu r","", "nova","nf", 1
Set objImpCat = objImpApp.ActiveCatalog
Set objImpRep = objImpApp.OpenReport("\\Virg\e-novacances.dev\dev\view\Impromptu\absence" & ".imr",Parameters)
Set objImpCat = Nothing
Set objImpApp = Nothing
End Sub

This works fine if I visualize my asp page in Visual Interdev !
But If I use Internet Explorer, I have the error :
An activeX component can't create the object "CognosImpromptu.Application"

Any idea ?
Reply With Quote
  #2 (permalink)  
Old 01-17-03, 16:45
Memnoch1207 Memnoch1207 is offline
Registered User
 
Join Date: Jan 2003
Location: Midwest
Posts: 138
Is the CognosImpromptu.Application software installed on the server you are viewing your web page through?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On