Excel files deleted when not found

I am using the Report Generation toolkit for Microsoft Office. I have a vi that opens a template, renmaes it, saves it, and writes to an Excel file. The file is then saved again before the vi exits.
The problem is if the Excel file is accidently closed, then the vi closes and tries to save the excel file, it deletes the file that was saved. This seems to happen in the NI_Excel.lvclassave Report to File.vi, and comes up with error -2147417848 The first three case structures are false, which leads to the close and delete file subvis. I thought I could get remove the delete file vi, but I can not rename the subvi (...save report to file) to do this. This problem is causing me to lose product data.
How can I either make a copy of the sub vi, or prevent the subvi from deleteing the file if the file is not open?
metzler CLAD

Hi metzler,
According to this KnowledgeBase Article: Close Microsoft Excel While Running Report Generation Toolkit it is recommended programming practice to catch and handle the resulting error if the user attempts to quit Microsoft Excel mid-execution.  In no way will NI recommend editing its shipping VIs.
I hope this helps!
- Greg J

Similar Messages

  • Getting a error message when i try to open up i tunes file msvcr80.dll not found. I have tried to reinstall i tunes still wont work. Any ideas?

    getting a error message when i try to open i tunes, file msvcr80.dll not found. Have tried to reinstall i tunes but receive another error message when thats done down loading it reads service apple mobil device failed to start, verify that you have sufficent priviliges to start system. Any ideas?

    See  Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Error 48: File or folder not found when using photomerge panorama - imac photoshop elements 10

    Any help is appreciated.  Followed the photomerge panorama instructions and got error 48: file or folder not found.....line 16 ...
    using photoshop elements 10 on imac with OSX 10.8.2
    Thx

    Have you recently updated your Operating system? Please try repairing permissions for your hard disk.
    Please check the help document to know more about repairing permissions http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html#main_Solutio n_3__Repair_Disk_Permissions

  • Path in Classpath for file SapMetamodelWebdynproContent.zip not found.

    How to get rid of these warnings?
                   [Warning]: Path in Classpath for file SapMetamodelWebdynproContent.zip not found.          
    Warning               [Warning]: Version for file SapMetamodelWebdynproContent.zip not found.          
    Warning               [Warning]: Versions of 'SapDictionaryTypeServices.jar' have different prefix.          
    Warning               [Warning]: Versions of 'SapDictionaryTypesRuntime.jar' have different prefix.     
    thanks in advance.

    Hi,
    This is a common problem when you import projects to NWDS. Do like this.
    1.Change to Navigator tab in NWDS and delete gen_wdp folder.
    2.Switch to Web Dynpro Explorer. Select the Project -> Right click-> Select properties -> in the wizard select Java Build Path -> Select Libraries tab -> You will find jar files with warnings
    3.Remove the jar and add the jar file with same name to the project one by one.
    4.For each jar file repeat step 3.
    5.Save the project
    Or
    removed the read-only property from all folders / files of the project and it solved my problem.
    Hope this helps!!
    Thanks & Regards
    Vijay K

  • 404 Error - File or Directory not found

    Hi there
    I have a simple CF page set to do a dump of the server only at this stage.
    <cfdump var="#server#">
    It works fine when I'm on the server itself and run from 127.0.0.1/mydomain/index.cfm
    When I try to run from www.mydomain.com - I get a 404 file or directory not found
    Is this a CF error or is this an error being thrown up from IIS
    How do I get around this error ?
    Thanks in advance.
    Kind regards

    Hi Nexusxox,
    In addition, To troubleshoot the winodws updates issue, please follow these methods:
    1.  You should be able to access the Windows Update website. If you can't access this site, try to use the
    Windows Update Troubleshooter to fix the problem.
    Refer to:
    http://support.microsoft.com/kb/2497281#manually
    2.  Recreate SoftwareDistribution folder:
     1) Stop the Automatic Updates and Background Intelligent Transfer Service services.
     2) Delete or rename the %windir%\SoftwareDistribution folder.
     3) Restart Automatic Updates and Background Intelligent Transfer Service services.
    3.  Reset Windows update:
    How do I reset Windows Update components?
    To do so: Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added
    protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge
    Base: 322756 (http://support.microsoft.com/kb/322756/)
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • 404 - File or directory not found - HFM WORKSPACE

    Hello All,
    We are seeing the error below when a user logs onto an HFM app.
    *"404 - File or directory not found.*
    *The resource you are looking for might have been removed, had its name changed, or temporarily unavailable."*
    When they click on Administration -> and any menu items, the error goes away and they are able to go to that navigation page.
    Could anyone suggest how to prevent this from happening?
    Thanks in advance,
    Regards,
    SM

    Ok.
    Things to check:
    #1 - If it is a default startup item from workspace, you can go to the preferences menu item and change that. (File --> Preferences --> General --> Default Startup Options)
    #2 - If the default item is in the reports explorer, check preferences as well. (File --> Preferences --> Explore --> Default Folder
    #3 - If none of that works, you can try clearing out the user preferences for the user by looking at the HFM database. Go to the following table : <app name>_USERPARAMS and pull all records that match the username (DB field = username) in question.  You can remove those rows from the table and it will reset that user's preferences.  I THINK HsvSystemInfo_LastContentSrc points to the last item they were using and deleting that might be sufficient, but I haven't had to do this in a while so I cannot say for sure.....

  • 404 - File Or Directory Not Found Upon Intersection Check Report Display

    In FDM 11.1.2.1, when there are intersection check errors, instead of the intersection check report automatically opening in a new tab, I get a "File Download" message box with Open and Save buttons. If I choose Open, I get the "404 - File or directory not found" error. If I choose Save and save the file to a local path, I never get the option to open the file and the "Processing. Please wait..." message runs forever.
    FDM is running on virtual Windows Server 2008 R2 64-bit, IIS 7, Excel 2007, with SQL Server 2008 R2 64-bit and IE 7 web client.

    Tony, thanks, I'd like to give your work around a shot. We've tried all of Oracle's recommendations with no luck. I have temporarily unhidden my e-mail address in my user profile. Please let me know if you need anything else.

  • Audio file "Piano1_PNO_090109a1e66740.caf" not found

    I'm trying to load Piano Lesson 1 in GarageBand and getting this error:
    "Audio file “Piano1PNO090109a1e66740.caf” not found."
    Any ideas? Thanks.

    Try going to you home folder/Library/Application Support/Garageband/Working Copies folder, and deleting the files in there. These are temporary copies that save your place when you work the lessons, and sometimes the get corrupted. Next time you open the lesson, it should work, but you will have lost your progress.

  • Oracle.forms.webutil.file.FileFunctions bean not found. WEBUTIL_FILE.FILE_D

    Hi guys,
    I have updated my AS and DS to 10.1.2.3 and downloaded Wbutil 1.6 update 10.
    I configured all the .cfg files as mentioned in the documentation when I launch a test form with config=webutil and a webutil functionality in it then i am getting following error -
    oracle.forms.webutil.file.FileFunctions bean not found.
    WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work.
    Java console shows following -
    java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
    Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class
    java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
    Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/file/FileFunctions.class
    java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
    Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/host/Host.class
    java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
    Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/session/SessionFunctions.class
    and so on..
    Some how my java console too has stopped showing up after mistakingly clicked Hide Console.
    So can any one help me to get out of this error.
    Its sort of driving me crazy.
    Thanks in advance.
    Av.

    Hi Av, Can you let me know what you did to fix this issue? We are facing a serious issue with the same error and we can't get around it.
    Thanks
    Sam.

  • Oracle.forms.webutil.file Transfer.File Transfer bean not found

    I've followed tons of instructions for 2 days to install and configure webutil and I finally have success with the demo. However, when I add this to my own form and use the CLIENT_IMAGE.READ_FILE_IMAGE
    I end up with error oracle.forms.webutil.file Transfer.File Transfer bean not found WEBUTIL_FILE_TRANSFER.getMaxTransfer will not work.
    What am I missing? Thanks for any help.

    Make sure your form subclasses object group webutil.olb, and that webutil.pll is also attached. Make sure that your forms folder contains webutil.plx (a compiled version of webutil.pll). Unless the default config (in formsweb.cfg) includes the entries required for webutil support, you must specify a config that does have these entries. 10g, which comes configured for webutil, provides a config called webutil for this. An example URL might look like:
    http://myappserver/forms/frmservlet?form=myform.fmx&config=webutil
    There could be other problems, but since you're able to run the demo forms, I'm guessing that what I've mentioned are the first things for you to check.
    Hope this helps,
    Eric Adamson
    Lansing, Michigan

  • Oracle.forms.webutil.file.filefunction bean not found

    hi
    i am using this code
    declare
    fname varchar2(200) ;
    begin
    fname := client_get_file_name(null,null,null,null,open_file,true) ;
    CLIENT_IMAGE.READ_IMAGE_FILE (fname,'any','Img');
    end ;
    forms is running fine but when we press the button to open dialog for image file an error has been generated as under
    oracle.forms.webutil.file.filefunction bean not found.
    WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work
    i think some think is missing in configuraion file need help on urgent basis
    take care
    Qaiser Hassan Awan

    I faced the same problem, I think the frmwebutil.jar could not be downloaded to you client machine, so I modified the archive_jini to be as follows
    archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
    assuming that frmwebutil.jar,jacob.jar are located in folder on your ORACLE_HOME/forms/java
    don't know exactly why but I think the
    WebUtilArchive=frmwebutil.jar,jacob.jar
    could not be seen, so I had to put it in the archive_jini parameter
    good luck

  • Path or file name "java" not found error

    I am getting the error, path or file name "java" not found, when I type in sqlj -version.
    I am using a NT server and I have added the CLASSPATH and path to it.
    Does anyone have any ideas.

    What version of SQLJ are you using? What do you see when you type
    java
    or
    java -version
    on the command line?

  • LSO Content Player  Error - HTTP Error 404 - File or directory not found

    Hi All
    Please could you assist.
    I have published a course to my ISS CMS and configured the links in both ECC and J2EE lsm/mediator.
    Result
    Username='username', SystemName='HRD', Client='030', Host='22.22.22.22', Language='EN', SystemNumber='00', EnablePoolSharing='true', MaxConnection=50, AbapDebug=false:
    CPCFG.RSURL = http://iiscmshost.domain/LSO600/Content/
    CPCFG.REPUS = username
    ServerURL=http://iiscmshost.domain/LSO600/Content/  ok!
    I was able to successfully publish the course from the Authoring Environment to the CMS server.
    When selecting the starting the course from the portal with content player i get the following error.
    HTTP Error 404 - File or directory not found
    But the URL is referring to - http://iiscmshost.domain/lms/mediator/courseview?sid=8685627505550088697845288091101&language=EN&sys=HRD&client=030&sap-accessibility=X
    How does directory http://iiscmshost.domain/lms/mediator get created when the content is in http://iiscmshost.domain/LSO600/Content ??
    Secondly can I change this reference to my LSO600/Content directory.
    Please advise with any information. Point will be awarded.
    Regards
    Maahir

    Dear Maahir,
    We are facing the same problem. We are pointing over CMS to IIS, instead of KM content of portal. We are successfully able to release and publish the course, then attach to a course participant also.
    But. When participants logs into the portal and click on Start Now. It giving 404 file not found Error. Its the same error. All our Course and content pointed to CMS IIS Server Url.
    When we did the content player config test, result is NOT OK. We have required R3 authorization and CMS user authorization also with admin rights. Content Player console is working in AE when we start up the course. Its showing the error.
    So, it seems like content player is not working properly. Bcoz we are launching course from  http://WEBDAV repository server maintained in back end system. Which is the IIS(CMS Server)for us. Do we need to maintain anything separately to launch a course from IIS Server on R3 and SAP Portal. Below sample URL from page.
    http://Sever:port/lms/mediator/courseview = xxxxxxxxxxxxxxx
    Could you please us know, how did you resolve the issue and tell me the cause of this issue.
    Thanks and Regards
    Obli

  • Sumtotal error 404 - file or directory not found

    Hi,
    We have a SCORM 1.2 compliant content created using Captivate 5. It's a multiple SCO (6 modules) combined into a single SCORM package. When the package was loaded in Sumtotal LMS, one of the modules alone does not launch and throws the below error.
    404 - File or directory not found.
    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    However all the modules get loaded when tested in Saba LMS. Any ideas on what could the issue in Sumtotal? Would greatly appreciate a resolution at the earliest.
    Thanks,
    Sudarsan

    r_sudarsan,
    I 've seen that error 404 numerous times in the past. It always seems to be related to the configuration of the web server not able to match the Domain name with the IP address, wrong path name, check the spelling, browser startup default settings to locate the website. etc. It always seems to be a configuration problem.
    Good Luck.

  • J2EE Engine startup page error: File [main.jsp] not found in application..

    Hi Guys,
    I have just uninstalled and reinstalled SAP Netweaver 7.01 portal. The uninstall was clean and the reinstall also went without any errors.
    However, immediately after this, when I open http://<host>:<port> I get the following error:
    404   Not Found
    The requested resource /main.jsp is not available
    Details:   File main.jsp not found in application root of alias [/] of J2EE application [sap.com/com.sap.engine.docs.examples].
    If, instead, I open portal (http://<host>:<port>/irj), it works fine.
    Anybody has any idea why this has happened and how can I resolve this issue?
    Thanks,
    Shitij
    Edited by: Shitij Bagga on May 5, 2010 9:36 AM
    Edited by: Shitij Bagga on May 5, 2010 9:37 AM

    Hi Anil,
    I don't see how this note is relevant here. It is just the j2ee engine start page which is not opening. If I go straight to the systeminfo page or the portal login page, they are all working.
    Any experience on this issue with that note u suggested? Please share.
    Thanks,
    Shitij

Maybe you are looking for

  • Retrieve License Keys to software if mac does not start up

    I have a white MacBook running 10.6 Snow Leopard. I received it from a friend that had forgotten the admin pass, but is was still useable, as there was a standard user on it with no password that I could use. I then needed to install some new softwar

  • Finding movie files

    The finder says I have 25 gigs of movie files. When I serch for .mov or .avi, I get just a mb's of files. How do I find the rest?

  • Jump to an item field in a transaciton like VA01

    Hi All, There're lots of fields in the the item table of transaction like VA01. It is difficult to input value to a specific field. For example, if I need to input the payment term for a sales order item, I have to drag the scroll bar to the far righ

  • Can I catch the resulting TopLink query in the JSF backing bean?

    Hello! I'm using a JSF in my application. In my case, data on the JSF Pages is based on a TopLink queries, which usually have some parameters. Such a construction works fine except one moment. For export data purposes, I need to catch the generated t

  • Determine Which Video is Playing in iAd Producer

    Hi, Can someone help me how to check what video is playing on my iAd creative? I'm working on a multi video creative banner and I would like to call an analytics code depending on which video is playing. I have a carousel object that controls which v