Why am I getting InDesign error code 29446?

Hello,
I am using InDesign Server CS5 and on two file I keep getting error code #29446 when I try to use them.
this is the script that I get error #29446:
var strXMLFile = 'D:\\mssb\\incoming\\34695.xml';
var strINDDFile = '\\\\167.246.44.76\\MSSB\\templates\\RET010\\6256950-MSSB-RET010-BW-6 x9.indt';
var strJPGFile = 'D:\\mssb\\outgoing\\34695.jpg';
var strPDFFile = 'D:\\mssb\\outgoing\\34695.pdf';
var myFile = new File(strINDDFile);
var myDocument = app.open(myFile);
var myXMLFile = new File(strXMLFile);
var myXmlImport = myDocument.xmlImportPreferences;
myXmlImport.importStyle = 1481469289;
myXmlImport.ignoreUnmatchedIncoming = true;
myXmlImport.importTextIntoTables = true;
myXmlImport.removeUnmatchedExisting = true;
myDocument.importXML(myXMLFile);
myDocument.exportFile(ExportFormat.jpg, new File(strJPGFile));
myDocument.exportFile(ExportFormat.pdfType, new File(strPDFFile));
myDocument.close();
I have approximately 200 other InDesign documents that use this script and for the exception of two they all work. I can confirm that this file does exist, it is not being used by any other application (the only application that can access it and use it on that machine is InDesign Server) and the permissions are the same as all the other InDesign files that are on the box.
What else could generate this error?
-fw

The error number is for the internal C++ constant named "kFileDoesNotExistError".
You should be able to single step even on InDesign Server using ExtendScript Toolkit.
Even without, a bit of log file output should show you the exact problem statement.
When you wrap it with try / catch, you may (or not) find more information in the exception object.
Iterate over all properties using something like code below.
Of course, $.writeln only makes sense with an attached ESTK debugger, otherwise you'll just waste CPU cycles.
try {
} catch( ex ) {
  for( n in ex ) { $.writeln(ex[n]); }
Note that the problem might not be in the indd file - e.g. have you checked all image href attributes within the XML?
For digging deeper:
On a Mac I'd use dtrace or Instruments to watch file system calls for error codes.
Windows should have similar tools, for example this one sounds promising (I never used it):
http://technet.microsoft.com/en-us/sysinternals/bb896645
Dirk

Similar Messages

  • HT5701 why do I get 3072 error code when trying to download 6.0.4

    why do i get 3072 error code when trying ot download 6.0.4

    Some details, please?
    Based on the version number, you seeking to upgrade Safari?
    What OS X version?
    How are you upgraded or downloading the software?   (Directly downloaded, or via Software Update?)
    Have you tried quitting all applications, and then performing the Software Update?   (Discussion per this thread — but that thread is for iTunes, and I'm guessing you're looking at Safari here?)  If that doesn't work, I'd keep everything quit, reboot, and try again.

  • Why do I get an error code 5 when sending photos from iPhoto?

    why do I get an error code 5 when sending photos from iPhoto?

    Read related topic
    Thank you & Best regards
    syrpimp
    =======================================================
    “You must continue to gain expertise, but avoid thinking like an expert." -Denis Waitley

  • Why do I get this Error Code:6

    Why do I get this Error Code:6 When I try to open my CC Photoshop CS5?
    I uninstall and I reinstall the product,But this problem continues occurs.Why?

    Run CC Cleaner and try to install again
    CS Cleaner Tool for installation problems | CCM, CS6, CS5.5, CS5, CS4, CS3
      http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • Why do I get an error code when accessing my email?

    Yahoo has updated their bookmarks to be used exclusively with the Yahoo toolbar. In the process I have lost my email account. When I try to access my email, I get an error code...... (The requested URL /mc/welcome was not found on this server.
    Apache/2.2.9 (Debian) mod_jk/1.2.26 PHP/5.2.6-1+lenny4 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ruby/1.2.6 Ruby/1.8.7(2008-08-11) mod_ssl/2.2.9 OpenSSL/0.9.8g Server at us.mc816.mail.yahoo.com Port 80) ! Also I get a 404 Error message that the information is not found, no access on this server

    I actually just worked it out for myself - I reentered all my data and it worked this time. But for one of the books somehow the formatting has all been messed up. Back to the drawing board...:-(

  • Why am I getting http error code 413 when I try to upload a photo?

    I am trying to upload a picture from my computer to the www.NWF.org web site. I have done this 19 times before, but suddenly I'm getting "http error code: 413" and my picture won't upload. I've tried closing Firefox, updating all my plug-ins, and rebooting the computer, none of which has helped. When I Google this error, I don't understand what I'm reading.

    Hello tschuss!
    I'm so sorry to hear that your update has not successfully completed! I can certainly help to point you in the right direction. Click the link to access the Software Upgrade Assistant, which will provide instructions for how to complete the update if it has failed. http://www.verizonwireless.com/support/knowledge-base-80200/
    MichelleH_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • Why do I get an error code 5002 when trying to redeem an iTunes gift card?

    I have an iTunes gift card and everytime I enter the redemption code I get an error code 5002.  Sure would like to be able to redeem my card.

    This alert is often the result of an issue with verifying your billing.
    Quit iTunes.
    Open iTunes.
    Test the issue.
    If it persists, sign in to store.apple.com using your iTunes account
    Click on Change account information
    Modify or remove your credit card information.
    Click Continue.
    Test the issue.

  • Why am I getting an error code 410 when updating to Android 5.1?

    My Samsung Galaxy S5 has tried twice now to upgrade from 5.0 to 5.1 (G900VVRU1BOC4).  Both times I get a message that the update failed.  When I check the update log it says the update failed with error code 410.  What can I do to install this upgrade that hopefully will resolve some of the 5.0 issues I've seen discussed in other threads.

    Hello tschuss!
    I'm so sorry to hear that your update has not successfully completed! I can certainly help to point you in the right direction. Click the link to access the Software Upgrade Assistant, which will provide instructions for how to complete the update if it has failed. http://www.verizonwireless.com/support/knowledge-base-80200/
    MichelleH_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • HT201272 Why do I get the error code 5105 when trying to redownload a tv episode?

    I have lost a tv episode that I had already downloaded to iTunes. I went to download it again and I got the error code 5105. what does this mean and what an I do to get the episode back? I have done everything that the support website said to do but nothing works. I am starting to really think that Apple is going rotten and I need to switch to Samsung. I am running a windows computer with Windows 7.

    restart pc, "RunAs Administrator" iTunes

  • Why do I get a error code 50 when I try to update my existing membership?

    What am I missing? I've attempted to update to the new version many times in various ways.

    Hi Bill,
    Refer the steps given in the following article.
    https://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html
    Hope this helps.
    Regards,
    Sumit Singh
    can't download lightroom cc error code 50 

  • Why do I get an Error Code 70229 when running Block Diagram ?

    Hi everyone,
    This error is very weird because at one time I got the block diagram to run and it worked well then when I tried it again after reopening the block diagram I got this error . 
    Can someone help me please ?
    I am using SolidWorks Premium 2014 x64 Edition.
    The attached files show the version I got for SoftMotion and for Labview 2013 32 bit installed . 
    PS. I had Labview 2013 64 bit installed but I removed it. not sure if any files remained that may cause this...
    Thank you,
    Isaiah 
    Attachments:
    Softmotion.JPG ‏54 KB
    Labview2013.JPG ‏55 KB

    Read related topic
    Thank you & Best regards
    syrpimp
    =======================================================
    “You must continue to gain expertise, but avoid thinking like an expert." -Denis Waitley

  • I get an error code 1 from Unflatten From XML

    I'm not quite sure why I'm getting this error code. The code looks fine to me. I hope I'm not missing something obvious. I imagine maybe it's one of the datatypes but I'm not sure. See attached VI (8.6)
    CLD (2014)
    Attachments:
    XML read write.vi ‏10 KB

    How observant of you. I was just going to post the same conclusion. The data type that came off an FPGA "read /write control" node. 
    Neat! Now we have fixed sized arrays in LV! 
    The attached shows it failing a "flattened string to variant" and the different type strings the two have.
    Message Edited by InfiniteNothing on 11-07-2008 02:35 PM
    CLD (2014)
    Attachments:
    Comparison.vi ‏10 KB

  • When I try to log on to Facebook, My iPad will not recognize my password, and I get an error code 190. What is it and why do I get it?

    When I try to log onto Facebook, my iPad will not recognize my password, and I get an error code 190, but I can log on on my HP desktop. What is code 190, and why do I get it?

    I was using the FB app that came with the iPad. What I eventually did was.
    1. Held down both home key and on-off button until iPad shut down, then rebooted.
    2. Uninstalled FB app.
    3. Went to App Store and re-installed FB app.
    The iPad had numerous problems. My son saw my plea on FB as I was accessing it through my HP computer, and he walked me through it. While he was at it, he taught me how to disconnect auto-correct. I am not certain that I want to keep that off, but everything is working the way it is supposed to  the way it was in the beginning. 
    I am curious, though, as to what ears to the problem in the first place. After checking various sites, it seems that a code 190 has to do with windows not Apple.
    But thank you for the response.

  • HT201413 I am receiving the error code (-50). The original itune songs etc were installed on a win 7 32 bit system and I have now moved to a win 7 64 bit system. Is this why I get the error code? I can access the itunes store to view my account. Any ideas

    I am receiving the error code (-50) when trying to access the itunes store. The original itune songs etc were installed on a win 7 32 bit system and I have now moved to a win 7 64 bit system (same PC) and have copied the folder across. Has the switch from 32 to 64 bit caused the problem? Is this why I get the error code? I can, however, access the itunes store to view my account. Any ideas please?

    Hello,
    The TechNet Sandbox forum is designed for users to try out the new forums functionality. Please be respectful of others, and do not expect replies to questions asked here.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • TS3694 when restoring my iphone i get an error code of 1015 , why is this and how do i restore my phone as now its stuck in recovery mode ?

    when restoring my iphone i get an error code of 1015 , why is this and how do i restore my phone as now its stuck in recovery mode ?

    Errors related to downgrading iOS
    The required resource cannot be found: This alert message occurs when your device has a newer version of iOS than what is available in iTunes. When troubleshooting a device that presents this alert message, go to Settings > General > About and check the version of iOS on the device. If it is newer than the latest released iOS version, the device may have a prerelease developer version of iOS installed. Installing an older version of iOS over a newer version is not supported.
    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.

Maybe you are looking for

  • External Display not working (descriptive details in post)

    Hello Background: I have been using a black Macbook (last year's model - before the aluminum ones came out) and connecting it to a VIZIO VW22L HDTV10T (television/monitor) via a mini-DVI to VGA adapter. This setup always worked, although it was a bit

  • Printed Book Quality contact

    i have been buying books from Apple for all the years they have offered them. This is the second year I have been disappointed. I contacted them the day after Christmas after looking at the ones I gave to my family. The color was not terrible but not

  • How can I put photos from two iphones in one library?

    I want to use one family Macbook pro for downloading photos from two iphones with separate apple IDs.  In other words, we'd like to have all our photos stored in one library on the Macbook.  Possible, and if so how does one set it up?

  • Move back and forward through Quiz questions...

    Hello, I need to be able to let individuals move back and forward through quiz questions after they have answered them without the need to re-answer the question. Does anyone have any suggestions on how I could do this in Captivate 6. Thanks,

  • Help itunes won't open

    Hi i recently defragmented my computer and in doing so i had to delete some stuff. Now everytime i open itunes it says 'itunes cannot run because some of its required files are missing. Please reinstall itunes'. I reinstall itunes and it does the sam