Fiori Toolkit:  Template Error

Hi,
I installed Fiori Toolkit on Eclipse Juno.
I wanted to create a 'Starter Application' and selected 'Basic Fiori Application' as the template. I gave 'http://services.odata.org/V4/Northwind/Northwind.svc/' as the service URL, and it populated the Entities upon clicking 'Go'. Now when I hot next, I get an error as below.
" The template is not constructed properly. The template model resource is not accessible. Contact the Template Developer."
Any Idea how to get pass this?
Thanks
Krishna

I have faced the same issue and here are  details on "How" i resolved this.
Pre-Check   : Check whether your Eclipse is running on Java version 1.8.
You can verify the same by looking at the detail using either of below options
  Option A : Eclipse -> About Eclipse -> Installation Detail ( Button ) -> Configuration
  Option B : Go to Error Log and look for "Unexpected Exception" error triggered by the plugin
   "com.sap.odata.dt.cons.toolkit.bloom.templates.common"
                  Double click the error log. You will find the JRE that is being used by the plugin
Resolution 1 : Change your eclipse configuration to use JDK 1.7 / JRE 1.7
Below are the different options to do the same
  Option A : Modifiy your eclipse.ini file in ECLIPSE_INSALLATION_PATH by adding below two line
  -vm
  {JDK1.7_INSALLATION_PATH}\jre\bin\javaw.exe
  Option B : Change the shortcut / start the eclipse using
"{ECLIPSE_INSALLATION_PATH}\eclipse.exe -vm {JDK1.7_INSALLATION_PATH}\jre\bin\javaw.exe"
Resolution 2 : Modify the JAXP properies of your JDK 1.8 installation
This resolution becomes relevant when you only have JDK 1.8 in your machine & your other softwares have dependency on JDK 1.8.
Hence you can't downgrade you JDK from 1.8 to 1.7
  Step 1 : Go to {JDK1.8_INSALLATION_PATH}/jre/lib
  Step 2 : Add the below line in the file "jaxp.properties" ( you need to create this file if it doesn't exist )
javax.xml.accessExternalSchema = all
  Step 3 : Re-Launch your Eclipse
Recommendation
Among these different Resolution options, the safest one is to point your eclipse alone to JDK 1.7 / JRE 1.7 so that the other software will continue to work  AS IS.

Similar Messages

  • Fiori Toolkit Error -  for Eclipse Kepler version 4.3

    Hi All,
    I have been using Toolkit provided for Eclipse juno version.But as it supports only till 1.20 libraries.
    Fiori Toolkit:
    http://scn.sap.com/docs/DOC-50112
    Currently i'm trying to upgrade to kepler, to ensure latest libraries are available.
    I'm getting the below error while trying to install Fiori toolkit 1.1.4. I have installed
    Graphiti plugin as mentioned in documentation.
    Graphiti 0.9.1 Update Site
    Still i'm getting the below error.Do we have new Fiori toolkit for Kepler version 4.3? please help me to resovle it
    Error:
    Cannot complete the install because one or more required items could not be found.
      Software being installed: SAP Fiori Toolkit 1.1.4 (com.sap.odata.dt.cons.toolkit.bloom.feature.feature.group 1.1.4)
      Missing requirement: Fiori Templates Common 1.1.4 (com.sap.odata.dt.cons.toolkit.bloom.templates.common 1.1.4) requires 'bundle com.sap.odata.dt.component.exploration 0.0.0' but it could not be found.
    Cannot satisfy dependency:
        From: SAP Fiori Toolkit 1.1.4 (com.sap.odata.dt.cons.toolkit.bloom.feature.feature.group 1.1.4)
        To: com.sap.odata.dt.cons.toolkit.bloom.templates.common [1.1.4]
    Thanks
    Ramana

    Hi Ramana,
    Very weird... because I used to code the UI5/SAP Fiori things in Juno (also just because of http://scn.sap.com/docs/DOC-5011 )
    I've read in some forum posts and in the Fiori Toolkit - documentation that the Toolkit only supports Juno. Now I tried it by myself with Kepler and it really doesnt work with Kepler...
    So, I'm sorry that it took so much time (because of setting up Kepler Env. + needed plugins) and that I haven't a solution for Kepler.
    With regards,
    Chung

  • Attempting to Upload an FSG template error

    Hi,
    We are facing issue,while uploading the FSG template error on web ADI,can you please suggest us how to resolve the issue.
    Exception Name: oracle.apps.bne.exception.BneFatalException - Error loading class:
    Log File Bookmark: 408173
    Navigartion path:
    GL Super User -> Launch Journal Wizard -> Functional Actuals - Multiple -> Create
    Document

    Thanks for the reply.
    Please note issue is happening only on load balancer environment and we had tested by removing the load balancer its working fine.
    Our instance is 4 node application tier(shared appl_top) with load balancer running R12,issue is only happening on load balancer environment,if we change load balancer environment to single node its working fine,
    Please guide me,is there any setup required on load balancer side??
    Errors are showing in bne.log
    oracle.apps.bne.exception.BneFatalException: Error loading class:
    at oracle.apps.bne.webui.BneApplicationFactory.loadApplicationObject(BneApplicationFactory.java:138)
    at oracle.apps.bne.webui.BneApplicationFactory.createPageObject(BneApplicationFactory.java:77)
    at oracle.apps.bne.webui.BneApplicationService.loadPageHandle(BneApplicationService.java:326)
    at oracle.apps.bne.webui.BneApplicationService.handleRequest(BneApplicationService.java:144)
    at oracle.apps.bne.framework.BneBajaServlet.doRequest(BneBajaServlet.java:246)
    at oracle.apps.bne.framework.BneBaseServlet.doGet(BneBaseServlet.java:79)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Edited by: rag100mn on Jul 2, 2009 9:13 AM

  • OI template error - Failed to create template

    Hi,
    I was under the impression that the Excel snapshot templates could be customized and tried to do this but it didn't work. I restored the master (copied it back to the template folder) but got an error message when I try to (re)set the template paths:  Failed to create template (template name here).
    I uninstalled OI completely and reinstalled (both server and client) but still get the above message, even when I changed the path where the templates are installed. This is only on the workstations, not on the server so I'm thinking that there is something on the workstation that is stored that doesn't get uninstalled when the add-on is uninstalled.
    Even though the templates are installed in the folders indicated in the OI Company Setup, the snapshot templates are not available when in Outlook, no doubt because of this error message; there is something that isn't properly installed that links the templates to Outlook.
    Any ideas how I get rid of this message? Don't see why uninstall would not fix this; sounds like a bug with the add-on.
    Thank you,
    Heather
    Edited by: Heather Wilkinson on Mar 16, 2010 12:27 PM

    Hi Heather,
    Have you checked this thread yet?
    Re: Outlook Integration Add-On Templates Error
    Thanks,
    Gordon

  • RoboHelp 10 Compile Error: Cannot find xml definition file Template Error

    Does anyone know how to resolve this error? I'm exhausted googling.
    I generated Webhelp and got the error below. When I View the Help, nothing displays; IE browser does not open the Help.
    Initializing compiler...
    Generating WebHelp 5.50 (10.0.0.287)...
    Error: Cannot find xml definition file C:\Program Files (x86)\Adobe\Adobe RoboHelp 10\RoboHTML\webhelp5Ext\template_skin\webhelp5skin.xml.
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.navpane.dhtml
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.navpane.list
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.toolbar
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.minibar
    Template Error: can not resolve macro: WT_DS_TOC_ICON_PAGE_REMOTE
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.topic
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.frame
    Processing TOC data...
    Processing Glossary data...
    Processing Context-sensitive-Help data...
    Updating HTML topics...
    Finished updating HTML topics in 5 sec(s) : total 431 topic(s).
    Processing Full-text-search data...
    Finished processing Full-Text-Search data in 41 sec(s)
    Applying WebHelp 5.50 Template...
    ..........................Template Error: can not resolve macro: WT_DS_SEARCHFORM_GO in C:\FuelsManager Primus\Web Application\Projects\FMHelp\Cirrus\whfform.htm
    Error: Fail to update Template file whskin_frmset010.htm
    Error: Fail to update Template file whskin_frmset01.htm
    Error: Fail to update Template file whskin_frmset0.htm
    Finished applying Template in 10 sec(s)
    Finished compiling WebHelp in 107 sec(s)
    Compilation complete.

    Why Robo 8 would remove RH10 files is beyond me.
    A reinstall of RH is sure to fix it. But if you PM me your email
    address, I can send you a copy of the file (might save you a reinstall).
    Kind regards,
    Willam

  • Prime InfraStructure 2.2 Configuration Template error

    Hi All,
    I'm facing Configuration template error . I can add the CLI template then after i press on Deploy i get error message  and this is happening with all the CLI templates  . ( also Attached the error )
    The error message : "
    Template Deployment- Prepare and schedule : HA With Virtual IP
    There was an error while parsing and rendering the content. (updateLeftTreeOnce is not defined )
    The HA With Virtual IP Template Body as below :
    logging 10.30.2.252
    ip access-list standard VTY_ACCESS
    no deny any log
    permit 10.30.2.252
    deny any log

    We are facing the exact same issue. Here are the version :
    Cisco Prime Infrastructure
    Version : 2.2.0
    Build : 2.2.0.0.158
    We tried restarting the NCS services, but it doesn't help. We have the issue on differents PC and browsers. Users told me they got the issue before but it disappeared by itself. We will open a case about it.

  • Missing Template Error Handler

    I need to know the shortest, simplest way to handle missing
    CF template errors on my website. This cannot be set in the
    Administrator, as my hosting company has told me: "...we cannot do
    so as all of our customers sites that are accessed wrongly, will
    result in your custom error." They are using ColdFusion 7.
    I have a simple site. I do not have any login/logout
    applications or any other kinds of CF applications. You can see
    this is the case by visiting www.GwenHarrison.com. I do not need a
    long, complicated application.cfc file. I just need the bare bones
    method for handling missing CF templates without being able to set
    this in the Administrator.
    I have posted this message previously, but all responders
    have assumed that I have a large, complicated website with a big CF
    application. This is not the case. Their suggestions have included
    far more code than I need to handle, plus disparaging comments
    about my CF skills. Sorry, but not everyone comes out of the womb
    with 10 years of CF experience. I am hoping someone with some
    compassion will have a little pity on a CF noob and help me figure
    this out.
    Thanks,
    Gwen H

    As far as I am aware, the only way you can handle missing CF
    templates is by defining a standard page within the CFIDE.
    That is what I use for all of our CF sites but we set up
    seperate instances of CF for each site.
    Ray Camden posted a good guide on his blog which can be found
    here
    http://www.coldfusionjedi.com/index.cfm/2007/12/5/The-Complete-Guide-to-Adding-Error-Handl ing-to-Your-ColdFusion-Application
    Hope this helps :)

  • WebHelp Template Error: cannot resolve macro

    RoboHelp HTML 5.0.2 Build 801
    Word 2003 SP3
    I have been working fine until this afternoon. I tried to
    generate webhelp in two different projects. In the output window I
    see messages through Updating files, and then a message flashes and
    it goes to done, but nothign is there to view.
    The message is something like Template Error: cannot resolve
    macro WHH#78 or something like that. I really cannot read it.
    I have look for the answer on this forum and in the Help
    system, to no avail. I will be leaving soon but will come in the
    morning and try to start troubleshooting again. Any ideas that
    might help would be greatly appreciated
    sandy

    Thanks for your time.
    I am using RoboHelp HTML 5.0.2 Build 801
    I have created 5 or 6 help files. I always open them with
    RoboHelp HTML because the primary layout is web help to be
    published to the web.
    I always use the Single Source Layouts in the Project tab to
    generate Printed Documents. I usually use the generate primary
    layout for the web help.
    This is the exact error I get, no matter which of my projects
    I try to generate web help for:
    Template Error: can not resolve macro: WH_CSH2_HTM
    Finished compiling WebHelp in 6 sec(s)
    Should I reinstall WebHelp to fix the corrupted template? If
    so will I have to restore my default.css?
    I am a really plain bread and butter user. I have not
    imported any templates or customized any templates. I have always
    just opened my projects with ROBOhelp HTML and generated.
    (Successfully, I might add, up until now).
    Thanks again for any help you can give me.
    Sandy

  • Freemarker template error!      parameters.templateDir is undefined

    Hi
    I have a Struts2 application and work perfectly in tomcat and glashfish. When I deploy in Sun Java System Application Server, all Struts tag broken and say:
    FreeMarker template error!
    Expression parameters.templateDir is undefined on line 23, column 15 in template/simple/form.ftl.
    The problematic instruction:
    ==> ${parameters.templateDir} [on line 23, column 13 in template/simple/form.ftl]
    in include "/${parameters.templateDir}/simple/form-common.ftl" [on line 23, column 1 in template/simple/form.ftl]
    Java backtrace for programmers:
    freemarker.core.InvalidReferenceException: Expression parameters.templateDir is undefined on line 23, column 15 in template/simple/form.ftl.
    at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
    at freemarker.core.Expression.getStringValue(Expression.java:118)
    at freemarker.core.Expression.getStringValue(Expression.java:93)
    at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.MixedContent.accept(MixedContent.java:92)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.Environment.renderElementToString(Environment.java:1461)
    at freemarker.core.StringLiteral.getStringValue(StringLiteral.java:95)
    at freemarker.core.Include.accept(Include.java:110)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.MixedContent.accept(MixedContent.java:92)
    at freemarker.core.Environment.visit(Environment.java:196)
    at freemarker.core.Environment.process(Environment.java:176)
    at freemarker.template.Template.process(Template.java:232)
    at org.apache.struts2.components.template.FreemarkerTemplateEngine.renderTemplate(FreemarkerTemplateEngine.java:157)
    at org.apache.struts2.components.UIBean.mergeTemplate(UIBean.java:559)
    at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:59)
    at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:53)
    at org.apache.jsp.index_jsp._jspx_meth_s_form_0(index_jsp.java:267)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:134)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)

    Hi Odinart,
    Please post your question in
    ASP.NET forums.
    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.

  • Fiber - Template error - ASOfflineAdapter

    When I generate the offline adapters from my data model, I get following error:
    template error in "ASOfflineAdapter.ftl": Method public fiber.gen.as.offline.SQLiteQueryGenerator fiber.gen.as.offline.OfflineHelper.getSQLiteQueryGenerator(java.lang.String) threw an exception when invoked on fiber.gen.as.offline.OfflineHelper@2ebe81 Mobile_App  Unknown Data Model Code Generation Marker
    is this a known issue and is here already a solution for?
    My data model contains 18 entities with several relationships between them.
    Thx!

    <entity name="Priority" persistent="true">
    <annotation name="VisualModeler" x="634" y="12" width="115" height="78"/>
    <annotation name="ServerProperties" ServerType="LCDS"/>
    <annotation name="ActionScriptGeneration" OfflineAdapterPackage="com.mobility.offline" Package="com.mobility" ImplicitServicePackage="com.mobility.services" MDFPackage="com.mobility.form" GenerateOfflineAdapter="true"/>
    <annotation name="JavaGeneration" Package="com.mobility.java" GenerateAssembler="true" AssemblerPackage="com.mobility.assembler"/>
    <id name="ID" type="string" generated="true"/>
    <id name="Type" type="string" generated="true"/>
    <property name="Description" type="string"/>
    </entity>
    When the name of an id is "Type", the offline adapter file is generated empty with a error message.

  • Certain computers get template error

    I have a CF site that has started throwing a "cannot locate
    included template" error on two specific machines. No other
    machines get the error and it is not connected to a specific user
    profile. The template is in the directory, all the CF files are
    stored together, and the site has been functioning fine for years
    and this started recently. We believe it is a machine issue but
    wanted to see if anyone else had encountered this. If it is a
    machine setting or patch does anyone have an idea what could be
    causing it? We have done a bunch of google searches but nothing
    fits.
    Thanks.

    Hi,
    Do you have any updates?
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • 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

  • Report Generation Toolkit Excel errors and Libraries, Classes

    Hello All,
    I'm using the Report Generation toolkit Excel functions to handle some data and create graphs.  I'm running into problems with the Add Worksheet.vi.  At the very start of the vi, it closes the reference to Shapes.  Occasionally, the Close Ref will throw an error.  I haven't pinned down the exact cause yet (probably an invalid reference).  The error itself wouldn't be a problem.  Under other circumstances I would choose to ignore it and continue on.  The problem is, this is stored in a Class Library controlled by NI.
    Solutions I've tried without success:
    1.) Make changes, and save the new vi with another name - can't do it because it's encapsulated and the Library is password protected.
    2.) Install toolkit in something other than the default folder, so I can make changes and put it under Source Control - installer doesn't allow a new path to be entered.
    3.) Change the vi where it is.  This works until I move the source to another computer or I update Labview.  At that point I lose all my changes.
    Maybe it's just my inexperience with Classes, but I just don't see an elegant solution to this.  Ultimately I'd like to copy the library off to somewhere else and put it under Source Control so I can make changes and additions to it (NI folks - providing a password to unlock the lib would be helpful...).  Does anyone have suggestions on how I can accomplish this?
    Thanks in Advance,
    Doug

    Hi Ben,
    Sorry about the first post.  After re-reading it, it sounds more like a frustrated rant than a request for help.
    I've attached a simplified vi to try to illustrate the problem I'm having.  I'm running Excel 2007.  Please open the vi, then open Excel Add Worksheet.vi.  At the start of the vi, Close Ref for Excel.Shapes occasionally throws an error.  So far, I have not been able to consistently reproduce the error, so I can't really troubleshoot it.  As I recall, the error code is 1045.  The error is carried through the rest of the vi, causing invalid references to be written to Excel._Worksheet and Excel.Shapes, going out to NI_report.ctl.
    So, here are the issues I'm running into (other than the error itself):
    1.)Short of closing and reopening the file, there is no way to recover from the error.  After the error, there is an invalid reference in Excel._Worksheet.  There is no vi available to regenerate references in NI_report.ctl.  I could easily write a vi to start from Excel._Application and re-read them, but because NI_report.ctl is in a Class library (controlled and passworded by NI), I can't add the vi to the library.
    2.) I found that I could ignore the error by wiring around it.  If I disconnect Error Out from Excel.Shapes Close Ref and wire Error In from Excel.Sheets.Count to the Error In of the Close Ref, everything works fine.  Under other circumstances, I'd save this with a new vi name (because functionality changed) and continue on.  But, because the vi is part of a Class library (controlled and passworded by NI), I can't do this.  I can save the vi with the modifications (because Excel Add Worksheet.vi is not passworded), but if I pass the source off to someone else, they will have to make the same changes on their installation of the NI Report Generation Toolkit.
    Again, I can't reproduce the error with any regularity.  I've run the example vi I provided a few times and everything seems to work fine.  If I come up with something, I'll repost.  If you (or anyone) has an idea of what could be failing or if they've seen the problem, I'd appreciate a comment.
    Thanks again,
    Doug
    Attachments:
    Excel Fail.vi ‏15 KB

  • Bug Report - DB toolkit returns error when calling the DefaultDatabase property with SQLite

    There's an old bug in the DB toolkit where calling the DefaultDatabase property returns error -2147217887 if you're using certain DBs (such as SQLite or PostgreSQL and I believe MySQL as well).
    The problem is that this property is called by a VI which is used in some of the commonly used VIs (such as the insert VI),
    causing them to fail. Whoever wrote the code was aware of this issue,
    since they added a comment about it, as you can see below.
    The immediate fix for this is pretty easy -  add code to ignore the error or don't call the property at all. It's not used anywhere in the toolkit and unless you're using the VI yourself to get the property, this won't break any code. The problem with this is that you need to do this in every PC.
    NI already has a CAR for this (CAR 232063) and should hopefully fix it, so there's no need to take further action at the moment. This post is for people searching for this in the future.
    Try to take over the world!

    Interesting. I have seen this before but it returned a different error code. (Error -2147352567)
    =====================
    LabVIEW 2012

Maybe you are looking for

  • Disconnecting roughly at the same time every day.

    Hi I hope I have posted this in the right forum. I have a homehub 5 and I am currently on BT Infinity 2. Every day between 17:00-17:20 my router disconnects and reboots itself. I've noticed in the Boot section of the Hub's Event Log the words "Watchd

  • Load external swf into existing mc

    I think this is very old question, in as2 you can just add a external swf inside a mc.  like this -  loadMovie ("example.swf", "_root.mc");  and that's it. how do i do that in as3? this following doesn't work.. var newLoader:Loader = new Loader(); fu

  • Just upgraded to ML  Why doesn't yahoo video work

    If yahoo video doesn't work,  how do I go back to older version

  • Using SQL in VC++ with ADO ( in Oracle9i)

    Hi ! i am a newcomer . Are there any document about this ? I want manipulate the Oracle databse with SQL statements in VC++6.0 , there are LOB fields I use ADODB With VB6.0 is OK but in VC++ i don't know whatto do Thaks all email : [email protected]

  • How do I determine a message was sent by a proxy user?

    Any ideas? I looked through the object, but could not find reference to the proxy user. Is there somewhere in the message object that says that the message was sent by a proxy user? Thanks Andrew