Error Occurred creating Report Object: ActiveX component can't create objec

Hello!
I have an error "Error Occurred creating Report Object: ActiveX component can't create object" when open asp-file in IE. Please, help me! What Java-components I need install? What else?
Server side: Windows 2003 SP2, IIS6, Crystal Reports Server XI
Client side: Windows XP SP3, IE 7.0

<%@ LANGUAGE="VBSCRIPT" %>
<%
ServerName="app4-odusb-bur"     
DatabaseName="CKReports"
WorkLogin="***"          
WorkPWD="***"
reportname = "SV3in1_p1.rpt"
If Not IsObject (session("oApp")) Then                             
Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")
End If                                                               
Path = Request.ServerVariables("PATH_TRANSLATED")                    
While (Right(Path, 1) <> "\" And Len(Path) <> 0)                     
iLen = Len(Path) - 1                                                 
Path = Left(Path, iLen)                                              
Wend                                                                               
If IsObject(session("oRpt")) then
     Set session("oRpt") = nothing
End if                                                   
On error resume next
rYear = Request.Form("rYear")
rDay = Request.Form("rDay")
rMonth = Request.Form("rMonth")
sDay = CStr(rDay)
if CInt(rDay)<10 then sDay="0"+SDay
sMonth = CStr(rMonth)
if CInt(rMonth)<10 then sMonth="0"+sMonth
sYear = CStr(rYear)
Set obj = CreateObject("ReportServer.Collector") 'HERE an ERROR was occurred, so I have closed any other operators after this one, except Error Message Operators
'obj.ConnectToDatabase1 ServerName, DatabaseName, WorkLogin, WorkPWD
'obj.Disconnect
'Set session("oRpt") = session("oApp").OpenReport(path & reportname, 1)
'Session("oRpt").Database.LogOnServer "p2ssql.dll", CStr(ServerName), CStr(DatabaseName), CStr(WorkLogin), CStr(WorkPWD)
'For n = 1 to Session("oRpt").Database.Tables.Count
'    Session("oRpt").Database.Tables.Item(n).SetLogonInfo CStr(ServerName), CStr(DatabaseName), CStr(WorkLogin), CStr(WorkPWD)
'Next
If Err.Number <> 0 Then
  Response.Write "Error Occurred creating Report Object: " & Err.Description
  Set Session("oRpt") = nothing
  Set Session("oApp") = nothing
  Session.Abandon
  Response.End
End If
%>

Similar Messages

  • Acrobat 9 - AcroExch.PDDoc - ActiveX component can't create object

    For opening a PDF file, I used following statement in VB6 :
    Set AcroFirstDoc = CreateObject("AcroExch.PDDoc")
    but it failed, with error "429- ActiveX component can't create object"
    I was searching for solution. I found one link -
    http://www.bigresource.com/Tracker/Track-vb-oY6Wgt9R/
    Is this true?
    What could be the problem? I need urgent help.
    Thanks

    If you want it 
    to continue working after you log off you have to change the COM+ properties 
    of the package to run as a specific user. 
    I recently installed the Evaluation edition of BizTalk Server, but am 
    finding 
    that I need to reinstall the software every time I log off(I am using the 
    same 
    logon throughout). 
    The problem I think is that BizTalk cannot start the XLANG Scheduler COM+ 
    component - If I try to start it manually (in Component Services) I get 
    "Catalog 
    Error: Error Code 80080005 - Server Execution Failed" 
    more info: http://www.programd.com/118_4e0323a255219dd1_1.htm
    If I try to run the XLANG Schedule created in the Tutorial, via 
    ExecuteTutorial.exe, the error message is "...ActiveX Component can't create 
    object. Error: 429 (0x1AD)" 
    BizTalk is unable to run any XLANG Schedule, I also have a Schedule setup 
    which 
    is activated via a File Receive Function. This fails also. 
    The System Log reports the following error every minute (at least!): 
    "The server{bla bla bla}did not register with DCOM within the required 
    timeout" 
    The only solution I have found is to reinstall & even this is not successful 
    every time. 
    Has anyone else seen this problem? Any suggestions? 

  • ActiveX component can't create object: 'MSSOAP.SoapClient30'

    Dear All,
         After updated the portal form 6.0 to 7.0 ,when I bit the web page entry ,the error:"ActiveX component 'scan't create object: 'MSSOAP.SoapClient30' " appear.But in version 6.0 ,it's fine.
    What could be the problem? How to resolve this.
    Regards,
    Richard Lee

    If you want it 
    to continue working after you log off you have to change the COM+ properties 
    of the package to run as a specific user. 
    I recently installed the Evaluation edition of BizTalk Server, but am 
    finding 
    that I need to reinstall the software every time I log off(I am using the 
    same 
    logon throughout). 
    The problem I think is that BizTalk cannot start the XLANG Scheduler COM+ 
    component - If I try to start it manually (in Component Services) I get 
    "Catalog 
    Error: Error Code 80080005 - Server Execution Failed" 
    more info: http://www.programd.com/118_4e0323a255219dd1_1.htm
    If I try to run the XLANG Schedule created in the Tutorial, via 
    ExecuteTutorial.exe, the error message is "...ActiveX Component can't create 
    object. Error: 429 (0x1AD)" 
    BizTalk is unable to run any XLANG Schedule, I also have a Schedule setup 
    which 
    is activated via a File Receive Function. This fails also. 
    The System Log reports the following error every minute (at least!): 
    "The server{bla bla bla}did not register with DCOM within the required 
    timeout" 
    The only solution I have found is to reinstall & even this is not successful 
    every time. 
    Has anyone else seen this problem? Any suggestions? 

  • Crystal Report Addon Error : ActiveX Component Can't Create Object

    Hello Experts,
    We are facing an problem when we start the Crystal Report Addon .The error message getting
    displayed is  "CR_Crypto ActiveX Component Can't Create Object".This issue is happening only on the
    server its working fine on the client. We had even unistalled and re-installed the addon in the server but
    still it throws the error when we start the addon.
    Please help us to resolve this issue
    Thanks,
    Vishwanath

    Dear Friend,
                 I had described the problem to our technical support team, and they replied as follows u2013
    They solved the Script related error by several stages.
    They checked the machine for any mal-ware existence by the tool provided by Microsoft (MS Mal-ware remover).
    Then they tried by installing the following patches from Microsoft u2013
    http://support.microsoft.com/kb/949140
    Windows Script 5.7 for Windows XP
    http://www.microsoft.com/downloads/details.aspx?familyid=887fce82-e3f5-4289-a5e3-6cbb818623aa&displaylang=en
    Windows Script 5.6 for Windows Server 2003
    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
    Windows Script 5.6 for Windows XP and Windows 2000
    The internal matter to this problem was about the following DLL and its version u2013
    C:\WINDOWS\system32
    vbscript.dll
    5.5.0.8820
    Desired
    5.6.0.8820
    Check, if the information helps you.

  • XL Reporter Run-time Error '429' ActiveX component can't create object

    Hi Everyone,
    When trying to install XL Reporter on a Windows 2003 Server SP2 machine getting the following Error:
    XL Reporter
    Run-time error '429':
    ActiveX component can't create object.
    Did anyone get this error? Please advise of any steps we can try to resolve.
    Kind Regards,
    Kafil

    Dear Friend,
                 I had described the problem to our technical support team, and they replied as follows u2013
    They solved the Script related error by several stages.
    They checked the machine for any mal-ware existence by the tool provided by Microsoft (MS Mal-ware remover).
    Then they tried by installing the following patches from Microsoft u2013
    http://support.microsoft.com/kb/949140
    Windows Script 5.7 for Windows XP
    http://www.microsoft.com/downloads/details.aspx?familyid=887fce82-e3f5-4289-a5e3-6cbb818623aa&displaylang=en
    Windows Script 5.6 for Windows Server 2003
    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
    Windows Script 5.6 for Windows XP and Windows 2000
    The internal matter to this problem was about the following DLL and its version u2013
    C:\WINDOWS\system32
    vbscript.dll
    5.5.0.8820
    Desired
    5.6.0.8820
    Check, if the information helps you.

  • Exchange Transport Error: ActiveX component can't create object

    Hi All
    I am trying to set up Exchange on portals however I seem to be having a problem.
    I have 1 * Exchange 2003 server and 1 * Portal server (with IIS and Outlook 2003 installed)
    When I do the Exchange test (data retrieval) I am getting an error in the log (see below)
    BEGIN 07/09/2005 09:03:54----
    URL: HTTP://saptest1:80/SAPExchange/Calendar.asp
    URL Parameters: Server=ohio.arconw.com&Alias=[email protected]&Action=READ&StartDate=200509070001&EndDate=200509071600&Email=[email protected]&Debug=true
    Reponse: <FAILURE><ERRORNUMBER>429</ERRORNUMBER><ERRORMESSAGE>ActiveX component can't create object</ERRORMESSAGE><CLASSNAME>Connection</CLASSNAME><METHODNAME>userLogon</METHODNAME><LINENUMBER>38</LINENUMBER><PARAMETERS>User = [email protected]
    Server = monster.arconw.com
    E-mail = [email protected]</PARAMETERS></FAILURE>
    END 07/09/2005 09:03:54----
    However on the clients this does not seem to be a problem, the test works ok!
    I have an issue in Collaboration (calendar) when I am getting an error 'An exception occurred while reading or writing from/to the IIS server'. I am hoping if I solve this portal issue the the collaboration issue will be fine!
    Any help would be great!

    Sorry wrong error, below is the correct one!
    BEGIN 07/09/2005 09:26:47----
    URL: HTTP://saptest1:80/SAPExchange/Calendar.asp
    URL Parameters: Server=monster.arconw.com&Alias=[email protected]&Action=READ&StartDate=200509070001&EndDate=200509071600&Email=[email protected]&Debug=true
    Reponse: <FAILURE><ERRORNUMBER>429</ERRORNUMBER><ERRORMESSAGE>ActiveX component can't create object</ERRORMESSAGE><CLASSNAME>Connection</CLASSNAME><METHODNAME>userLogon</METHODNAME><LINENUMBER>38</LINENUMBER><PARAMETERS>User = [email protected]
    Server = monster.arconw.com
    E-mail = [email protected]</PARAMETERS></FAILURE>
    END 07/09/2005 09:26:47----

  • SBO2004A: Runtime Error 429 ActiveX Component can't Create Object

    Hello,
    We have an Addon developed with VB6 that run without problems with SBO 6.5.
    We have upgraded to SBO2004A and I have referenced in the source code to the 2004 UI and DI. I debug mode (from IDE) we don't have problems, but when I try to execute the addon from a client, I get this error message:
    <b>Runtime Error 429 ActiveX Component can't Create Object</b>
    Thanks in advance
    Blas

    I'm using Installshield 10.5 to generate the setup file. It's much more easy and not requiered to install Framework 1.1 in each PC client before to install the Addon.
    You have to create and msi project, and write the Installscript to retrieve the install directory from parameter string passed by SAP.
    After install you must execute the AddOnInstallAPI.EndInstall to notify SAP:
    #include "ifx.h"
    prototype  LONG AddOnInstallAPI.EndInstall();  
    prototype  LONG AddOnInstallAPI.RestartNeeded();
    // OnFirstUIBefore
    // First Install UI Sequence - Before Move Data
    // The OnFirstUIBefore event is called by OnShowUI when the setup is
    // running in first install mode. By default this event displays UI allowing
    // the end user to specify installation parameters.
    // Note: This event will not be called automatically in a
    // program...endprogram style setup.
    function OnFirstUIBefore()
        number  nResult, nLevel, nSize, nSetupType;
        string  szTitle, szMsg, szOpt1, szOpt2, szLicenseFile;
        string  szName, szCompany, szTargetPath, szDir, szFeatures, szTargetdir;
        BOOL    bLicenseAccepted;
        LIST listID;
    begin     
        nSetupType = COMPLETE;       
        szDir = TARGETDIR;
        szName = "";
        szCompany = "";
        bLicenseAccepted = FALSE;
    // Beginning of UI Sequence
    Dlg_Start:
        nResult = 0;
    Dlg_SdWelcome:
        szTitle = "";
        szMsg = "";
        //{{IS_SCRIPT_TAG(Dlg_SdWelcome)
        nResult = SdWelcome( szTitle, szMsg );
        //}}IS_SCRIPT_TAG(Dlg_SdWelcome)
        if (nResult = BACK) goto Dlg_Start;
    Dlg_SdLicense2:
        szTitle = "";
        szOpt1 = "";
        szOpt2 = "";
        //{{IS_SCRIPT_TAG(License_File_Path)
        szLicenseFile = SUPPORTDIR ^ "License.rtf";
        //}}IS_SCRIPT_TAG(License_File_Path)
        //{{IS_SCRIPT_TAG(Dlg_SdLicense2)
       // nResult = SdLicense2Rtf( szTitle, szOpt1, szOpt2, szLicenseFile, bLicenseAccepted );
        //}}IS_SCRIPT_TAG(Dlg_SdLicense2)
        if (nResult = BACK) then
            goto Dlg_SdWelcome;
        else
            bLicenseAccepted = TRUE;
        endif;
    Dlg_SdRegisterUser:
        szMsg = "";
        szTitle = "";
        //{{IS_SCRIPT_TAG(Dlg_SdRegisterUser)     
       // nResult = SdRegisterUser( szTitle, szMsg, szName, szCompany );
        //}}IS_SCRIPT_TAG(Dlg_SdRegisterUser)
        if (nResult = BACK) goto Dlg_SdLicense2;
    Dlg_SetupType2:  
        szTitle = "";
        szMsg = "";
        //{{IS_SCRIPT_TAG(Dlg_SetupType2)     
       // nResult = SetupType2( szTitle, szMsg, "", nSetupType, 0 );
        //}}IS_SCRIPT_TAG(Dlg_SetupType2)
        if (nResult = BACK) then
            goto Dlg_SdRegisterUser;
        else
            nSetupType = nResult;
            if (nSetupType != CUSTOM) then
                szTargetPath = TARGETDIR;
                nSize = 0;
            endif;  
        endif;
    Dlg_SdAskDestPath2:
        if ((nResult = BACK) && (nSetupType != CUSTOM)) goto Dlg_SetupType2;
         szTitle = "";
        szMsg = "";
        if (nSetupType = CUSTOM) then
                    //{{IS_SCRIPT_TAG(Dlg_SdAskDestPath2)     
    //          nResult = SdAskDestPath2( szTitle, szMsg, szDir );
                    //}}IS_SCRIPT_TAG(Dlg_SdAskDestPath2)
            TARGETDIR = szDir;
        endif;
        if (nResult = BACK) goto Dlg_SetupType2;
    Dlg_SdFeatureTree:
        if ((nResult = BACK) && (nSetupType != CUSTOM)) goto Dlg_SdAskDestPath2;
        szTitle = "";
        szMsg = "";
        szTargetdir = TARGETDIR;
        szFeatures = "";
        nLevel = 2;
        if (nSetupType = CUSTOM) then
            //{{IS_SCRIPT_TAG(Dlg_SdFeatureTree)     
           // nResult = SdFeatureTree( szTitle, szMsg, szTargetdir, szFeatures, nLevel );
            //}}IS_SCRIPT_TAG(Dlg_SdFeatureTree)
            if (nResult = BACK) goto Dlg_SdAskDestPath2; 
        endif;
    Dlg_SQLServer:
        nResult = OnSQLServerInitialize( nResult );
        if( nResult = BACK ) goto Dlg_SdFeatureTree;
    Dlg_ObjDialogs:
        nResult = ShowObjWizardPages( nResult );
        if (nResult = BACK) goto Dlg_SQLServer;
    Dlg_SdStartCopy2:
        szTitle = "";
        szMsg = "";
        //{{IS_SCRIPT_TAG(Dlg_SdStartCopy2)     
        nResult = SdStartCopy2( szTitle, szMsg );     
        //}}IS_SCRIPT_TAG(Dlg_SdStartCopy2)
        if (nResult = BACK) goto Dlg_ObjDialogs;
        return 0;
    end;        
    // OnSetTARGETDIR
    // OnSetTARGETDIR is called directly by the framework to initialize
    // TARGETDIR to it's default value.
    // Note: This event is called for all setups.
    function OnSetTARGETDIR()
    number nId, nIgnore, nResult;
    string szId, szTARGETDIR; 
    string wCMDLINE;
    LIST listID;     
    begin     
        // In maintenance mode the value of TARGETDIR is read from the log file.
        if( MAINTENANCE ) then
            return ISERR_SUCCESS;
        endif;
        // Set TARGETDIR to script default.
        TARGETDIR = "<FOLDER_APPLICATIONS>
    <IFX_COMPANY_NAME>
    <IFX_PRODUCT_NAME>";
        if (CMDLINE != "") then 
           wCMDLINE = CMDLINE;   
           StrReplace (wCMDLINE, '"', '', 0);
           listID = ListCreate (STRINGLIST); 
           if (StrGetTokens (listID, wCMDLINE, "|") > 0) then
              MessageBox ("Parametros incorrectos.", SEVERE);
           else
              ListGetFirstString (listID, TARGETDIR);  
              //MessageBox (TARGETDIR, INFORMATION);
           endif;
           ListDestroy (listID); 
           return 0;
        endif;
        // Read TARGETDIR from the media.
        nResult = MediaGetData( MEDIA, MEDIA_FIELD_TARGETDIR, nIgnore, szTARGETDIR );
        // Use the TARGETDIR from the media if anything was read.
        if( nResult >= ISERR_SUCCESS && StrLengthChars( szTARGETDIR ) ) then
            TARGETDIR = szTARGETDIR;
        endif;
         // Customize the default TARGETDIR for multi-instance application.
         // TODO: If you want something different customize the code below.     
         if( MAINT_OPTION = MAINT_OPTION_MULTI_INSTANCE  && MULTI_INSTANCE_COUNT > 0) then
              // Start with the current multi-instance count plus one.
              nId = MULTI_INSTANCE_COUNT + 1;
              // Find a unique TARGETDIR.
              while( ExistsDir( TARGETDIR ) = EXISTS )
                   // Convert to string.
                   NumToStr( szId, nId );
                   // Update IFX_MULTI_INSTANCE_SUFFIX
                   IFX_MULTI_INSTANCE_SUFFIX = "_" + szId;
                   // Update TARGETDIR
                   TARGETDIR = TARGETDIR + IFX_MULTI_INSTANCE_SUFFIX;
                   // Update nId
                   nId = nId + 1;
              endwhile;
         endif;  
    end;
    // OnEnd
    // The OnEnd event is called at the end of the setup. This event is not
    // called if the setup is aborted.
    function OnEnd() 
    string  wCMDLINE;
    LIST    listID;     
    STRING  DLL_FILE;
    INT     nValue;  
    LONG    nRC;
    NUMBER  nResult;
    begin
    if (CMDLINE != "") then
           wCMDLINE = CMDLINE;   
           StrReplace (wCMDLINE, '"', '', 0); 
           listID = ListCreate (STRINGLIST); 
           if (StrGetTokens (listID, wCMDLINE, "|") > 0) then
              MessageBox ("Parametros incorrectos.", SEVERE);
           else
              ListGetFirstString (listID, DLL_FILE);
              ListGetNextString (listID, DLL_FILE);  
              // MessageBox (DLL_FILE, INFORMATION);
           endif; 
           ListDestroy (listID); 
           nResult = UseDLL (DLL_FILE);
           if (nResult != 0) then
              MessageBox ("No se ha podido cargar\nAddOnInstallAPI.dll", SEVERE);
              abort;
           endif;
           if AddOnInstallAPI.EndInstall() > 0 then
              MessageBox ("Error al ejecutar AddOnInstallAPI", SEVERE);
              abort;
           endif;
    endif;
    end;

  • Vbscript runtime error 429 activex component can't create object

    hi i am writing a VB Script where it runs a batch files
    but when the batch file is called from the script its giving error as 
    runtime error 429 activex component can't create object
    my script is as follows
    strcmd = "utility.bat"
    Set wshSystemEnv = wshshell.Environment("USER")
    wshshell.Run strcmd
    can some one help me with this ?
    Thank you

    Sorry, your script makes no sense. You never create the object wshshell
    and you never use the object wshSystemEnv. Start the code with
    set WshShell = WScript.CreateObject("Wscript.Shell")

  • Runtime Error '429': ActiveX component can't create object

    Hi,
    I am using below code in vb6 application but this is throwing an "Runtime Error '429': ActiveX component can't create object" error.
    CreateObject("OracleInProcServer.XoraSession")
    is that due to any dll or reference error ?
    I have an Oracle client installed on my PC
    please share your solution
    Thanks in advance

    Are either of those 64 bit? If so, your problem is likely related to that.
    A 64 bit Oracle client doesn't support OO4O at all, so this code will never work with that client. You need to use a 32 bit one.
    If you are using a 32 bit client but on a 64 bit OS, I've found the 11.2.03 installer doesn't properly register the files. Manually registering OraOleDB11.dll may fix it, though we had to do some other registry stuff and it got very ugly. Backing up to a slightly older client should also fix the problem.

  • Error: ActiveX Component Can't Create Object

    When I run the ADI on Windows Server 2003R2, it show following error when startup:
    Error connecting to Language Object, defaulting to US English.
    Error: ActiveX Component Can't Create Object
    Anyone know how to fix it?
    Many thanks in advance.
    Regards,
    Chris Lee

    Hi,
    You need to enable Trust access to Visual Basic project.
    Tools->Macro->Security->Trusted Publisher
    Enable Trust access to Visual Basic project there.
    Cheers
    Dinesh

  • FDM-ERPI import error: ActiveX component can't create object..

    Hi,
    I am using FDM v 11.1.2.1.501 and ERPi v 11.1.2.2 (which is actually v 11.1.2.1.501 following the patch set update to .501, it displays as 11.1.2.2, a known display error). The ODI version for ERPI is 11.1.1.5. The dataload rule executes successfully in ERPI within workspace, but in FDM, I get the following error:
    Description...................................... ActiveX component can't create object: 'fdmERPI.clsGetFinData' At Line: 22
    Can someone let me know why this happens ?
    Rgds,
    George

    The issue is resolved. When upgrading FDM and ERPI to 11.1.2.1.501, the source adapter to be used should not be ERPI-FIN -C which comes together with 11.1.2.1 mediapack, but the adapter must be ERPI-FIN-D which come with the FDM patch set 501. The issue got resolved once ERPI-FIN-C adapter was deleted and replaced by ERPI-FIN-D adapter.

  • MDT 2013: ZTI ERROR - Unhandled error returned by ZTIWindowsUpdate: ActiveX component can't create object (429)

    Hi,
    I try to capture a custom image but at the end of the process, I get the following error (see attached image):
    ZTI ERROR - Unhandled error returned by ZTIWindowsUpdate: ActiveX component can't create object (429)
    Could someone help me to solve this please?

    Hi everybody,
    I'm getting this message time to time and I don't know why. I have the ZTIWindowsUpdate.log who says:
    <![LOG[Ready to Opt-In to Microsoft Update: WUA Version: 7.6.7601.18804]LOG]!><time="15:35:07.000+000" date="04-14-2015" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
    <![LOG[ZTI ERROR - Unhandled error returned by ZTIWindowsUpdate: ActiveX component can't create object (429)]LOG]!><time="15:35:37.000+000" date="04-14-2015" component="ZTIWindowsUpdate" context="" type="3"
    thread="" file="ZTIWindowsUpdate">
    <![LOG[Event 41002 sent: ZTI ERROR - Unhandled error returned by ZTIWindowsUpdate: ActiveX component can't create object (429)]LOG]!><time="15:35:38.000+000" date="04-14-2015" component="ZTIWindowsUpdate" context=""
    type="1" thread="" file="ZTIWindowsUpdate">
    Do we have an explanation for this issue? Or, do you know how to fix that?

  • Run-time error '429': ActiveX component can't create object

    HI,
    I am having the following error in my Excel VBA Run-time error '429': ActiveX component can't create object  when running the following code:
    Dim objDistiller As New ACRODISTXLib.PdfDistiller6
    objDistiller.FileToPDF2 filePath & ".PS", filePath & ".PDF", "T:\Templates\PDFSettings\Standard.joboptions", 1
    This code has been working for years on all our systems, but due to recent security issues our administrator changed all user accounts to not have local administrator rights and now when we run this code we get the above error message.
    I have had a look at DComcnfg.exe to try and get it to work by setting the default property permissions to allow access by Everyone but I am still getting the error.
    Any help would be greatly appreciated.
    Regards.
    Shane Chapman.

    Hi Shane,
    Here is another way to create PDF with Macro using another API than Distiller. This API is faster too.
    Probably this post is not of interest anymore but here is how I have done it:
    1. Download PDFCreator: http://sourceforge.net/projects/pdfcreator/
    2. Use the following Macro:
    Option Explicit
    Sub printPDFmacro()
    'Author : Ken Puls (www.excelguru.ca)
    'Macro Purpose: Print to PDF file using PDFCreator
    ' (Download from http://sourceforge.net/projects/pdfcreator/)
    ' Designed for early bind, set reference to PDFCreator
    Dim pdfjob As PDFCreator.clsPDFCreator
    Dim sPDFName As String
    Dim sPDFPath As String
    '/// Change the output file name here! ///
    sPDFName = "Facture-" & nclient2 & " le " & Format(Date, "yyyy-mm-dd") & ".pdf"
    sPDFPath = "E:\Partenaire Scolaire\Comptabilite\Factures"
    PDFFileName2 = sPDFPath & "\" & sPDFName
    Set pdfjob = New PDFCreator.clsPDFCreator
    With pdfjob
    If .cStart("/NoProcessingAtStartup") = False Then
    MsgBox "Can't initialize PDFCreator.", vbCritical + _
    vbOKOnly, "PrtPDFCreator"
    Exit Sub
    End If
    .cOption("UseAutosave") = 1
    .cOption("UseAutosaveDirectory") = 1
    .cOption("AutosaveDirectory") = sPDFPath
    .cOption("AutosaveFilename") = sPDFName
    .cOption("AutosaveFormat") = 0 ' 0 = PDF
    .cClearCache
    End With
    'Print the document to PDF
    ActiveSheet.PrintOut copies:=1, ActivePrinter:="PDFCreator"
    'Wait until the print job has entered the print queue
    Do Until pdfjob.cCountOfPrintjobs = 1
    DoEvents
    Loop
    pdfjob.cPrinterStop = False
    'Wait until PDF creator is finished then release the objects
    Do Until pdfjob.cCountOfPrintjobs = 0
    DoEvents
    Loop
    pdfjob.cClose
    Set pdfjob = Nothing
    end sub
    Have any questions, just have to poke me.
    Michael

  • Error: ActiveX component can't create object: 'fdmFM11xG5C.clsFMAdapter'

    Hi,
    we recently configured HFM and FDM .. while testing hfm adapter to lookup target FM account from FDM web.. we get the error Error: ActiveX component can't create object: 'fdmFM11xG5C.clsFMAdapter'
    At Line: 45
    The adapter is running under service account. we are using 11.1.1.3
    Can some one please advise
    thanks

    Hello Vladislav,
    Your issue would not have anything to do at this point in time of having the HFM Client installed/not installed. While this is required and probably would cause an error at a later stage, it is not the root cause of the issue you are having now.
    It appears that either the Adapter is not installed correctly or not completely configured.
    Please follow the documentation posted with the adapter and perform a proper installation/configuration.
    Thank you,

  • CreateObject - ActiveX component can't create object

    hi
    I have installed Crystal Reports 2008 Version 12.0.0.683 and Crystal Reports 2008 Runtime (CRRuntime_12_0_mlb.msi)!
    I create a VBS Script test.vbs with the following content:
    ' Export to PDF with VB-Script:
    Dim Application, Report
    Set Application = CreateObject("CrystalRuntime.Application.12")
    Set Report = Application.OpenReport("C:\Bericht.rpt")
    Report.ExportOptions.FormatType = 31 ' crEFTPortableDocFormat
    Report.ExportOptions.DestinationType = 1 ' crEDTDiskFile
    Report.ExportOptions.PDFExportAllPages = True
    Report.ExportOptions.DiskFileName = "C:\Bericht.pdf"
    Report.Export (False)
    The error message displays:
    ActiveX component can't create object: 'CrystalRuntime.Application.12''
    Whats wrong with Crystal Reports?

    Yes and No....
    You cannot use VBS to run Crystal Reports as you could in earlier versions. You have to write your app in Visuak Studio .NET and use Crystal Reports .NET Assemblies.
    See these sample app's for more info:
    Root Page
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsHome
    Enterprise Samples (including managed and unmanaged ras)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
    Non-Enterprise Samples
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Exporting Samples (RAS)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
    Thank you
    Don

Maybe you are looking for

  • Mail app flashes open but closes immediately

    Every time I try to open my Mail app it flashes open but then closes right away. When I go into Settings > Mail it says "ACCOUNTS ARE CURRENTLY SYNCING." -- but I don't show anywhere that it is syncing to my iPad. Any suggestions??

  • What is the Flashback Virus? What does it do?

    What does it do to Macs? I know it takes the shape of a update, but does it like reset your computer?

  • How do i get input from user?

    For example if i wanted to ask "Whats your favorite number" and then get the input from the user and assign it to a variable how would i go about doing that? Any help would appreciated

  • Error during "Save as XML" - SVG Image

    Hi, I am trying to save the book as XML (File à Save as XML), but its showing the attached error (FMError.PNG). FrameMaker created a error log and am pasting its header contents below. === Header Begin === Internal Error: 9004, 6920492, 9676798, 0 Fr

  • Building apache 2.2.25 for OS X 10.6, how to compile apr_stat$INODE64?

    In order to maintain PCI compliance, I've been trying to upgrade the version of Apache on my 10.6 Xserve from 2.2.22 to 2.2.25. So far, nothing that I've tried has worked. I've gone down an number of blind alleys, but after numerious ./configure chan