Essbase Excel Plugin Errors/Warnings

Our company is in the process of packaging software and we recently received the package for the Essbase Excel Plugin today and ran into errors while testing it out. My thought process is that the file permissions on the Hyperion Solutions folder are incorrect and the user does not have/read access to this folder. Would file permissions cause the following errors (seen below)?
Error #1
Opening a wallet (C:\Hyperion Solutions\Middleware\EPMSysttem11R1\products\ExcelAddin;\products\ExcelAddin\bin\wallet) failed (28759).
Error #2
SSL Initialization failed with error code [1040132].
Thank you in advance for your help!

Hi Layi,
ERROR: Warning(1040156) - SSL initialization failed with error code [1040132]. (Doc ID 1340766.1)
Hope the above document is helpful!
The content is:
Applies to:
Hyperion Essbase - Version 11.1.2.1.000 and later
Generic Windows
Symptoms
Receives the Warning message when tried running MaxL statement:
Warning(1040132) - Opening a wallet(D:\Oracle\Middleware\user_projects\eem2\EssbaseServer\essbaseserver\bin\wallet) failed(28759)
Warning(1040156) - SSL initialization failed with error code [1040132].
Cause
One Of the following Environment Variables is not set:
ARBORPATH
ESSBASEPATH
ORACLE_INSTANCE
ORACLE_HOME
Solution
Make sure the following Paths are set in the Environment Variables:
Example:
ORACLE_HOME=C:\Oracle\Middleware\ohs
ORACLE_INSTANCE=C:\Oracle\Middleware\user_projects\epmsystem1
ARBORPATH=C:\Oracle/Middleware/user_projects/epmsystem1/EssbaseServer/essbaseserver1
ESSBASEPATH=C:\Oracle/Middleware/EPMSystem11R1/products/Essbase/EssbaseServer
Where "C" Is your installation Path.
In order to remove the warning message:
Copy from $ORACLE_INSTANCE\config\Opmn\opmn\wallet directory along with the cwallet.sso to the ARBORPATH\bin directory.

Similar Messages

  • Essbase excel plugin error - "essbase uniquyfyforuser failed to get.."

    Hello Everyone,
    I have Hyperion and Essbase Fusion Edition installed in the same machine. Whenever I open a new instance of excel, I get the Hyperion (Smart View) addin, but I do not get the Essbase Plugin. Instead I get the following error message:
    "essbase uniquyfyforuser failed to get unique name size, code 1355"
    Any suggestion would be of great help.
    Thanks
    Sayantan

    Hi,
      Try this KBase 1357924 (See below), it would help and eliminate one of the possible causes.
    Symptom
    SAP Netweaver BEx variables don't show up in BusinessObjects Xcelsius application during refresh
    It is not possible to dynamically answer the query prompt differently
    error: Failed to get the document information
    Cause
    A WebIntelligence query on an SAP data source - passing prompt values through a LiveOffice connection in Xcelsius 2008 - does not return any output.
    The ability to query an SAP datasource from Xcelsius is currently not fully functionally supported.
    Resolution
    Additional support for BI variables will be delivered with Enhancement Request # ADAPT01178138:
    Direct access from BOBJ Xcelsius Designer to SAP BW BEx queries, via a new SAP Menu and connectivity to BI Consumer Services
    The new access type does not go via BusinessObjects Enterprise (so no QaaWS or LiveOffice involved), instead the SAP Embedded Analytics connector creates .SWF visualizations which are published back into NetWeaver to handle authentication & data fetch run.
    Prerequisite system requirements: 
    SAP NW BW 7.0.1 SP5 (Sept 2009)
    Xcelsius Designer 2008 SP2 (end July 2009)
    BEx Front-end GUI Patch 9.01 (available)
    Regards,
    Ken

  • Does Essbase Excel Plugin 11 work fine with Microsoft Office 2013

    Hi,
    My Company is planning to Upgrade to Microsoft Office 2013. Does Essbase Excel Plugin 11 work fine with Microsoft Office 2013?
    Thanks,
    Shashi

    Hi Shashi,
    Below content is taken from oracle certification matrix.Microsoft office 2010,2008 supports the lastest version of 11.1.2.3.More info check with the oracle certification matrix.
    Version Supported
    Vendor
    Certification Type
    Version
    Exceptions and Additional Information
    11.1.2.3
    Microsoft
    Office Productivity Suite
    Office 2007 (all SP levels included)
    Office 2010 (all SP levels included)
    1. MICROSOFT OFFICE IS REQUIRED FOR: Smart View and Offline Planning when used with Reporting and Analysis, Financial Management, and Planning. Microsoft Office is also required for Disclosure Management, FDM, Financial Reporting Client, Performance Management Architect File Generator, and Strategic Finance.
    2. Offline Planning and Excel must be installed on the same machine.
    3. Microsoft Office 2010 (32-bit Office on 32 or 64-bit operating systems, 64-bit Office on 64-bit operating systems)
    4. EXCEPTION:  Disclosure Management has installation prerequisites. For Office 2007. See http://support.microsoft.com/kb/970942.
    5. EXCEPTION: FDM server only supports the 32 bit version of Office.

  • The HTTP Request is unauthorized with client authentication scheme negotiate - MDS Excel Plugin error

    Hi,
    Some users in my company are experiencing a strange issue when connecting to our MDS server using the MDS Excel plugin. They receive the error message:
    "The HTTP Request is unauthorized with client authentication scheme negotiate. The authentication header received from the server was "NTLM,BASIC real="DOMAIN NAME IWA"
    They are receiving this error when first trying to connect. For some reason they only receive this error when connected to the work network via the VPN. They don't receive this error from within our network.
    Does anyone know what might be causing this issue and how to resolve?
    Many Thanks,
    Phil

    Try the following links and see if it helps:
    https://support.microsoft.com/en-us/kb/896861/
    https://social.technet.microsoft.com/Forums/projectserver/en-US/912c7179-8858-4c48-a71d-d9a21ff10a1b/the-http-request-is-unauthorized-with-client-authentication-scheme-ntlm-the-authentication?forum=project2010custprog
    -Nithesh Shetty Software Engineer, C & E -> IMML -> MDS, Microsoft.

  • Essbase excel add-on error after installing IR Studio.

    Hyperion software compatibility issues?
    Getting Essbase excel add-on error ("Error 1040007 Cannot find message database") after installing Hyperion Interactive Reporting Studio 9.3.1. We are able to consistently reproduce the error on several workstations.
    Any ideas?
    Thx,
    Ernesto

    Try installing IR first, followed by the Essbase client. I think that worked for us. I can't recall what our path looked like in that scenario I just remember if we did it in that order things worked fine. I think Support said there is no certain "install order" that truly fixes the problem, that you have to manipluate the path by hand. But I'm pretty sure installing IR first worked in our enviro.
    I do not know of a way to install IR Studio without the Essbase components, my understanding from Support is that they changed the product install thinking it was better this way, they learned after the fact it actually causes the problem you experienced. I would imagine they've changed/fixed the install behavior again in post 9.3.1 releases, but haven't heard.
    -Karen

  • Essbase excel retrieve  warning

    Hi,
    we are on version 7.15, Whenever I am trying to pull data in excel ..intially it is displaying warning saying "your license will expire on 12\31\2011", how to avoid this warning message..is there anything we can do ..to avoid warnings and display only errors.
    Thank you for your time...

    The message will pop up for administrators Only. There are a couple of things you can do.
    1. In the Essbase excel client on the global tab change warnings to errors.
    2. Upgrade to at least 7.165, it got rid of the license file (better yet, usgrade to 11X
    3. Contact support for a new master license file.
    4. Go here http://licensecodes.oracle.com/hyperion.html It appears they updated the file to expire on 12/31/2013

  • Essbase add-in error:You do not have sufficient access to perform a lock

    Hi,
    I have a user who is doing a retrieve in Excel and is getting this error on v.9.3.1:
    Essbase Error: "You do not have sufficient access to perform a lock and send on this database".
    The user is just doing a retrieve, no lock and send.
    I asked him to disable 'update mode' in add-in options (Mode tab) on each of his sheets.
    But when he open a new sheet/document Excel 2007, the 'update mode' is enabled by default.
    Where can we change that ? Is there a command to put in a .ini file?
    I check all the threads but there no answer on how to change this default setting.
    Thanks for your help,
    Marie.

    Hi Raja,
    Check this out../
    Weird problem regarding Essbase Excel plug in
    It might help
    Regards
    Amarnath

  • Slow processing and getting opening errors/warnings

    I've modified the PDF Binder sample to get a plugin that would open PDF's and Tif files, and save them as PDF/A-1b (code below).
    It's working. The problem: it's processing too slow (compared with the Actions batch processing)... and I've been getting warnings/and errors about "The imput file is corrupt or of an unknown/unsupported type" type. This is stopping my batch process until I click OK, and the it continues.
    I am trying to process a few thousand of tif files now. I tried first to use the Batch processing capability built in the Acrobat X... an it works, but only with the first 255 documents in the folder... then gives an "insufficient disk space" message for the rest of the files in the directory.
    So, 2 questions: Does anyone knows why it is so slow processing the tiff files and... how I can make my code "silent" so it does not wait for the OK after the message??
    Thanks in advance.
    The code:
    ADOBE SYSTEMS INCORPORATED
    Copyright (C) 1998-2006 Adobe Systems Incorporated
    All rights reserved.
    NOTICE: Adobe permits you to use, modify, and distribute this file
    in accordance with the terms of the Adobe license agreement
    accompanying it. If you have received this file from a source other
    than Adobe, then your use, modification, or distribution of it
    requires the prior written permission of Adobe.
      \file PDFBinder.cpp
    - Implements a method to convert multiple files into PDFs and bind the PDFs
    into one PDF file. The code shows how to use AVConversionToPDFHandler to
    convert files to PDF and how to use PDDocInsertPages() to combind PDF files.
    // Headers.
    #include <stdio.h>
    #include <ctype.h>
    #ifndef MAC_PLATFORM
    #include <direct.h>
    #include "PIHeaders.h"
    #endif
    // Defines ----------
    // Define this flag to show AVConversionToPDFEnumHandler info. in log file.
    #define SHOW_TOPDF_HANDLER_TYPES   
    // define this flag to use file type filter 
    #define USE_FILE_FILTER   
        Constants/Declarations
    // Message display control.  Ture: display
    ASBool bEcho = true;
    // File location. User can change the following filenames.
    #if WIN_PLATFORM
        const char* STRING_PDFBinderFolder = "C:\\Fairfax\\Adobe\\in";
        const char* STRING_PDFOutputFolder = "C:\\Fairfax\\Adobe\\PDFA";
        const char* FOLDERSYMBOL="\\";
    #endif
    #if MAC_PLATFORM
        const char* STRING_PDFBinderFolder = "/PDFBinder";
        const char* FOLDERSYMBOL="/";
    #endif
    char* OutputPdfFileName = "PDFBinderOutput.pdf";
    char* LogFileName = "PDFProcessLog.txt";
    static ASInt32 gNumToPDFExt;
    static ASInt32 gNumFromPDFExt;
    static AVConversionFromPDFHandler RightHandler;
    const int MAX_FILENAME_LENGTH = 256;
    char sLogFileName[MAX_FILENAME_LENGTH];
    // Filter -----------
    // Filter is a list of file types which can be converted to PDF in this program.
    // Use a filter may fit user's specific needs and ensure a smooth automation process.
    // Of course, the user can turn off the filter in two ways:
    //   (1) gPDFBinderFileFilter = "";
    //   (2) comment out //USE_FILE_FILTER 
    // The filter should be consistent with the Acrobat viewer's menu capability:
    //   Create PDF from multiple files ...
    // Here we put the types which have been tested, but user can expand it.
    const char* gPDFBinderFileFilter = "pdf,tif,tiff,PDF,TIF,TIFF";
    const int MAX_STRING_LENGTH = 2048;
    AVConversionToPDFHandler gHandler;
    // functions in this file.
    int    ConvertAndInsertFileToPDF(ASPathName aspItem, char* aFileName, PDDoc  PDFfile);
    void BindingFileToPDF(ASPathName aPathName, char* aFilename, ASFileSysItemPropsRec nFileAttrb, PDDoc targetPDdDoc, ASPathName outputPathName, int *ipTotal, int *ipConverted);
    ASBool PassPDFBinderFileFilter(char* filename);
    int    ConvertAndSavePDFInTargetFolder(ASPathName aPathName, char* aFileName, PDDoc PDFfile, ASPathName outputPathName);
    char* NewFileName(char *& aFileName);
    // callbacks
    ACCB1 ASBool ACCB2 MyAVConversionToPDFEnumProc(AVConversionToPDFHandler handler, AVConversionEnumProcData data);
    ACCB1 ASBool ACCB2 AVConversionToPDFEnumFindHandler(AVConversionToPDFHandler handler, AVConversionEnumProcData data);
    static ACCB1 ASBool ACCB2 myAVConversionFromPDFEnumProc(AVConversionFromPDFHandler handler, AVConversionEnumProcData data);
        Implementation
    /**    This sample implements a method to convert multiple files into PDF
      and bind the PDFs into one PDF file .
        This sample shows developers how to grammatically implement To-PDF file
      converson functionality.  Basically, the code uses AVConversionToPDFHandler
      to convert files to PDF and PDDocInsertPages()to combine PDF files.
      This plug-in is designed to run from a menu item, and by setting bEcho = false
      it may be run without any graphics user interface on the screen. Therefore, it 
      can be executed from other programs such as C IAC, VB IAC, and JavaScript
      to meet enterprise workflow needs.
        How to run it :
        - This sample adds a menu item "PDF Binder" under the Acrobat SDK submenu. Two ways to
        execute it: 1) click the menu item to run the program using a fixed file location
        hard coded; 2) press the shift key and click the menu item to choose a folder where
        files to be converted are located.
        - Without folder selection, this original code is to convert and bind files in a
        directory    C\test\PDFBinder for Win, or a folder   MacHD:test:PDFBinder for Mac.
        You can copy the test files in the project's testfiles folder to the appropriate location 
        for testing. You may locate files to be converted in another directory/folder, and
        specify the location in the string variable PDFBinderFolder in the code.
        - When you have the files to be converted ready in the specified location,
        run Acrobat 6 menu Advanced->AcrobatSDK->PDF Binder to start the operation.  There are
        echo messages informing you of the operation start and end, but you can change and
        rebuild the code to turn off the display on screen.
        - An output file PDFBinderOutput.pdf in the same location is created
        when the program succeeds. A text log file  PDFBinderLog.txt in the same
        location records the process and results.
        -  You can set bEch = false in the code to turn off any display on the screen.
        This is necessary when you  call the menu function from within other programs
        of C IAC, VB IAC, JavaScript. 
        -  An optional file filter is used to pre-process the files. The filter only allows
        the files with predefined types to be processed. You can change the file type list
        as you wish. Using a filter may ensure a smooth automation process, since you can put
        only well-tested file types in the filter. To turn off the filter, you can set
        gPDFBinderFileFilter = "" or not to define USE_FILE_FILTER 
        - Note this is a sample only, developers need to make further improvement for
        their actual use. For example, you can set up a list of files to use the method for
        the conversion and binding. And you can add code to handle special file types.
          @see AVConversionConvertToPDFWithHandler
        @see AVConversionEnumToPDFConverters
        @see ASFileSysDestroyFolderIterator
        @see PDDocOpen
        @see PDDocClose
        @see PDDocInsertPages
        @see PDDocCreatePage
        @see PDDocDeletePages
        @see PDPageRelease
        @see ASFileSysCreatePathName
        @see ASFileSysFirstFolderItem
        @see ASFileSysNextFolderItem
        @see ASFileSysGetNameFromPath
        @see ASFileSysReleasePath
    ACCB1 void ACCB2 PDFBinderCommand(void*)
        // if the menu item clicked with Shift key pressed down, go to interactive mode.
        // let the user to choose a folder and process all the file in the folder.
        ASText dispText = ASTextNew();
        char PDFBinderFolder[MAX_STRING_LENGTH];
        ASBool shiftKeyIsDown = ((AVSysGetModifiers() & AV_SHIFT) != 0);
        if(shiftKeyIsDown) {
            AVOpenSaveDialogParamsRec dialogParams;
            // Configure the dialog box parameters.
            memset (&dialogParams, 0, sizeof (AVOpenSaveDialogParamsRec));
            dialogParams.size = sizeof(AVOpenSaveDialogParamsRec);
            dialogParams.windowTitle = ASTextFromScriptText("Choose folder with files to bind",kASRomanScript);
            dialogParams.flags |= kAVOpenSaveAllowForeignFileSystems;
            dialogParams.initialFileSys = ASGetDefaultUnicodeFileSys();
            ASPathName thePath;
            ASFileSys fileSys;
            AVAppBeginModal(NULL);
            if(ASBoolToBool(AVAppChooseFolderDialog(&dialogParams, &fileSys, &thePath)) != true){
                AVAppEndModal();
                //AVAlertNote("Failed to select the folder");
                return;
            AVAppEndModal();
    #ifdef WIN_PLATFORM       
            ASFileSysDisplayASTextFromPath(ASGetDefaultUnicodeFileSys(), thePath, dispText);
            ASHostEncoding bestEnc = ASTextGetBestEncoding(dispText, (ASHostEncoding)PDGetHostEncoding());
            strncpy(PDFBinderFolder, ASTextGetEncoded(dispText, bestEnc), MAX_STRING_LENGTH - 1);
    #else       
            ASPlatformPath aspPath;
            ASFileSysAcquirePlatformPath(fileSys, thePath, ASAtomFromString("POSIXPath"), &aspPath);
            strncpy(PDFBinderFolder, (char *)ASPlatformPathGetPOSIXPathPtr(aspPath), MAX_STRING_LENGTH - 1);
            ASFileSysReleasePlatformPath(fileSys, aspPath);
            // remove extra path separator
            char e = PDFBinderFolder[strlen(PDFBinderFolder)-1];
            if(e == ':' || e == '/')
                PDFBinderFolder[strlen(PDFBinderFolder)-1]='\0';
            dispText = ASTextFromScriptText(PDFBinderFolder, kASEUnicodeScript);
    #endif
            ASFileSysReleasePath(fileSys, thePath);
        // Otherwise, the hard coded file path will be used.
        else {
            strcpy(PDFBinderFolder, STRING_PDFBinderFolder);
            dispText = ASTextFromScriptText(PDFBinderFolder, kASRomanScript);
        // instruction message
        char strMsg[MAX_STRING_LENGTH] = "";
        sprintf(strMsg, "This function will convert and process Tiff and PDF files in the selected directory. ");
        strcat(strMsg, " You need to copy your files in C:\\Fairfax\\Adobe\\in directory." );
        strcat(strMsg, " Files will be processed into C:\\Fairfax\\Adobe\\PDFA directory." );
        strcat(strMsg, " If you are ready, click OK to continue, or click Cancel to quit. " );
        strcat(strMsg, " \nNote you can press down Shift key and click the menu item to have a folder selection. " );
        strcat(strMsg, " \nNote you can turn off the echo message by setting bEcho = false and rebuild the code. " );
        if(ASBoolToBool(bEcho)==true){
            ASInt32 choice = AVAlert(ALERT_CAUTION, strMsg, "OK", "Cancel", NULL, true);
            if(choice==2) {
                return;
        // create a new target pdf file with one empty page
        PDDoc TargetPDF = PDDocCreate();
        ASFixedRect mediaBox = { fixedZero, ASInt32ToFixed(792), ASInt32ToFixed(612), fixedZero };
        PDPage emptyPage = PDDocCreatePage (TargetPDF, PDBeforeFirstPage, mediaBox);
        PDPageRelease (emptyPage);
        //     get available headlers and set our file filter
        char ValidExt[MAX_STRING_LENGTH];
        memset(ValidExt, 0, MAX_STRING_LENGTH);
    #ifdef SHOW_TOPDF_HANDLER_TYPES   
        // enumerate AVConversioToPDF handlers to get all available file
        // types which can be converted to PDF.
        AVConversionEnumToPDFConverters(MyAVConversionToPDFEnumProc, (AVConversionEnumProcData) ValidExt);
        //AVAlertNote("Converters Defined");
        //AVAlertNote(ValidExt);
        //AVAlertNote(gPDFBinderFileFilter);
    #endif
    #ifdef USE_FILE_FILTER    
        // set File filter
        strcpy(ValidExt, gPDFBinderFileFilter);
        //AVAlertNote(ValidExt);
    #endif
        // process all files in the directory
        int iNumFiles = 0;
        int iNumFilesConverted = 0;
        char* Done = "Converted";
        char* NotDone = " - ";
        char fileName[MAX_FILENAME_LENGTH+1];
        ASFileSysItemPropsRec props;
        ASFolderIterator iter;
        ASPathName aspItem = NULL;
        memset(&props, 0, sizeof(props));
        props.size = sizeof(props);
        //AVAlertNote("Props Defined");
        ASPathName theFolder = NULL;
        ASFileSys fileSys = NULL;
        DURING
    #ifdef WIN_PLATFORM   
        fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("ASTextPath"), dispText);
        theFolder = ASFileSysCreatePathName (fileSys, ASAtomFromString("ASTextPath"), dispText, 0);
        //AVAlertNote("FileSys and Folder Defined");
    #else
        fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("POSIXPath"), PDFBinderFolder);
        theFolder = ASFileSysCreatePathName (fileSys,
                                ASAtomFromString("POSIXPath"), PDFBinderFolder, 0);
    #endif
        if (theFolder==NULL) {
            //AVAlertNote("Fail to create ASPathName for the selected folder.");
            E_RTRN_VOID
        // Find first file in current directory
        if((iter = ASFileSysFirstFolderItem(fileSys, theFolder, &props, &aspItem))==FALSE) {
            //AVAlertNote("This is either an invalid folder or the folder contains no files.");
            E_RTRN_VOID
        ASFileSysReleasePath(fileSys, theFolder);
        //AVAlertNote("Folder Released");
        // get filename only
        if(ASFileSysGetNameFromPath(fileSys, aspItem, fileName, sizeof(fileName))) {
            E_RTRN_VOID
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(aspItem!=NULL) ASFileSysReleasePath(fileSys, aspItem);
            if(theFolder!=NULL) ASFileSysReleasePath(fileSys, theFolder);
            // display an error message.
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote (errorMsg);
            return;
        END_HANDLER
        //AVAlertNote(fileName);
        // go to binding if it's a valid type of file
        if(props.type == kASFileSysFile && PassPDFBinderFileFilter(fileName)) {
            char outFileName[] = "";
            //strcat(outFileName, STRING_PDFOutputFolder);
            //strcat(outFileName, FOLDERSYMBOL);
            //strcat(outFileName, fileName);
            strcat(outFileName, STRING_PDFOutputFolder);
            strcat(outFileName, FOLDERSYMBOL);
            strcat(outFileName, fileName);
            //AVAlertNote(outFileName);
            ASPathName outputFileName = ASFileSysCreatePathName (ASGetDefaultFileSys(), ASAtomFromString("Cstring"), outFileName, 0);
            BindingFileToPDF(aspItem, fileName, props, TargetPDF, outputFileName ,&iNumFiles, &iNumFilesConverted);
            //AVAlertNote("File Processed");
        ASFileSysReleasePath(fileSys, aspItem);
        // process all other files 
        while(ASFileSysNextFolderItem(fileSys, iter, &props, &aspItem)) {
            // get filename only
            if(ASFileSysGetNameFromPath(fileSys, aspItem, fileName, sizeof(fileName))) {
                return;
            // go to binding if it's a valid type of file
            if(props.type == kASFileSysFile && PassPDFBinderFileFilter(fileName))  {
                char outFileName[] = "";
                //strcat(outFileName, STRING_PDFOutputFolder);
                //strcat(outFileName, FOLDERSYMBOL);
                //strcat(outFileName, fileName);
                strcat(outFileName, STRING_PDFOutputFolder);
                strcat(outFileName, FOLDERSYMBOL);
                strcat(outFileName, fileName);
                //AVAlertNote(outFileName);
                ASPathName outputFileName = ASFileSysCreatePathName (ASGetDefaultFileSys(), ASAtomFromString("Cstring"), outFileName, 0);
                BindingFileToPDF(aspItem, fileName, props, TargetPDF, outputFileName, &iNumFiles, &iNumFilesConverted);
                //AVAlertNote("File Processed");
            ASFileSysReleasePath(fileSys, aspItem);
        ASPathName pdfPathName = NULL;
        DURING
        // close the findfile
        ASFileSysDestroyFolderIterator(fileSys, iter);
        // save and close the output pdf file
        // create path
        ASText pathText = ASTextNew();
        ASTextCatMany(
            pathText,
            dispText,
            ASTextFromScriptText(FOLDERSYMBOL, kASRomanScript),
            ASTextFromScriptText(OutputPdfFileName, kASRomanScript),
            NULL);
    #ifdef WIN_PLATFORM
        ASFileSys fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("ASTextPath"), pathText);
        pdfPathName = ASFileSysCreatePathName (fileSys,
                                ASAtomFromString("ASTextPath"), pathText, 0);
    #else
        char path[MAX_STRING_LENGTH];
        strncpy(path, ASTextGetEncoded(pathText,
            ASTextGetBestEncoding(pathText, (ASHostEncoding)PDGetHostEncoding())), MAX_STRING_LENGTH - 1);
        ASFileSys fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("POSIXPath"), path);
        pdfPathName = ASFileSysCreatePathName (fileSys,
                                ASAtomFromString("POSIXPath"), path, 0);   
    #endif
        if(pdfPathName==NULL) {
            E_RTRN_VOID
        // delete the empty page
        if(PDDocGetNumPages(TargetPDF)>1) {
            PDDocDeletePages (TargetPDF, 0,0,NULL, NULL);
        // save
        //PDDocSave (TargetPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized,
        //            pdfPathName, ASGetDefaultUnicodeFileSys(),    NULL, NULL);
        PDDocClose (TargetPDF);
        //ASFileSysReleasePath(fileSys, pdfPathName);
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(pdfPathName!=NULL) ASFileSysReleasePath(fileSys, pdfPathName);
            // display an error message.
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote (errorMsg);
            return;
        END_HANDLER
        // use this line to show the massage on screen if you need
        //if(ASBoolToBool(bEcho)==true) {
        AVAlertNote ("Folder Completed. PDF/A Output files generated.");
        return;
    /* ConvertAndInsertFileToPDF
    /** Internal function \n
    ** Convert a file to PDF, then insert it to target PDF file.
    ** @param aFileName IN  char string, filename.
    ** @param PDFfile IN/OUT PDDoc of the target PDF file.
    ** @return 0 if OK, 1 if failed.
    int    ConvertAndInsertFileToPDF(ASPathName aPathName, char* aFileName, PDDoc PDFfile)
        PDDoc tempPDF;
        char* Ext;
        DURING
            // get file extention
            Ext = strrchr(aFileName,'.');
            if(Ext) {
                Ext++;
            else {
                E_RETURN (1);
            // if the file is PDF, open PDDoc
            if(strcmp(Ext,"PDF")==0 || strcmp(Ext,"pdf")==0) {
                tempPDF = PDDocOpen (aPathName, ASGetDefaultFileSys(), NULL, true);
                if(tempPDF==NULL) {
                    PDDocClose(tempPDF);
                    E_RETURN (1);
            // else convert it to PDF
            else
                // let it automatically find right handler for the file and do the job.
                AVConversionStatus stat = AVConversionConvertToPDF
                    (kAVConversionAsyncOkay, //kAVConversionNoFlags
                      aPathName, ASGetDefaultFileSys(), &tempPDF, NULL);
                // check if successful
                if(stat != kAVConversionSuccess) {
                    //AVAlertNote("Cannot convert the file.");
                    E_RETURN (1);
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            // display an error message.
            if(ASBoolToBool(bEcho) == true) {
                AVAlertNote (errorMsg);
            return 1;
        END_HANDLER
        // insert new PDF into target PDF
        DURING
            // insert all pages of new pdfc to TargetPDFfile.
            PDDocInsertPages(PDFfile, PDLastPage, tempPDF, 0,
                            PDAllPages, PDInsertAll, NULL, NULL, NULL, NULL);
            PDDocClose(tempPDF);
        HANDLER
             char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote(errorMsg);
        END_HANDLER
            if(strcmp(Ext,"doc")==0) {
                char fname[40];
                sprintf(fname,"%s.pdf",aFileName);
                remove(fname);
            return 0;
    /* MyAVConversionToPDFEnumProc
    /** Internal callback function \n
    ** called for every AVConversionToPDFHandler.
    ** get the valid type (file extention) for the conversion. 
    ** @return true.
    ACCB1 ASBool ACCB2 MyAVConversionToPDFEnumProc(AVConversionToPDFHandler handler,
                                                 AVConversionEnumProcData data)
        ASUns16 numFileExt = handler->convFilter.numFileDescs;
        for (int i = 0; i < numFileExt; i++) {
            char* ext = handler->convFilter.fileDescs[i].extension;
            if(strlen(ext)>0) {
                strcat((char*) data, ext);
                strcat((char*) data, ",");
        return true;
    /* this is alternative code to get right conversion handler for a specific file
       to be converted. It works with function AVConversionConvertToPDFWithHandler.
       It's not used now, but kept for user's reference.
    ACCB1 ASBool ACCB2 AVConversionToPDFEnumFindHandler(AVConversionToPDFHandler handler,
                                                 AVConversionEnumProcData data)
        ASUns16 numFileExt = handler->convFilter.numFileDescs;
        for ( int i = 0; i < numFileExt; i++)
            char* ext = handler->convFilter.fileDescs[i].extension;
            if(strlen(ext)) {
                if(!strcmp((char*) data, ext)) {
                    gHandler = handler;
                    return false;
        return true;
    /* BindingFileToPDF
    /** Internal callback function for binding process \n
    ** IN: char* aFilename, ASFileSysItemPropsRec nFileAttrb \n
    **     PDDoc targetPDdDoc, int *ipTotal, \n
    **     int *ipConverted, FILE *logfile \n
    ** OUT: int *ipTotal, int *ipConverted. \n
    void BindingFileToPDF(ASPathName aPathName, char* aFilename, ASFileSysItemPropsRec nFileAttrb, PDDoc targetPDdDoc, ASPathName outputPathName, int *ipTotal, int *ipConverted)
        // ignore system, hidden files, and our target PDF and log file.
        if( nFileAttrb.isHidden 
            || (strcmp(aFilename,".")==0) || (strcmp(aFilename,".." )==0)
            || (strcmp(aFilename,OutputPdfFileName)==0) || (strcmp(aFilename,LogFileName)==0)) {
                return;
        (*ipTotal)++;
        char msg[MAX_STRING_LENGTH] = "";
        char* Done = "Converted";
        char* NotDone = " - ";
        // try to convert and insert it to target PDF file.
        // rc would be 0 for success, otherwise 1.
        int rc = ConvertAndSavePDFInTargetFolder(aPathName, aFilename, targetPDdDoc, outputPathName);
        // if converted
        if(rc==0) {
            (*ipConverted)++;
    /* PassPDFBinderFileFilter
    /** Internal callback function for binding process
    ** @return true if the IN aFilename is a valid file for PDF conversion,
    ** otherwise false.
    ASBool PassPDFBinderFileFilter(char* aFilename)
    #ifdef USE_FILE_FILTER
        // if the filter is empty, any file will pass.
        if(strlen(gPDFBinderFileFilter)==0)
            return true;
        char* Ext = strrchr(aFilename,'.');
        if(Ext!=NULL) {
            Ext++;
            if(strstr(gPDFBinderFileFilter, Ext)) {
                return true;
        return false;
    #else
            // not use filter, any file will pass.
            return true;
    #endif
    /* ConvertAndInsertFileToPDF
    /** Internal function \n
    ** Convert a file to PDF, then insert it to target PDF file.
    ** @param aFileName IN  char string, filename.
    ** @param PDFfile IN/OUT PDDoc of the target PDF file.
    ** @return 0 if OK, 1 if failed.
    int    ConvertAndSavePDFInTargetFolder(ASPathName aPathName, char* aFileName, PDDoc PDFfile, ASPathName outputPathName)
        PDDoc tempPDF;
        char* Ext;
        DURING
            // get file extention
            Ext = strrchr(aFileName,'.');
            if(Ext) {
                Ext++;
            else {
                E_RETURN (1);
            // if the file is PDF, open PDDoc
            if(strcmp(Ext,"PDF")==0 || strcmp(Ext,"pdf")==0) {
                tempPDF = PDDocOpen (aPathName, ASGetDefaultFileSys(), NULL, true);
                if(tempPDF==NULL) {
                    PDDocClose(tempPDF);
                    E_RETURN (1);
            // else convert it to PDF
            else
                // let it automatically find right handler for the file and do the job.
                AVConversionStatus stat = AVConversionConvertToPDF
                    (kAVConversionAsyncOkay, //kAVConversionNoFlags
                      aPathName, ASGetDefaultFileSys(), &tempPDF, NULL);
                // check if successful
                if(stat != kAVConversionSuccess) {
                    //AVAlertNote("Cannot convert the file.");
                    E_RETURN (1);
                else {
                    //change Extension
                    ASText asTmp = ASTextNew();
                    ASFileSysDisplayASTextFromPath(ASGetDefaultUnicodeFileSys(), outputPathName, asTmp);
                    //AVAlertNote(ASTextGetScriptText(asTmp, kASRomanScript));
                    if(strcmp(Ext,"TIF")==0 || strcmp(Ext,"tif")==0){
                        ASTextReplace(asTmp, ASTextFromScriptText(".tif", kASRomanScript), ASTextFromScriptText(".pdf", kASRomanScript));
                    } else {
                        ASTextReplace(asTmp, ASTextFromScriptText(".tiff", kASRomanScript), ASTextFromScriptText(".pdf", kASRomanScript));
                    //AVAlertNote(ASTextGetScriptText(asTmp, kASRomanScript));
                    outputPathName = ASFileSysCreatePathName (ASGetDefaultUnicodeFileSys(), ASAtomFromString("ASTextPath"), asTmp, 0);
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            // display an error message.
            if(ASBoolToBool(bEcho) == true) {
                AVAlertNote (errorMsg);
            return 1;
        END_HANDLER
        // Run OCR and Save new PDF into target PDF
        DURING
            //    OCR
            ASAtom cmdName;
            AVCommand cmd;
            cmdName=ASAtomFromString("PaperCapture");
            cmd=AVCommandNew(cmdName);
            ASCab config = ASCabNew();
            ASCabPutInt (config, "UIPolicy", kAVCommandUISilent);       //hide the interface
            if (kAVCommandReady ==     AVCommandSetConfig (cmd, config)) {
                //AVAlertNote("Config Ready");
            ASCab inputs = ASCabNew();
            ASCabPutPointer (inputs, kAVCommandKeyPDDoc, PDDoc, tempPDF, NULL);
            if (kAVCommandReady == AVCommandSetInputs (cmd, inputs)) {
                //AVAlertNote("Input Ready");
            ASCabDestroy (inputs);
            AVCommandStatus status = AVCommandExecute(cmd);
                        //switch (status) {
                        //    case kAVCommandReady :
                        //        AVAlertNote("Not working, but ready to work.");
                        //        break;
                        //    case kAVCommandWorking :
                        //        AVAlertNote("Still working");
                        //        break;   
                        //    case kAVCommandDone :
                        //        AVAlertNote("Done working");
                        //        break;   
                        //    case kAVCommandInError :
                        //        AVAlertNote("In Error");
                        //        break;       
                        //    case kAVCommandNotExecuted :
                        //        AVAlertNote("Command not executed due to lack of objects on which the command to be executed");
                        //        break;
            AVCommandDestroy(cmd);
            //Save
            //PDDocSave (tempPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized, outputPathName, ASGetDefaultUnicodeFileSys(),    NULL, NULL);
            //ClosePDF
            //PDDocClose(tempPDF);
            //Convert to PDF/A Compliance
            //Select the right handler
            AVConversionEnumFromPDFConverters(myAVConversionFromPDFEnumProc, NULL);
            // do conversion
            AVConversionStatus stat = AVConversionConvertFromPDFWithHandler(RightHandler, NULL, kAVConversionAsyncOkay, tempPDF, outputPathName,  ASGetDefaultFileSys(), NULL);
            // check the returned status and show message
            //if (stat == kAVConversionSuccess)
            //                AVAlertNote( "The PDF/A file was saved in output folder." );
            //else if (stat == kAVConversionFailed)
            //                AVAlertNote( "The PDF/A conversion failed." );
            //else if (stat == kAVConversionSuccessAsync)
            //                AVAlertNote( "The conversion will continue asynchronously." );
            //else if (stat == kAVConversionCancelled)
            //                AVAlertNote( "The conversion was cancelled." );
            //Save
            //PDDocSave (tempPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized, outputPathName, ASGetDefaultUnicodeFileSys(), NULL, NULL);
            //ClosePDF
            PDDocClose(tempPDF);
            ASFileSysReleasePath(ASGetDefaultFileSys(), outputPathName);
        HANDLER
             char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote(errorMsg);
        END_HANDLER
            if(strcmp(Ext,"doc")==0) {
                char fname[40];
                sprintf(fname,"%s.pdf",aFileName);
                remove(fname);
            return 0;
    //Select the appropiate handler for the PDF/A conversion
    static ACCB1 ASBool ACCB2 myAVConversionFromPDFEnumProc(AVConversionFromPDFHandler handler, AVConversionEnumProcData data)
        AVFileFilterRec filter = handler->convFilter;
        ASUns16 numFileExt = filter.numFileDescs;
        char *kUniqueID = handler->uniqueID;
        // go through the conversion handlers to find a handler for PDF extension files and the unique key matches the PDF/A one.
        for  (ASInt32  i = 0; i < numFileExt; i++)
            if  (strlen(handler->convFilter.fileDescs[i].extension)>0)
                // found it, fill in the handler and return false to stop going on.
                if (!strcmp(handler->convFilter.fileDescs[i].extension, "pdf") && !strcmp(kUniqueID,"com.callas.preflight.pdfa")) {
                    RightHandler = handler;
                    return  false ;
        return true;

    There are some options for various APIs to run "kinda silent" - but again, Acrobat is designed for INTERACTIVE use…so "completely silent" isn't really an option.
    As for speed – you'd need to be MUCH MORE specific about where your slow downs are.  Have you profiled?
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 12 Dec 2011 07:39:08 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Slow processing and getting opening errors/warnings
    Re: Slow processing and getting opening errors/warnings
    created by FFX-ER<http://forums.adobe.com/people/FFX-ER> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4079175#4079175

  • Excel addin error

    Hi,
    I am using EPM 11.1.2.2 and I have office 2010 and excel addins 11.1.2.2. While retrieving I am getting the below error. I tried the solution provided in the link "http://oraclebrasil.wordpress.com/2011/11/09/error-essbase-has-encountered-an-internal-excel-error-when-retrieving-in-excel-with-essbase-excel-add-in-11-1-1-3/" but since I am having around 500 columns I am loosing the the columns after 256 while saving it as 'Excel 97-2003 Workbook’ .
    Error: “Essbase has encountered an internal Excel error. Your sheet will not be overwritten and none of your data will be lost. However, you are strongly urged to exit Excel and restart in order to clear up the problem”
    Can you please advise.

    Think about using Smartview (since you are having 500 columns, that's too many columns if you ask me). Or split your sheets in such a way that it has only 256 columns.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Smart view compatible old essbase excel add-in

    hello,
    There is someone that knows if the old excel file created with old essbase excel add-in are compatible with smart view.
    because I receive the error "the row cannot contain multiple dimensione" when I refresh an old excel with smart view
    Thanks
    maxx

    I have a problem with old excel-addin, excel crash when retrieve data or drill down.
    smart view works fine, but is not compatible with old version of file excel created with old essbase add-in. Exist a work around to use old file excel with smart view.

  • Sharepoint 2010 Excel Calclation Error

    Hi,
    i am using Sharepoint 2010 in Form Environment. getting below error when we call the Excel workbook in browser randomly. We have use package called xldisplay to view single sheet in browser. Excel View in browser workgin fine.
    Any suggestion.
    Error Message from Parse Excel: Some error while processing! at Microsoft.Office.Excel.Server.WebServices.ApiShared.ExecuteServerSessionMethod(Boolean hasSessionId, String sessionId, CoreServerSessionMethod coreWebMethod, String name) at Microsoft.Office.Excel.Server.WebServices.ExcelService.GetRange(String
    sessionId, String sheetName, RangeCoordinates rangeCoordinates, Boolean formatted, Status[]& status) at ExcelDisplay.Layouts.xldisplay.ParseExcel(SPWeb _spWeb, String _strWorkBookPath, String _strSheetName, Nullable`1 _blnIsAdminMode)

    Hi,
    file>Properties.... which IE security zone does the page map to?
    f12>Console tab, refresh the page to show suppressed error messages.
    (Include any error messages with your questions). The console will list any blocked content and scripting errors.
    f12>Networking tab, click the start button. refresh the page to view the request and responses.
    check
    Tools>Internet Options>Security tab, click "Reset all zones to default".
    Tools>ActiveX Filtering (is it turned off for the site?)
    Tools>Manage addons>Show all addons>locate the MSOffice plugin.
    Name:                   Microsoft Excel Worksheet
    Publisher:              Microsoft Corporation
    Type:                   ActiveX Control
    Architecture:           32-bit
    Version:                14.0.7145.5001
    File date:              ‎Wednesday, ‎18 ‎February ‎2015, ‏‎12:22 AM
    Date last accessed:     ‎Monday, ‎9 ‎March ‎2015, ‏‎7:46 PM
    Class ID:               {00020830-0000-0000-C000-000000000046}
    Use count:              430
    Block count:            40
    File:                   EXCEL.EXE
    Folder:                 C:\Program Files (x86)\Microsoft Office\Office14
    Note: it is only available to 32bit IE tabs....
    Questions about html, css and scripting for website development. If possible include a link to your website or a mashup.
    Rob^_^

  • Essbase Excel Add-in

    After installing the most recent microsoft patches, users on Office 2000/ Windows 2000 are unable to use the Essbase/ Options menu while connected to a database.They receive an excel.exe error message and are booted out of excel.Has anyone seen this before? Do you know how to fix it?Thanks,Lisa

    In old versions, it seems to me that if the essbase.ini file gets corrupted, Excel will crash.. Try removing that file (or the registry entries if you have a newer version) and restart Excel..Tim TowApplied OLAP, Inc

  • What version of Essbase Excel add-in support 64 bit Windows 7 on our PC?

    1) Can anyone tell us what is latest version of 64 bit Essbase Excel-add-in 11.1.1.3.x and will this latest version of Essbase Excel add-in support 64 bit Windows 7 on our PC?
    2) we downloaded Essbase excel add-in 11.1.2 and was not able to connect to Essbase 11.1.1.3 server. It gave an error message - "This version is newer than the Essbase server." Is there a workaround? (we were hoping 11.1.2 would support 64 bit windows 7)
    ps. There is a knowlegebase article that teaches us how to get Smartview 11.1.2 to connect to Essbase. We could not quite follow the badly written KB artible, but Ms. V from Oracle tech support claims she was able to connect and she wrote the article.
    We did manage to get Smartview 11.1.2 to connect to Planning 11.1.1.3!!

    Thanks John and Jasmine.
    John,
    I am able to connect using Essbase excel add-in 11.1.2 and see the list of Essbase server 11.1.1.3 app/databases. However when I tried to select one of the applications/databases, I get the Essbase warning "This version of Essbase 11.1.1.3) is older than the version of the Essbase API (11.1.2.0) you are using."
    I get sent back to Essbase system Login screen and am asked to select a app/database. Add-in keeps giving me the above message - none of the 11.1.1.3 databases would allow me to connect.
    I guess you guys did not experience this problem?

  • Windows 8.1 EPM 10 NW Web interface BPF and Excel Launch error

    Hi all
    We have a issue with Windows 8.1.
    When we try to launch excel from the web interface (Admin) or through a BPF, we get TYPE_E_LIBNOTREGISTERED error.
    This is only on the Windows 8.1 machine.
    We tested on few machines.
    All have the following:
    Office 2010 32bit,
    Internet Explorer 11 32 bit (even tried with 64bit)
    Chrome (on chrome we get com_sap_tc_ui_ria_fcp plugin error)
    Mozilla - can't get Mozilla to work at all...doesn't even show the activities or the Launch options.  Only Admin launch.
    On the Windows 7 machines it works.  But not on Windows 8.1.
    Already tried to search in the RegEdt the 5.6, 6.6, 7.6 etc but that isn't the issue.
    Has anyone ever found this issue?
    All other EPM functions work 100% with Windows 8.1.
    Also installed SP17 for the EPM office add-in as well as the patch.
    Thanks
    Johan Fourie

    Hi Peri,
    You can see this.
    Posted by Ashok Babu Kumili.
    http://scn.sap.com/community/epm/blog/2014/05/07/configure-epm-add-in-ms-office-excel-and-troubleshooting-configuration-issues
    Regards.

  • Essbase/Excel API Developer Available

    Hello,My name is Bill Handelman and I am available for any permanent positions in the Chicago area or contract opportunities anywhere in the US.Since the mid 90's I have been doing data reporting/business intelligence development with Essbase, Excel and Access VBA, Essbase APIs, Esscmd, Business Objects, Analysis Services, and Proclarity. I have extensive experience working with users to determine their reporting needs, and experience doing the development work. You can contact me as follows:Bill Handelman847-989-1758 (cell)847-470-9851 (home)[email protected]

    OK, just a follow-up:
    Given the following code from the QueryData.java sample:
    // NOTE: Change the following variables to suit your setup.
    private static String s_userName = "user1";
    private static String s_password = "Pwd123";
    private static String s_provider = "Embedded"; // Default
    private static String s_analyticSvrName = "houhype028";
    private static String s_appName = "Mgt_Rpt";
    private static String s_cubeName = "Mgt_Rpt";
    private static final int FAILURE_CODE = 1;
    I get the following error:
    ERROR: Cannot sign on to domain. Error initializing the ORB. com/essbase/server/framework/ManageableSession
    In Excel I have under the Essbase Connect Dialog:
    Server: Houhype028
    Username: User1
    Password: Pwd123
    Application/Database
    Mgt_Rpt Mgt_Rpt
    I am not sure this is working properly. Again I am not using any of the web services, just want to connect directly connect to Essbase.
    Any help would be appreciated.

Maybe you are looking for