CName Error When Trying to Attach Particular File

I am using custom buttons to attach, view and remove attachment files to my LiveCycle form. Most files attach without any problem. I have a particular file named, "RECN-TrackingLog.xlsm" that I receive the following error when trying to attach this file to the form. If I copy the file to my desktop, it attaches to the form without any problem. It is named exactly the same. Any idea what is causing this error? I have included the script for the "Attach" button below.
var myDoc = event.target;
var sFile = "myFile"+Math.round(Math.random()*10000000000000);//Randomly generated number
myDoc.importDataObject({cName: sFile});
var myDataObject = myDoc.getDataObject(sFile);
var sFileName = myDataObject.path;
ListBox1.addItem(sFileName,sFile);
NumericField1.rawValue = NumericField1.rawValue + 1;

This error turned out to be caused because someone else had that networked file open at the time I was trying to attach the file. That's why when I dragged and dropped a copy onto my desktop, that "version" of the file was not open and would attach without any problem.

Similar Messages

  • Error when trying to save a file

    I get this error when trying to save any file (newly created or not) word document in MS word 2010:"You are attempting to save a file type (plain text files) that has been blocked by your File Block settings in the Trust Center".
    I followed the directions given by the Microsoft Knowledge Base article 922850, but I am still having this issue. I can still save files as PDF but not in any kind of word format. 
    I also tried opening another file copy and pasting under a different name and it doesn't help.
    Please Help.
    Bruce

    Hi,
    Please try the following methods:
    Using Administrative Template files and the Office Customization Tool to disable the restriction
    Use a trusted location, or create an exempt location
    Quote from:
    http://support.microsoft.com/kb/922849/en-us
    Regards,
    George Zhao
    TechNet Community Support

  • Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.

    Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.  Has there been a fix or patch to this issue or do I have to convert back to CS4 to open the file?

    Having the same problem in CS6.  I can tell you that converting back to CS4 will NOT solve the problem.  It seems when support for backward compatibility is discontinued, there's just no way to get
    any help at all?  Absolute failure to provide any user support so far...

  • Firefox crashes when trying to attach a file to gmail compose

    Vista 32 laptop. When trying to attach a file to a gmail compose, explorer dialog pops up and then firefox crashes. Happens every time, and started (I think) with version 16 or 17. Updated plugins, went through troubleshooting on help menu, tried safe mode. All to no avail. IE works fine.

    This report is about the Flash plugin:
    *bp-f13d802e-81d7-48fb-b101-ecdd22130310 3/9/2013 8:00 PM
    Make sure that you have the latest version of all plugins.
    *http://www.mozilla.org/plugincheck/
    *http://www.adobe.com/software/flash/about/
    *http://www.adobe.com/special/products/flashplayer/fp_distribution3.html
    You can check for problems with current Flash plugin versions and try these:
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting
    *http://helpx.adobe.com/flash-player/kb/flash-player-113-crash-mozilla.html

  • Error when trying to convert excel files to pdf

    I'm getting the following error when trying to convert .xls and .xlsx files to pdf, using the "Create PDF" option:
    Error message from the primary converter:
    ALC-PDG-010-012-PDFMaker reported an error while printing the document.
    Word, Powerpoint and Text files convert without any issues. Also I'm able to opent the excel files and convert them to pdf using the acrobat option in excel.
    Livecycle Version: 10.0.2, GM
    MS Office Version: 2007
    Any help would be appreciated. Thanks in advance.
    Regards,
    Suhail N.

    It is always difficult when you need to convert multiple xls files to pdf or multiple sheets to pdf. If you have a single file to convert then the best method would be to copy your data to doc file and then convert it into PDF . If you have multiple files to convert then it is really difficult to convert all the files manually. Then the better method would be to use converter tool to convert excel to pdf . By doing this you can convert many files in just few seconds.

  • Error when trying to create class file

    I am getting this error when I try to create file
    clobsearch.java:246: not a statement ex;
    protected Element getDocumentRoot(Clob c)
    Element root;
    Reader read = c.getCharacterStream();
    String s = convertClob(read, 8192);
    SAXReader sread = new SAXReader("org.dom4j.io.aelfred.SAXDriver");
    sread.setMergeAdjacentText(true);
    sread.setStripWhitespaceText(true);
    Document doc = sread.read(new StringReader(s));
    root = doc.getRootElement();
    return root;
    Exception ex;
    ex; <--- this is line 246
    System.out.println(ex.getMessage());
    return null;
    any help would be appricated
    thanks
    robert

    The guy who wrote this code is no longer with the company
    the server IP got changed and he had an IP coded in the program
    i managed to uncompile the code
    i changed the IP to the new one
    when I tryed to create the class file i get the error
    so as far as what is happenning with the ex I am not sure
    here is another piece of code that might help
    really all i need to do is get the class file created again...
    protected Element getDocumentRoot(Clob c)
    Element root;
    Reader read = c.getCharacterStream();
    String s = convertClob(read, 8192);
    SAXReader sread = new SAXReader("org.dom4j.io.aelfred.SAXDriver");
    sread.setMergeAdjacentText(true);
    sread.setStripWhitespaceText(true);
    Document doc = sread.read(new StringReader(s));
    root = doc.getRootElement();
    return root;
    Exception ex;
    ex;
    System.out.println(ex.getMessage());
    return null;
    protected double toDouble(String s)
    double d = 0.0D;
    try
    d = Double.parseDouble(s);
    catch(NumberFormatException ne) { }
    return d;
    protected String convertClob(Reader in, int blen)
    StringWriter sw = new StringWriter(32768);
    char buf[] = new char[blen];
    int len = 0;
    try
    while((len = in.read(buf)) != -1)
    sw.write(buf, 0, len);
    in.close();
    sw.close();
    catch(IOException ioe)
    len = 1;
    return null;
    String s = sw.toString();
    int q = s.indexOf("<Quote");
    int end = 0;
    if(q == 0)
    end = s.indexOf("</Quote>") + 8;
    } else
    q = s.indexOf("<Project");
    if(q == 0)
    end = s.indexOf("</Project>") + 10;
    else
    end = s.indexOf("</Order>") + 8;
    return s.substring(0, end);
    public static void main(String args[])
    if(args.length < 2)
    System.out.println("Usage: clobsearch tablename [searchpattern] [datesql]");
    System.out.println("Where: searchpattern like \"Geodesic Dome\" and datesql like \" where quotedate >= to_date('01/01/2004', 'MM/DD/YYYY')\"");
    System.out.println("OR: clobsearch tablename searchpattern -data idfile [idcolname]");
    System.out.println("Where: searchpattern as above, idfile is a one per line file of quote or order numbers, idcol=column name for id col");
    System.exit(1);
    clobsearch cs = new clobsearch(args);
    }

  • "Resource Unavailable" error when trying to download a file.

    We're running the latest version of OS:X - 10.4.3 (recently upgraded from 10.3.9) and I've found that with the latest version of Safari we can no longer download files off certain websites of ours. Typically we have a link off a page which spawns a javascript window, which then contains the download link. When trying to "Download Linked File" to our desktop we get a "resource unavailable" error in the Downloads window.
    Oddly enough it doesn't affect all of Tiger installations. We noticed that those machines that were formatted first, then had Tiger installed did not have this problem, only the machines we upgraded from 10.3.9. I've tried re-installing the 10.4.3 combo updater to no avail. And JFYI, Firefox works without a hitch, but my fear is that we're going to run into problems where some of our clients are unable to grab files they require.
    Unfortunately, I cannot provide a link as they are to client files but I can try to provide any additional information needed to get to the bottom of this...
    Thanks,
    MJX.
    G4   Mac OS X (10.4.3)  

    Reworked some of the javascript for our webserver and fixed the problem.

  • BIP Error when trying to produce txt file

    Hi all !
    I'm getting the follwing error when trying to generate a text output from a eText template in BIP:
    oracle.apps.xdo.servlet.scheduler.ProcessingException: oracle.apps.xdo.servlet.data.DataException: Invalid format requested: txt
         at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:959)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:404)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: oracle.apps.xdo.servlet.data.DataException: Invalid format requested: txt
         at oracle.apps.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
         at oracle.apps.xdo.servlet.data.DataException.fillInStackTrace(DataException.java:127)
         at java.lang.Throwable.<init>(Throwable.java:196)
         at java.lang.Exception.<init>(Exception.java:41)
         at oracle.apps.xdo.servlet.ReportException.<init>(ReportException.java:36)
         at oracle.apps.xdo.servlet.data.DataException.<init>(DataException.java:39)
         at oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java:328)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:953)
    The report execution is started from a BIP web service call (ScheduleRequest). It works fine for pdf, rtf, csv, html and xml formats, but i can't a text file containing only eText formatted data (fixed positions, mainframe like file). Here's a code sample:
    BI_WS.ReportRequest BIreportRequest = new BI_WS.ReportRequest();
    BIreportRequest.attributeLocale = "en-US";
    BIreportRequest.reportAbsolutePath = "/~user/toto/TEST_WS_BI.xdo";
    string reportFileExtension;
    if(reportType.Equals("flat")){
    BIreportRequest.attributeTemplate = "flattest.rtf";
    reportFileExtension = "txt";
    BIreportRequest*.attributeFormat = "txt";*
    }else{
    BIreportRequest.attributeTemplate = "doc1.rtf";
    reportFileExtension = "pdf";
    BIreportRequest.attributeFormat = "pdf";
    So the question is:
    What "attributeFormat" value (other than pdf, rtf, csv, html, xml) should i use to get a text ONLY file with the format specified in the eText template ?
    Does anyone have an idea on this ? Thank you in advance.
    ED
    Edited by: Edmundo2 on Aug 26, 2010 9:55 AM

    Just found the solution:
    You can't have a normal rtf template AND a eText template for a single report. In my case, i need two types of output, a "rich" one and a "flat text" one. So i'll make 2 separate reports for each output type. Thank you.
    Edited by: Edmundo2 on Aug 26, 2010 11:26 AM

  • After upgrading the OS to 10.6.8, my Skype clashes when open and iMail crashes when trying to attach Pages File !?? What happen?

    I just updated my mac book pro to OS 10.6.8 and now my skype crashes after launching and iMail crashes after trying to attached Pages file.
    The OS is very unstable !!! what happen ! this is first time i am experiencing this...so sad
    What can i do now ? How to trouble shoot ?
    thks

    Hi Michael,
    Thanks for your tips. After I run Disc Utility - Repair Permission...restart my machine and still have the same issues. What next step can i do now ?
    Will it be helpful if i send you the Clash reports here ?
    Thanks so much for taking your time to advise.

  • I get an error when trying to import MP3 files in iTunes?

    When I try to import mp3 files into iTunes (version 6), I get an error message of:
    The file "song file name" can not be imported An unknown error has occurred (-50).
    I have already imported these files into iTnes on my old computer, but run into this problem with my new laptop. I downloaded a new version of iTunes just like I installed all my new programs on this new laptop.
    For some reason, I run into this problem when trying to import any mp3 files (as mentioned, even mp3 files that I successfully imported into iTunes previously).
    (I've tried a complete removal and re-install, but that didn't help)
    Anyone know why I'm getting this error message and how to correct things?
    Thanks in advance for any help !!!

    C:\DOCUME~1\Mark\LOCALS~1\Temp\WERe357.dir00\iTunes.exe.mdmp
    C:\DOCUME~1\Mark\LOCALS~1\Temp\WERe357.dir00\appcompat.txt
    those are the files that are sent as an error report... i dont know what the problem is! this is starting to get me mad! I need my music! some1 help plz.
    I cant load that one folder, what could be the problem? I've loaded another folder similar to this one but it was alot smaller and everything worked out fine, but for my big one its messing up.

  • Server Error when trying to open .acsm file

    Hello,
    I installed Digital Editions v2.0 on a Windows 7 (64bit) computer. I allowed this program to go through firewall.
    I have authorized my computer using my AdobeID.
    When trying to open the .acsm file to get an epub book which I just bought I get the following error:
    "Error Getting License. License Server Communication Problem: E_ADEPT_NO_TOKEN".
    Could you please help?
    Thank you.

    Hi, I am having the same problem when trying to convert my books from Google Play to epub format on the computer to move to my Nook tablet.Were you able to get any resolution from the content provider? When you say that you erased everything before and after the fulfillmenttoken area, could you be more specific (i.e.did you remove all of the previous content or only the content located in that specific tag?) My html and xml coding is a little rusty so any information you could provide would be extremley helpful. Thank you so much!

  • I/O Error when trying to open pdf file

    I keep getting an error when I am trying to open pdf files from the internet or emails that are sent with pdf files. I am not able to view any of these pdf's - just the i/o error I receive. Anyone have anything to help me on that?? Thank you!

    Please post in the forum for the software you are using to read PDFs -
    the Adobe Reader forum for example. Good luck,
    Aandi Inston

  • Getting No checksum error when trying to delete uploaded file

    When trying to delete an uploaded file I get the following error :-
    No checksum was provided to show processing for a page that requires a checksum when one or more request, clear cache, or argument values are passed as parameters.
    I have a tabular report displaying the uploaded files with one of the columns showing a delete icon.
    When you select the delete icon it has Column Link details of the following
    Link Text : <img src="#APP_IMAGES#del.gif">
    Link Attribute : &APP_ID.
    Target: URL
    Url:
    javascript:confirmFileDelete(htmldb_delete_message,'f?p=&APP_ID.:11:&SESSION.:REMOVE_ID:&DEBUG.::P11_DELETE_ID:#FILE_ID#');
    The above was working till I turned on the Session State Protection.
    I believe I need to add a checksum to my url via the pl/sql package apex_util.prepare_url but can someone please show me how to do from my URL????
    Thanks in advance
    Keith

    Keith,
    Why not do the following then...
    I think confirmDeleteFile is a custom function correct? As the second parameter, just pass in the file ID. Then in the function use JavaScript to set the value of P11_DELETE_ID to the file ID. Then call doSubmit('REMOVE_ID');
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • Why do I get a program error when trying to save a file

    I've loaded and reinstalled photoshop elements 3 times. I can not save any files. all i get is cannot save file do to  program error message'
    this is a brand new product with a program error and they want me to pay them to fix there problem. it ain't right.

    which version of Photoshop Elements are you using? Also, do tell us about the flavour of Operating System you are using and the format in which  you are trying to save your file.
    You can also try saving your file to a different location( e.g. desktop) to check if your computer has any permission issues

  • Error when trying to open Mac file with Captivate 6 Win

    I've tried opening Captivate 6 files (.cptx/.cptl) that were created on the Mac version with Captivate 6 on Win7. Got the error message "can't open file" telling me to check the file and my resources. Resources are ok, the file was sent via email.
    How can I set up a workflow for Captivate 6 between Mac and PC users that works? The discussion to Win files crashing Captivate Mac didn't help as there's no solution posted. Are there any issues concerning the compatibility of Mac and Win files within Captivate 6?
    Any help is very much appreciated a we've got a deadline looming.
    Regards,
    Susanne

    Same problem here. Something to do with path to
    swfobject_modified.js??
    Even though I have correct path I still can't get it to work
    on CMS site, even though it works OK on static site:
    www.askew.co.nz (SWF is a red ellipse with mirrored "S")
    The problem page (CMS site) is here:
    http://askew-site.fjstaging01.pbstaging.com/
    The error is:
    <!--
    swfobject.registerObject("FlashID");
    //-->
    (line 144 Uncaught ReferenceError: swfobject is not
    defined)

Maybe you are looking for

  • Safari and Turbotax Online CAN'T PRINT TAX RETURN

    I'm using: Mac OS 10.4.3 Safari 2.0 and online Turbotax, and when went to try printing tax return, it says it's a .pdf file type, and it pops up a window showing PREVIEW AND PRINT, but no print button. It says "if having problems and won't download g

  • Goods Issue with Serial number reversal

    Hi Experts, I have an item which is set to Inventory Item and Sales Item. I brought it in via Inventory/Good receipts to assign serial numbers. I realized I used the wrong Warehouse and wrong item Code ( I have 2 codes set the same but for different

  • To find partners from contract number

    Hello All, I have a contract number.I have to find out the following partners at header level : Bill to party Bill to party contact person ship to party and ship to party contact person. Please guide me as to how do I go about it. relevent replies wi

  • Lenovo x220 tablet pc with ubuntu 12.04 Shuts down and starts up unexpectedly

    Hi I bought a lenovo x220 tablet pc and installed ubuntu 12.04 with GNOME 3 a while ago. It was working fine at first however recently: 1. the computer shutsdown unexpectedly, the shutdown dialog appears (the one that gives you the option of restart,

  • Issues with WLST script - configToScript.py

    Hi folks, If you know can you please help me here. I am trying to use configToScript() to create a script for existing domain to convert to script. I can create the script, but when i ran the script. It is failing, do you know what are the changes to