Error -2147352573 in Excel Solution

I encountered this problem recently and fought with it for a while and finally figured it out. I wanted to make note of this issue so that others can hopefully learn from my mistakes. Not sure if this is the best place for it but hey, why not.
TL;DR
If you are getting error -214735257 you have some kind of version incompatibility between Excel and the Report Generation Toolkit. Even if your version of the Report Generation Toolkit it supposed to work with your version of Excel, its not.
Isolate exactly where your problem is occuring, what specific VI are you calling that is causing this problem? For whatever reason, the Report Generation Toolkit is not playing nice with Excel and is bugging out when trying to do that action. Find out what the problem is and find a way to not have to call that VI.
Create a template to do the majority of the work. Put in all your shading, merge all your cells that you need to merge, apply borders and even put functions in the spreadsheet itself to reduce the amount of work you need to do with LabVIEW.
Do not use  Excel Easy Text.vi. This VI does way too much and can possibly cause compatibility problems. Instead use Append Report Text.vi. All you do is change the value of a cell at a given position. Nothing more, nothing less and you are unlikely to cause an incompatibility error as a result.
Background
I was building a fairly simple data logging and control application for a customer. The software was supposed to collect data and generate a report to an Excel spreadsheet. No real problem right? I built the application and was able to simulating in my office before deploying it to the customers machine. We hit a snag when the computer that would be running the code didn't have Excel on it (whoops) we aranged for their IT guys to come in and install it for them and we could handle any troubelshooting remotely. I was confident in my code as I tested it with simulated data and knew it would operate correctly... famous last words.
The Errors
Once the customer got Excel up and running and tried to use the software I deployed he got  error when generating his report. Since the report generation code was easly isolated from the rest of the program I was able to mock up a test application to isolate the problem better and we found that we were getting undefined error -2147352573. Searching through the ni.com the most likely candidate of this problem was incompatibility between their version of Excel (2007) and the version of the Report Generation Toolkit I deployed on their system (2013). The problem with this, was that Report Generation Toolkit 2013 is supposed to work with Excel 2007. Further investigation showed that the code was specifically erroring out while trying to apply the background colour to a cell.
The Solution
To resolve the issue I did the following:
Modified my template to do the majority of the work. All cells that needed to be coloured or given a border were done so in the template. Cells that would be numbered had their formatting type and percision set. I even included functions in several cells to perform basic calculations in the spreadsheet itself to reduce the amount of work I had to make LabVIEW perform. One cool thing I did was I placed a graph on my spreadsheet and had the data from the spreadsheet come from cells that I would populate using LabVIEW. This way I didn't have to fight with inserting a graph; I only needed to write text to cells.
Stop using Excel Easy Text.vi. This VI does a lot, it merges cells, apply borders and adjusts the font of the cells. Using this VI was bad because it a) called functions that were breaking my application and b) broke the template I was trying to use by formatting the cells in ways I didn't want to be formatted. Using Append Report Text.vi only changes the text of the cell preventing your template from getting wrecked.
I hope that helps people. I know the real anwser of "why is this happening" isn't really getting solved but as I mentioned this wasn't on my machine, it wasn' an environment that I could try everything or isolate all the conditions. My solution is more of a work around and comes from me spending (probably more) time with the customer remotely trying to solve the issue.
If anyone has any other questions please feel free to let me know.

If you have Adobe Reader, you (probably) don't have Adobe Acrobat, a
commercial ($$) product. 5.0 is a very old release.
But you can check if the files are there anyway from long ago. See
http://support.microsoft.com/kb/307410
Aandi Inston

Similar Messages

  • Error 2147352573 when inserting picture in Excel

    Hi all - HW&SW: IBM ThinkPad T40/ Win2000/ Excel 2000, LabView 7.0.
    I try to insert a jpeg-picture into Ecxel sheet using Active X. Error 2147352573 and a message Member not found. in appl_1.vi - is the result.
    Anyone have a clue what is wrong? I'd be very happy for your advice. See attached file.
    Martti
    Attachments:
    appl_1.vi ‏49 KB

    Hey Zeppelin,
    I am thinking this is a known issue with LV 8.6 and report generation toolkit seen here at issue 123064. "Previously it was possible to access the references to MS Office documents by unbundling the refnum of the report that was passed through the report generation VIs. The Report Generation VIs were rewritten using LabVIEW classes, hence making this not possible" .  The work around can be found here.
    Although you don't get the broken run error, I am thinking this could still be the problem with your vi, since it has solved other very very similiar problems.
    Regards,
    National Instruments
    RIO Embedded Hardware PSE
    CompactRIO Developers Guide

  • Error -2147352573 executing application using LV2012 and RGT 1.1.3

    Hi,
    I am currently trying to deploy an application using the LabVIEW Report Generation Toolkit (Version: 1.1.3) and I am facing a compatibility problem with Excel 2007 & 2010. I am aware that some internal ActiveX components have slightly changed between the two versions of Excel but I have a specific error on a particular VI. Here is the error message :
    "Error -2147352573 occurred at Membre introuvable dans NI_Excel.lvclass : Excel Set Cell Color and Border.vi."
    I have tried everything to solve this problem using all the posts in the Web that I could find but I still don’t have the answer.
    My developer computer configuration : LV2012, RGT 1.1.3, Office 2010.
    The target computer configuration : LV2012, RGT 1.1.3, Office 2007.
    I have development licences on both computers so I built my application on both system. The build made on the target computer (office 2007) works fine on my computer (office 2010 : retrocompatibility ok). The build made on my computer does not work on the target computer as I explained in the beginning of my question.
    By the way, I did not manage to find the user manual of the LabVIEW RGT 1.1.3 on the NI website.
    Thanks !

    When I try Deploying A WebCenter PS3 Portal Application using JDev 11.1.1.1.4 Integarted WebLogic Server I get the following error :
    [02:21:12 PM] Deploying Application...
    <29/03/2011 2:21:12 PM EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1301368872572' for task '1'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.sdp.client, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    I need some help to triage the issue and resolve the cause. any help in this context appreciated .
    Redg

  • Getting error while opening Excel document from SharePoint site

    Hello All,
    I am getting following error while opening Excel document from SharePoint site.
    This issue appears when we open Excel document from Windows>> Run using below mentioned command:
    Excel.exe "{File Name}"
    If once I go to Excel back stage and browse for the SharePoint location, then this problem disappears.
    I have a work around for this issue but main problem is that i do not have any work around when i need to open Exel document using Excel COM interop in C#.
    Thanks,
    Amit Bansal
    Amit Bansal http://www.oops4you.blogspot.com/

    Hi Amit Bansal,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing developing issues involve Excel application.
    According to the description, you got an error when you open the document form SharePoint site.
    Based on my understanding, this issue maybe relative to the SharePoint, I would like move it to
    SharePoint 2013 - General Discussions and Questions forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error in RFC & to Solution Manager System

    Hi,
    Error in RFC & to Solution Manager System
    can anyone tells me why this error occurs???
    With regards
    kulwinder

    FYI
    We have just had same issue thaat in certain scenarios with RFC communication BACK to Solution Manager from Satellite system we got the error.  We resolved this by looking at the RFC user used in the BACK connection (i.e. SOLMAN<SID>) on the Solution Manager and changing the user type from communications.
    Hope this helps someone else, I spent ages digging around for an answer to such a simple fix
    Paul

  • Error in uploading excel file using Java pages

    Hello,
    We are using oracle ERP (R12.1.1) and we have developed one JSP page to upload an excel.
    After selecting the excel and browse button is clicked we are gettign the OLE stream error when the excel file is .csv or .xlsx. There is no issue with .xls excel files. For loading the excel data to custom table we are using the "jxl-2.6.jar".
    Can we get higher version of "jxl-2.6.jar to support CSV upload?
    Thanks.

    Are you Registered this jsp upload page to EBS before test?
    You have to register the page to EBS first.
    Regards,
    Dilip

  • Error while importing excel sheet in Import manager

    Hi Experts,
    Please find below error while importing Excels sheet as a source into import manger and advice.
    logon error: failed to open table Text Table for insertion
    Error: Query must have at least one destination filed in sap MDM Import manager
    Regards,
    MFH

    Hi,
    Its clear now.
    Merci
    MFH

  • Odata Connection Refresh Error while using excel web app - Project Online 2013

    Hello All,
    I am trying to work with odata reporting on project online 2013. I am not using MS Excel client, I open any of the available default report in excel online. when i try to refresh data connection from data tab. it's giving me an error
    as show below 
    screen..
    I have already enabled "PWA for excel web app refresh" feature.  
    Following the blog instructions and microsoft support, i have tried to grant permission to
    AppId=  00000009-0000-0000-c000-000000000000
    And In the Permission Request XML field, copy and paste the following XML: 
    <AppPermissionRequests>
        <AppPermissionRequest Scope = "http://sharepoint/projectserver/reporting"
    Right="Read">
        </AppPermissionRequest>
        <AppPermissionRequest Scope = "http://sharepoint/content/tenant"
    Right="FullControl">
        </AppPermissionRequest>
    </AppPermissionRequests>
    Now, According to the microsoft, it should show Microsoft.Azure.Azureservices as Title but as per below screen shot it shows Power BI Reporting and Analytics..
    title.<o:p></o:p>
    However, i click on ok button and check that the permission has been granted. i can see Microsoft Power BI reporting and analytics in the app permissions.
    I again go to my BI reporting, open my report in excel online and refresh the data connection and nothing changed. It's giving me the same error.
    I hope that i am able to narrate my problem. Please tell me, What i am missing here...
    sandeep

    Ok, why did manually add / update the permission XML? Do you get this error for new Excel based reports? Test creating a new one, example here:
    http://pwmather.wordpress.com/2013/08/01/projectserver-projectonline-highlight-report-example-ps2013-sp2013-excel-bi-office/
    http://pwmather.wordpress.com/2013/09/16/projectserver-projectonline-example-report-ps2013-sp2013-office365-bi-excel-powerpivot/
    http://pwmather.wordpress.com/2014/07/17/getting-started-with-projectonline-part-9-ps2013-office365-project-ppm-sharepointonline-pm-sp2013/
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • "DBSTATUS_UNAVAILABLE" Error while importing Excel File

    Hello,
    I am getting following error while importing data from Excel 2003 to SQL server using SSIS 2008,  [Excel Source [1]] Error: There was an error with output "Excel Source Output" (9) on component "Excel Source" (1). The column status
    returned was: "DBSTATUS_UNAVAILABLE".
    If i open the excel file and done any editing then the same file loads without any issue. Can you guide me why it's  happening ? , i have edited "TypeGuessRow" property to 0 , IMEX = 1 but no help.
    Thanks

    Hi Ved_Prakash,
    The error is generic and can occur due to various causes. In order to troubleshoot this issue, I need to clarify some information:
    Could you please post some sample data for that column in the error message?
    Have you modify some properties after accessing data from that Excel file?
    Since the error message is incomplete, could you post other error messages from the Output pane?
    Besides, we can also use
    SQL Server Import Export Wizard to import Excel into SQL Server database.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Error in Installation of Solution Manager on Virtualbox centOS

    Error in Installation of Solution Manager on Virtualbox centOS .
    I tried as per the solution given in the error.
    Please go through attachment for error and my /etc/hosts file.

    Hi,
    I guess you added the entry in /etc/hosts after you got the error.
    That being true, stop and start your sapinst again. This will allow you to continue. The information is cached and the only way is to stop and start sapinst.
    Cheers,
    Amerjit

  • Error message in excel 2003 : compile error in hidden module could be caused by Adobe Acroate add in

    The error message in excel 2003 : "compile error in hidden module AutoExecNew" could be caused by Adobe Acroate add ins, thats waht microsoft told me.I use windows xp service pack3.I have got reader newest version and photoshop 6.0. With this and also with an older reader version I got the error message when opening excel. what can I do?
    Best regards Ray

    If you have Adobe Reader, you (probably) don't have Adobe Acrobat, a
    commercial ($$) product. 5.0 is a very old release.
    But you can check if the files are there anyway from long ago. See
    http://support.microsoft.com/kb/307410
    Aandi Inston

  • Error [Microsoft][ODBC Excel Driver]Optional feature not implemented...

    Hi All,
    when i add setAutoCommit(false),
    i got run error [Microsoft][ODBC Excel Driver]Optional feature not implemented.
    i just want to insert data into excel using db.
    can anyone give suggestion??
    here my code:
    public void insertDatabase( ){
                String rule = "fty";
                double weight = 0.245;
               try{
                    String sql = "INSERT INTO [Sheet2$] ( Rule, Weight ) " +
                      "VALUES ( '"+ rule +"', '" + weight + "' )";
                     int row = myStatement.executeUpdate(sql);
                   myConnect.setAutoCommit(false);
                     myResultSetPapar = myStatement.executeQuery("Select * from [Sheet2$]");
                catch(SQLException e){
                            System.out.println(e.getMessage());
               }//catch
           }

    is it true that my driver does not supported??
    my MS Excel version 2002
    and driver vers. 4.0

  • I got errors while installation of solution manager 4.0 sr2

    I faced the errors below while installing Solution Manager 4.0 sr2.
    How can I solve these problems?
    Thanks.
    ERROR 2007-03-13 17:30:12
    FSL-00001  System call failed. Error 13 (Permission denied) in execution of system call 'openU' with parameter (/opt/cdler/CD2/IM_HPUX_PARISC/COMMON/INSTALL/JDBCCONNECT.JAR, O_RDONLY), line (368) in file (syuxcfile.cpp).
    ERROR 2007-03-13 17:30:12
    FSL-02015  Node /opt/cdler/CD2/IM_HPUX_PARISC/COMMON/INSTALL/JDBCCONNECT.JAR does not exist.
    ERROR 2007-03-13 17:30:12
    MUT-03025  Caught ESyException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2007-03-13 17:30:12
    FCO-00011  The step copyScripts with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_Unpack|ind|ind|ind|ind|8|0|copyScripts was executed with status ERROR .

    Hello Cemil,
    The errors you are recieving are most likely user or permissions
    related.
    Can you please verify that there are 777 permissions on the
    installation directories? Also are you installing as User Root?
    Are you installing from an NFS Mount or network drive? If so it could be
    possible that the user does not have enough permissions on this. If
    so I recommend copying the installation files to a local directory and
    retrying the installation from there.
    Best regards,
    Dolores

  • Server error 500...solutions?

    server error 500...solutions?

    That is a standard error message, but not particularly informative. It tends to indicate something is wrong with the computer at the website you are trying to use.
    Presumably the problem only occurs on one or two specific sites and not everytime you try to use firefox.
    * see also [http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#5xx_Server_Error (wikipedia)5xx_Server_Error]
    There is probably nothing you can do but it is worth clearing your browser cache, and any cookies for the site concerned. See
    * [[error loading web sites]]
    * & [[error code 500 accessing secure sites]]

  • Why does Apple not give a list of error messages and possible solutions? I have the (-54) error continually that has suddenly appeared and cannot find a solution, even though other users seem to have the same problem.

    Why does Apple not give a list of error messages and possible solutions? I have the (-54) error continually that has suddenly appeared and cannot find a solution, even though other users seem to have the same problem.

    This is a user to user forum.  Apple isn't here and won't answer you.  You need to contact Apple directly.  You can use the Contact button at the bottom of the screen.

Maybe you are looking for

  • Can I use Time Capsule to share a public ip within a network with DHCP enabled?

    Hi I have a router with 8 public ip's which is doing DHCP for the public ip's I own. What I am trying to do is to give a static public IP to my Time Capsule and then the time capsule should create another network (both wired and wireless) with privat

  • Error in communicating with Group Administration Server

    Hello everyone, i am requesting your help for an issue with LMS 4.2.5 When i browse to Admin-> Group Management -> Fault. I get the following: OGS Server Error Error Error in communicating with Group Administration Server. It may be down or not yet u

  • LOV Refresh based on the business rule

    My requirement is to refresh the LOV based on a value selected in another LOV. Say the LOV required to be refreshed as LOV2 and the LOV in which the value is selected and which triggers the LOV2 refresh is LOV1. Both the attributes of LOV1 and LOV2 a

  • Robohook.wll and Word 2007

    Is RoboHook.wll necessary for Word 2007? Is RoboHook.wll necessary for RoboHelp 8 HTML or is it a leftover from earlier versions of RoboHelp? I am using RoboHelp 8 HTML to generate WebHelp. My Word 2007 documents (totally unrelated to my RoboHelp pro

  • Insert a PDF?

    Post Author: MaCook CA Forum: Crystal Reports I want to know if it is possible to insert a pdf document into CR XI. I see there are other ways to get the image into the report but they are not as legible as I would like them to be. Any thoughts or su