Error 7 report generation

Good Day,
I seem to be having a little trouble with the report generation tool.  I'm running Labview 7.1, have the MS Report Toolkit.  I have a construct that creates and formats an Excel Report.  It works fine when running it from the developement environment, but when I create an executable and run from the runtime environment, it errors right at the first stage of this sequence, at "New Report.vi".  To this VI I have an "Excel" constant tied to input "Report Type" with no other inputs.  The error that is caught is code 7 "Open VI Reference in New Report.vi->filename.vi" replacing filename with the name of my file (not to state the obvious).
Is there a seperate runtime toolkit that needs to be installed?
Any ideas?  Thanks a bunch.

Hello,
Please read the section in the User Guide for the Report Generation Toolkit on building an executable out of your VI.  There are many VIs that are called dynamically by the toolkit that must be handled in a special way (specifically, added as Dynamic VIs to your application) when you build your VI into an executable.
-D
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman

Similar Messages

  • Cisco ISE 1.1.1.268 Giving error (Report Generation failed. Cause: Null)

    I have this issue and I would be very thankful if someone has the answer for this. When I am trying to access Operation > Report > Catalog > Posture > Posture Detail Assessment & clicking on any posture session detail icon. I am getting following attached errors.
    1.     Report Generation failed. Cause: Null
    2.     Cannot execute the statement.
    Does anyone knows how to get rid of this error & to get access of posture detail.
    Thanks

    The error message means that Active Directory server Reject the authentication attempt
    as for some reasons the user account got locked.I guess, You should ask your AD Team to check in the AD
    Event Logs why did the user account got locked.
    Under Even Viewers, You can find it out
    Regards
    Minakshi (Do rate the helpful posts)

  • Open vi error for report generation toolkt

    Originally it works fine.
    Now I upgrade to win7, LV9 and office2010.
    To open the old program by 8.6.1, I reinstalled LV 8.6.1 and report generation toolkit.
    But still got the error as attached.
    Any suggestion, thanks.
    Attachments:
    ss.png ‏184 KB

    1. MS Office 2010 is not yet supported, since it's still just a beta. I believe there are couple of changes that Microsoft make, and it could cause a problem.
    2. LabVIEW 8.6.1, and all its toolkit is not supported on Windows 7. This could cause a problkem also.
    In conclusion, you should use LabVIEW 2009, Report Generation Toolkit 2009, Windows 7, and downgrade office to XP, 2003 or 2007.
    More information: http://digital.ni.com/public.nsf/allkb/C9408B9F08D​711E786256F3300701D01

  • Report Generation Toolkit Error (undefined erro)

    Does anybody know what error -214 682 7864 (0x800A01A8) means when coming from the Report Generation Toolkit.
    I have an app which has been happily ticking over for several weeks, and then this error was generated when attempting to write a table to a spreadsheet. The error was generated all the way down in NIReportGenerationToolkit.lvlib:Excel_Get_range.vi (this is the ActiveX code).
    Any ideas? 
    nrp
    CLA

    nrp wrote:
    I have an app which has been happily ticking over for several weeks, and then this error was generated when attempting to write a table to a spreadsheet.
    Was it the first time you attempted to write the table to that spreadsheet?
    Maybe the error is due to the spreadsheet grown oversize than its limit so that it cant accomodate the table anymore.
    What is the version of MS Office you are using? I think Office 2003 can go only upto 1024 columns...
    - Partha
    LabVIEW - Wires that catch bugs!

  • Report Generation Exe Error

    Hello,
     I am using LV 8.6.1 with the 1.13 report generation toolkit and I am having problems getting my built exe to work.  I am trying to open an excel template and populate it with new data.  I have broke the vi down to just opening excel - opening the template and then fill in some data.  But at this point excel does not open at all.  And naturally everything works fine in the development environment.
    Error Code: -2147352573
    Member not found in NI_ReportgenerationToolkit.lvlib:
    Excel_open_workbook.vi
    NI_Excel.lvclass: new reportsubvi.vi
    I read a few help pages that said to add \vi.lib\utility\NIreport.llb and LVclass directories to the project folder and add them to the always include section of the build.  But no luck so far.
    Side question:  The machine I want to use this on has 8.6.1 Full which does not have the extra excel functions that my developer has.  Is there a way to install the DEV report generation toolkit in the full version?  Then I would not need to build an exe.
    UPDATE:  I just tried the exe on a different machine that has a developer suite installed and it worked fine.  So I guess I need to find out what else I need to add to the build to make it work.
    Message Edited by _Bryan on 06-16-2010 11:58 AM
    Solved!
    Go to Solution.

    There should be some info on this in the KB.
    But first you should make sure that your version of the report generation toolkit actually supports excel 2000 (which is 10 years old)
    That should be in the release notes of the toolkit
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Report Generation Toolkit producing error -2147417842, "The application called an interface that was marshalled for a different thread."

    Hi everybody,
    I've got an application that logs data to an Excel spreadsheet using the Report Generation Toolkit.  My VI's have worked fine in the past using Excel XP, but since I've upgraded to Excel 2007, I am getting COM errors like this one:
    "Error -2147417842 occurred at The application called an interface that was marshalled for a different thread. in Excel_Insert_Text.vi"  That is the exact wording, even with the weird punctuation and capitalization.
    The first occurrence of the error is not determinate.  Sometimes, up to 10 logging sessions, involving a new .xls file, can occur before this error pops up.  Once this error occurs, I must quit LabVIEW to resolve it.  If I try to do anything with Excel, I always get this error, although sometimes it comes out of different source VIs.  Excel_Open.vi is another.
    These logging VIs have worked just fine until upgrading to Excel 2007.  I checked, and I was using a really old version of the Report Generation Toolkit, v1.0.1.  I read the documentation and had a big sigh of relief when I realized I needed to upgraded to v1.1.2 to get Excel 2007 support.  However, even after upgrading, I'm still getting the same errors.  I'm using LabVIEW 8.0.1, and I'm also building these VIs into an application.   The error occurs both in the LabVIEW IDE and in the built application.  Does anybody out there have any idea what I can do to fix this?  I googled a little, and discovered this is a COM error, but I can't find any references to the Report Generation Toolkit specifically.
    Thanks,
    Phil
    Solved!
    Go to Solution.

    Hi Christian,
    I do not see that exact option listed, do you mean "user interface"?  I recognize the "Run in UI Thread" option, it's on the Call Library Function Node.
    I checked, and my top-level VI has "same as caller" set, and I believe all my VIs are set to "same as caller".  Are you suggesting I change my top-level VI preferred execution environment to "user interface", or just the logging sub-VIs that use the Report Generation Toolkit?
    Thanks,
    Phil
    Attachments:
    VI_properties.png ‏15 KB

  • Report generation toolkit VI error when running EXE

    A VI inside the Report Generation Toolkit (version 1.1.2), Excel Find Application Directory.vi, will not function correctly when running an EXE.  The "Current VI's path" block will return the path of the currently running EXE rather than the path of the Excel Find Application Directory VI.  (The same would be true for Word Find Application Directory.vi.)
    -Joel
    Solved!
    Go to Solution.

    Have you had a look at this knowledgebase article? The error is caused due to the exclusion of any dynamic VI.
    Ipshita C.
    National Instruments
    Applications Engineer

  • Is ms office 2013 supported for report generation​? Error 41106

    Hi
    I have a copy of LV full development suite with the Excel and Word report generation toolkit added.
    I have recently changed to using Office 365 that includes offline versions of Excel and Word from Office '13.
    When using the report generation toolkit, I get an error 41106.
    I have reinstalled the toolkit - no effect.
    I sort of assume therefore that office 2013 is not supported?
    Any hints, tips, patches or workarounds please.
    Bill

    Bill_Shepherd wrote:
    Hi
    I have a copy of LV full development suite with the Excel and Word report generation toolkit added.
    I have recently changed to using Office 365 that includes offline versions of Excel and Word from Office '13.
    When using the report generation toolkit, I get an error 41106.
    I have reinstalled the toolkit - no effect.
    I sort of assume therefore that office 2013 is not supported?
    Any hints, tips, patches or workarounds please.
    Bill
    I've seen some issues when I upgraded to Office 2010. Note that it is possible that the route cause of your problem is totally different but in my case there was some ActiveX properties or Methods call that have been changed. I solved this issue by navigating to the property/method that caused the error, clicked on it and reselected the same property/method. You could probably find some older post that discuss that. Hope this help.
    Ben64

  • Error 7, report generation toolkits do not work after building.

    Hallo guys:
    one problem. help!
    I tried to build my programs with application builder, unluckly builded exe application does no work well as before, i checked some similar post from this forum, and added that NIReprot.llb in my project and rebuild, the problem still takes place, my program append some text, tables, and charts into a word template with that Report Generation Toolkits, but it always gives out error 7 and 'NI_Word.lvclass:new report subVI.vi -> NI_report.lvclass:New Report.vi -> Creat New Report.vi ->...'error information.
    is there anyone can give me some clues about this annoying problem.
    thanks a lot!!!
    Solved!
    Go to Solution.

    When you say "attached all this library to my project", it is not clear whether you answered the question about including the dynamic VIs in your build specifications. See attached image. You will need to select the files in your project and set them to Always Included. Have you done this?
    Attachments:
    alwaysincluded.JPG ‏46 KB

  • Error involving Report Generation Toolkit and Labview Run Time Engine

    Developed an application using LabVIEW 6.1 and LabVIEW Report Generation Toolkit for Microsoft Office 1.0.1. From there, tried to build a shared application for use with the LabVIEW Run Time Engine. The Run Time version functions properly until "New Report.vi" is called and then an error is generated, code 7, calling out "Open VI Reference in New Report.vi" could not be found. When building the application, I did include the "NI Reports Support" in the advanced installer options. The machine used for original development and application build is running Windows XP Pro and Office XP. Any suggestions??

    I am having the exact same problem but with LV 6.1 and M/S WORD 2000. It appears that the "New Report.vi" is trying to open "C:\APP.DIR\Word_Open.vi" and "C:\APP.Dir\Word_Open_Document.vi" by reference. The "OFFICE 2000.TXT" says that "_exclsub.llb and _wordsub.llb must be added as support files when building an application or a dynamic link library with the application builder." I added them as Support Files and I copied them to the "C:\TESTER\" where the TESTER.EXE is and I still get ERROR 7 in "NEW REPORT.VI" at VI OPEN REFERENCE.
    Do I need to make a "C:\TESTER\DATA\" sub-dir and put the support files there?
    I am building on MY COMPUTER on F: Drive on a network and transporting files to the real Tester.
    I displayed my App.Property of APP.DI
    R at start up and it is C:\TESTER\ ! How would my application know that "Word_Open.vi" and "Word_Open_Document.vi" are actually inside the _wordsub.llb?
    Any ideas ?
    Greg Klocek

  • Error in report generation-Load report failed

    I have installed crystal reports  for VS2005 runtime in my live environment.When i try to load the report file from a .Net page i am getting the error'Error in Report generation-Load report failed'.
    This works fine in development and testing but when moved to production we are having issues.
    I believe i have a workaround i.e i need to open the rpt in a VS 2005 environment and re-write the connection string again.This fix had worked in development and testing when we had the same issue.
    But not sure if this is a known issue with crystal reports and if so do we have any hot fixes for the same.
    Please help.

    Hi Don,
    The reason why i posted the item on 'data Connectivity issues' is because i suspect the problem is with the connection string.Though i had provided the correct connection string,re-writing the connection string with the same info might help to fix the issue with loading the report.
    Does it mean that there is a problem in the connectivity?
    I have a risk here that i cant re-write the connection string..i.e to open the RPT file in VS2005 and bind it.The production web server & database server sits in a  third party environment and it is not in the company network.So i cant connect to this server to re-write from any other severs in the network.
    Is there any fix which can applied to the server to get this issue resolved?
    Cheers
    Nithya.

  • Exe giving error for report generation and LV 8.6.1

    I have created and installed a labview application in a PC(windows XP) where labview is not installed.  (already included NI_Excel.lvclass)
    I have used a report(excel) generation to display the results.
    I am getting following error:
    Error Code: -2147352573
    Member not found in NI_Excel.lvclass:
    I am using MS office Excel 2007 SP1
    NI LabVIEW Run-Time Engine:8.6.1.
    Report generation toolkit version:1.1.3
    phani srikanth
    Solved!
    Go to Solution.
    Attachments:
    Error.JPG ‏10 KB

    search the ni website and a 30 day eval copy can be found. For use beyond this period you would have to buy a license (unless you have one of course)
    compatibility can be found on the following link
    http://digital.ni.com/public.nsf/allkb/C9408B9F08D711E786256F3300701D01 
    hope it helps
    TD 
    Please remember to accept any solutions and give kudos, Thanks
    LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7

  • Report Generation MS-Word always give error

    Hi
    I am using LV 2012 and MS Office 2010.
    I am using report generation toolkit to have a customised output report.
    When I specify output format as excel, I am able to get the desired result but when I specify output format as word, it always throws an error. I checked running the NI examples meant to give output in word but they all fail while the excel reports are perfect.
    Please find attached an error code for one of the example Sample Report(word).vi
    Please suggest the solution.
    Regards,
    Manbir
    Attachments:
    error_doc.JPG ‏20 KB

    We need to see the code in order to say "Here is the error" or "Try doing it this way".  It also gives us something to try, ourselves.  Do you know how to make "snippets", which are .PNG "pictures" of your code that you can simply put into the message using Insert Image?  We can then drag this image into a LabVIEW Block Diagram, and voilà, working code!
    BS

  • Report generation fails with below error

    Hi Friends,
    This is an extarct from "ccat /var/opt/SUNWsymon/PRM/log/prm.log"
    Report generation fails for individual host but succeeds for all hosts.
    prmlog September 13, 2010 12:52:14 PM Thread-287: Begin loading files
    prmlog September 13, 2010 12:53:51 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:53:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:54:51 PM HandlerThread-1: Got trap: 2
    prmlog September 13, 2010 12:54:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:56:01 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:58:51 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:58:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:59:51 PM HandlerThread-1: Got trap: 2
    prmlog September 13, 2010 12:59:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: scp-2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: creature-t1000-08: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: sdp-1-region2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: psp-1-region2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: shissun1: Report request generation failed.
    prmlog September 13, 2010 1:00:05 PM Thread-294: Report successfully posted to web server.
    prmlog September 13, 2010 1:01:01 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 1:03:54 PM HandlerThread-0: Got trap: 2
    In /tmp directory I could see database logs directory (/tmp/SunMCDBLogFiles)
    Below is an extarct from "db-start-sql.log"
    ERROR: table "summ_temp_events" does not exist
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    WARNING: there is already a transaction in progress
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (21)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    WARNING: there is already a transaction in progress
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (26)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (25)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (42)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (1)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    Kindly suggest me.. This SUNMC is doing more than killing.
    Thanks
    Srini

    I just received instructions from the TMG software company to uninstall and install the PDF driver they use. This fixed the problem. Apparently upgrading to v7.01 damages the driver but reinstalling it corrects the problem.
    Thanks for the advice.
    Mike

  • Report Generation Toolkit Error Quick Question

    Hi,
         I created the most awesome LabVIEW report ever at my desk using a trial version of the RGT and Office 2003.  I took this to my production machine and ")@#(&%(*#^%()^!!!"  The production machine has office 2007 and a fully licensed version of the RGT.  Both machines have LabVIEW 8.6.0.  I've read all the stuff about these errors and something about classes and dll's and whatnot's.  So my quick question, is:  Instead of matching the versions of Microsoft Office as recommended, can I just rewrite from scratch the VI that creates this world's most awesome LabVIEW report on the production machine to create the same effect? 
    Solved!
    Go to Solution.

    Hi 
    Quick Answer: Probably
    Slower answer: Microsoft changed a lot of things behind the scenes in Office 2007, but the Report Generation toolkit version 1.1.3 supports Office 2007 so you should be good to go. Depends on what functions are included in your VI. Liek the read me says "Several default settings in Microsoft Office 2007 differ slightly from previous versions. Reports you generate using Office 2007 might look different than reports you generate from other versions of Office because font sizes, cell sizes, and so on, differ."
    Best Regards
    David
    NISW

Maybe you are looking for

  • In having trouble connecting internet to my router

    Everytime i try to setup my router it says cant connect router to internet.any help????

  • Help: Pointbase db doesn't start when launching SP4 portal

    Hi, I downloaded WL platform SP4 today and installed (before the installation I uninstalled SP2)in my laptop. When I launch the examples portal, the pointbase db doesn't start. I tried both SP2 and SP3 in my laptop and both worked. The error messages

  • Solaris 10 LDAP Clients Intermittently Fail

    I'm working on a rather puzzling issue with some of our Solaris 10 systems authenticating against DSEE 6.3. These clients previously worked without issue but starting last week SSH connections would hang for a few minutes and then start working again

  • ISE and EAP-TLS

    Hi We're planning on implementing eap-tls for our corporate iPads and in the past I've successfully tested it authenticating against ACS5.3 but now that we've moved to ISE (1.1.1.24) I'm getting an error. 22045  Identity policy result is configured f

  • ITunes Installer Issues

    Whenever I try to install the new verison of iTunes (10.5.3) I get the same error message. ("There is a problem with this Windows installer package. A program required for this installer to complete could not be run") I am running a 32-bit Windows Vi