To recognize the file corrupted by using the API of framemaker framemaker

If I rename a book of framemaker as file FM and then I try to include this file as one component of another book, no pdf is generated during the recording of the book in pdf.

How can I be sure that a book file is not added as a component using the framemaker API (currently using fdk 6.0).

Thank you

ASHA Rayakar

ASHA,

I think I understand now. Someone renamed the file... you just try to catch the error in your code, right?

I tried to reproduce this scenario, but in my experiences, FrameMaker was smart enough to know what type of file it was, regardless of the extension. So, here are just a few ideas...

-If the file is not actually "corrupt", you can use F_ApiGetObjectType() to find out if it is a FO_Book, FO_Doc or something else. If a document is corrupt, I don't know what this function may return.

-If the file is corrupt, I think you should be able to ask a sort of property that. For example, perhaps you could count the number of paragraph formats in the file. My guess is that a corrupted document will have far fewer that you expect to see, or not at all.

Russ

Tags: Adobe FrameMaker

Similar Questions

  • TDMS file corruption when using FTP

    I use FTP to transfer files a cRIO to computer TDMS.  The transfer looks like it works; However, when I try to open the crowd using TDMS files Viewer, I get an error indicating that the file in not a PDM standards.  That being said, I use Windows to FTP the same file to compare.  I use the PDM viewer to open this file very well... no problems.  Have any ideas?

    Did you find the difference between the size of the TDMS files before and after the transfer? If so, maybe it's quite possible that the "transfer mode" software FTP questions, maybe you can try to use "binary" instead of "text" for fashion?

  • I just upgraded to 4.4 and begun to use LR for the first time. I have a canon 70 d, but when I import SD card, I get an error message that LR does not recognize the files and a number of 241.

    How do LR to import my files on my SD card because it keeps telling me that it doesn't recognize the files. I have a 70 d canine and shoot in RAW and JPEG. The videos are imported but not the photos.

    Since a 70 d Canon RAW photos can be imported directly into Lightroom 4.4. You need version 5.2 or newer to do this.

    As an alternative, you can download and install the FREE Adobe DNG Converter and then use it to convert your RAW to DNG, and then import the DNG in Lightroom 4.4.

  • I DELETED MY PDF FILES AND AGAIN USING THE RECOVERY SOFTWARE I FIND ALL MY FILES BUT NOW WHEN I OPEN FILES THAT IT SHOWS (THE FILE MAY BE CORRUPTED OR NOT SUPPORTED FORMAT.NO HOW CAN I OPEN THE FILES.) ALL OF THEM ARE MY DOCUMENTS IS VERY IMPORTANT. PLEAS

    I DELETED MY PDF FILES AND AGAIN USING THE RECOVERY SOFTWARE I FIND ALL MY FILES BUT NOW WHEN I OPEN FILES THAT IT SHOWS (THE FILE MAY BE CORRUPTED OR NOT SUPPORTED FORMAT.NO HOW CAN I OPEN THE FILES.) ALL OF THEM ARE MY DOCUMENTS IS VERY IMPORTANT. PLEASE PROVIDE ME WITH A

    Deleted file recovery can recover incomplete files, i.e. the part of these files may be missing.  Recover deleted files is much more reliable if recovery of a backup, instead of using recovery software.

    These things depend on the operating system and the file system.

    One thing, you can see: open one of these files damaged with a text editor, and then make sure that the constant % PDF is somewhere in the first 1024 bytes.

    PS please do not post ALL uppercase; It is very difficult to read!

  • CS4 does not recognize the MPG files that it captured previously

    Hello

    I have spent some time in the knowledge base and search the Forum, but don't see anything that could help me.

    Windows 7 64-bit on Intel I - 7 920 quad 12 GB of ram CS4 version 4.2.1.  This problem developed there months after installing the suite CS.  Other than what is explained here, there were no changes to the operating system or CS4.

    The problem is that CS4 has ceased to recognize imported MPG files to a HDV camera about a month, using the PrPro capture utility (F5?).  These files have been imported into the project and then treatment Panel (MIC, effects, etc.) on a 64 THAT HDV preset timeline minute.  The entire sequence has been made and read successfully.

    After completing the sequence, I exported it with SOUL to create the elementals of blue ray MPEG to add in yet.  The TEA code finished without obvious mistake.

    Then I created a project again and tried to add the asset - an audio and a video file.  The audio file is added without problem.  Importing video files failed 99% with encorr and Windows hung.  Power off required stop.

    Suspecting a problem with the video file, I open the video file in Windows Media Player and it played ok.  (I note here that this was the first time on this machine that I used WMP, and he did a few configuration steps?)

    I tried yet again without success.  At the next reboot, I open the windows task manager and placed on the second screen so I could watch the CPU to use.  The use of the CPU ran 3 to 8% but when still hung, grew the Task Manager

    I have uninstalled and reinstalled again and SOUL and then upgraded for current levels of the rev.  Same answer as before.

    Based on a post on the site again, I deleted the cache of media key in the registry and rebooted.  Always without success.

    At this point, I decided to see if one of these manipulations had affected the PrPro project.  The project, the sequence and the project Panel all come up as before.  However, all the MPG files were marked OFFLINE.  AVI files and PSD image files were unaffected - they remain linked. These files are all on the HARD disk in the PC itself - no removable disks or network

    I tried to re bind the file by clicking on the main capture file, but each attempt resulted in the error message "unsupported format". or corrupted file.

    Using WMP, I found that the files were not damaged.  I also confirmed that ADobe had recreated the media cache keys and was in fact identified files files.

    I tried to reimport the original capture file and received the same error message.

    I have paid full CS4 and I confirmed that I had options MPEG, when I created a new project.

    For now, I'm more interested fixed the PrPro reason no longers recognizes MPG files he captured, processed and made yesterday. I will fight the problem still on this site.

    Everyone knows this or can make a suggestion how to fix this?

    I do not see why reinstall again and SOUL would have caused this.  I can suspect WMP.  Where can I find which codecs are charged and their priority? What is the codec for prpro would look? MainConcept?

    I intend to use Gspot to see this as code mpg files - need the codec used by adobe.

    Any help you give would be appreciated.

    I can help you with one of those - project files/folders are intact. I am paranoid that I save things like that, even if they should not be affected in some way.

    Like the Adobe Clean Script, run several times is designed to eliminate all things Adobe CS4, I don't know how it might affect the other Adobe programs in a suite. Maybe others can give you a definitive answer.

    I also usually recommend run a cleaner registry, like CCleaner (and to let the default registry backup first), before the reinstall. IIRC, a user had a problem with him, but could have been OE, as most of the users here swear by it, and I've never had a problem (always do the backup of the registry but).

    Good luck and sorry for the bad news. Maybe someone from Adobe can shed more light on why, but I have yet to hear of what happens with CS5, so maybe all that has allowed the reversion has been fixed.

    Furthermore, it seems important to make all updates immediately after reinstalling, before launching the program. It is in any case the recommendation.

    Hunt

  • I want to transfer my files to my external hard drive free windows click on my mac, it recognizes the drive but I can't nothing or see the files. Any help is appreciated

    I need to transfer my files to my external hard drive free windows click on my mac.  I can see the drive but cannot do anything or transfer.  any help is appreciated.

    The drive does not appear in the Finder?  Do you get an icon for it on your desktop?

    You say that it recognizes the drive, how exactly, what is the point?

    What happens when you try to use it?

    How the drive is formatted?  Is it encrypted?

  • "The missing config file corrupt" error message appears

    When I start my laptop, I get the "Missing config file corrupt" message and I can't start windows, it falls needs the original installation cd-rom!

    It seems that I do not have this cd? That I should?

    I don't want to just do a restore from the hard drive that I'll lose everything.

    Any ideas?

    Please, I beg you!

    Hello

    Have you tried booting in safe mode?
    If it is possible, then you can try to use the System Restore tool under Programs Accessories System Tools, you should find.

    Try to roll back the OS to the beginning. Well, if this procedure doesn't help then as said jmatthews you save files on the other computer and reinstall the operating system.

  • I have a file corrupted on my windows xp Hyperthreaded system. the file is c:\Windows\System32\svchost.exe. is there a way I can get this to work without a windows dump

    the title tells the whole story

    Hello

    1. how assume you that the files are corrupt?

    2 are you facing problems on your computer?

    I suggest you to try the steps below and check if it helps.

    SFC [SFC system] scanner on the computer that would be a system file corrupt on the computer search and replace.

    http://support.Microsoft.com/kb/310747

    Hope this information is useful.

  • Why not Windows Media Player 11 does not recognize w4a files in the library list more.

    I have Windows XP Pro (SP3) with Windows Media Player 11. I had a virus wipe my hard drive (everything has been updated) and after reinstalling and updating everything, it no longer recognizes the w4a files, but it automatically plays them the OMP 11 if I click on the file in Windows Explorer.

    Before the accident, all the files on my computer w4a was included in the library. Now the entire albums, as well as individual songs are missing. In fact, now NO w4a file is listed. So my question is, why does Windows Media Player 11 recognize the w4a files?

    Neil

    Hello

    Method 1: I suggest you try the steps from the link below and check if it helps.

    a. close Windows Media Player.
    b. find the file of database on the computer that contains the entries of your library. In general, the library database file (CurrentDatabase_219.wmdb) is located in the following directory:
    (Drive :) Users/xxx(the user name)/Appdata/local/Microsoft/Media Player
    c. right click on the file and then click Rename.
    d. rename the file by changing its file .bak extension.
    e. start the player. When you do so, a new database of library file is created.
    f. press F3 on your keyboard to open the add to Library dialog box search for computers.
    g. click the Browse button to search for a folder on your computer that contains digital media files. Specify the location of the folder in the box look in.
    h. click on the search button.
    The player will search for digital media files and playlists in the folder you specify and add to your library. If you have your files and playlists stored in different folders on your computer, you may need to search for files several times, by specifying a different folder every time.

    Method 2:
    You may need to rebuild the database of Windows Media Player.
    Here's how:
    To resolve this problem, delete the Windows Media Player database. To do this, follow these steps:
    a. exit Windows Media Player.
    b. Click Start, run, type %LOCALAPPDATA%\Microsoft\Media Player and then click OK.
    c. Select all files in the folder and then click on Delete on the file menu.
       Note: You don't have to remove the folders that are in this folder.
    d. restart Windows Media Player.
    Note: Windows Media Player automatically rebuilds the database.

    Hope this information is useful.

  • I have a file corrupt Microsoft. He told me to run the chkdsk utility, but it won't work. I can't defrag my pc because of this

    I have a file corrupt Microsoft on my computer. I have no idea what this file. When the warning it tells me to run my chkdsk utility. I tried to do, but it won't work. I can't defrag my pc cause when I try it tells me scheduled for the chkdsk utility. It really seems to be spoil and slowing down my computer. I don't know much about computers so it becomes really frusrating. Any help would be really appreciated!

    Hi DonnaPeterson,

    Click Start-> run, type &-> chkdsk c: / f-> ok. You will be asked to schedule the scan of the disc, restart your pc.

    If above used to work, start your pc in safe mode and try.

    I hope this helps.

  • filmmaker does not recognize the MTS files

    I use Widows VIsta.
    I used the windows Director to edit MTS files and was very satisfied of this. Then it stopped working, it does not recognize the files more. As I have understood, by browsing forums, Director of windows LIVE should treat this type of video file. I've updated Windows LIVE essentials and requirements. Still not recognize the MTS file.  Can someone help me? Thank you.

    Your computer may be missing code, download and install K-lite code pack can solve the problem. K-lite code Pack is free and safe, and it includes almost every video code and audio code. Or it can convert your video to wmv video for a test, I know that windows movie maker supports wmv video well. And this guide will show you how to convert mts video to wmv video.

  • Windows Media Player-does not recognize the mpeg4 files

    My media playes does not recognize the mpeg4 files

    I recently had to re - install windows vista, after that everything works well, but when I try to read a MPEG4 file, it gives me an error message that it can't play at this time of the fine.  It plays music, mpg3 files fine... I tried to do a 'quickfix' but it didn't work.

    Hello

    I suggest you to download and install the latest pack of codec for Windows Media Player. Make a search using your favorite for more information search engine.

    See also:
    http://Windows.Microsoft.com/en-us/Windows-Vista/codecs-frequently-asked-questions


    Note:
    software use of third parties, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Kind regards
    Afzal Taher
    Microsoft technical support engineer

  • file corrupted in the trash

    Charles here, I have a new fx mainboard MSI 760 gm - e51 and installed an updated release of windows 7. I have McAfee total Protection antivirus product. Already have a file corrupted in the trash. Not happy with Mcafee. Any suggestions on a good anti-virus product? Also corrupted file attached to the application of google chrome. I tried to uninstall/features of the program but could not find the path of the windows folder. Google app is detained in \User\AppData\Local\Temp\65B3A9~1\ that is not in my temp folder. There is no Recorder program called iso (pushisher alex freiman) that I don't recognize cannot remove or delete.  Any suggestions to remove the wire corrupted in r/bin. I had to re - install windows again, but when I hit install it says 'Save Temp files' is the last thing I want. Is this normal. Save and delete the temporary files? McAfee says not an infection and was unable to help him.

    Need help, thank you
    Charles

    Charles here, I have a new fx mainboard MSI 760 gm - e51 and installed an updated release of windows 7. I have McAfee total Protection antivirus product. Already have a file corrupted in the trash. Not happy with Mcafee. Any suggestions on a good anti-virus product? Also corrupted file attached to the application of google chrome. I tried to uninstall/features of the program but could not find the path of the windows folder. Google app is detained in \User\AppData\Local\Temp\65B3A9~1\ that is not in my temp folder. There is no Recorder program called iso (pushisher alex freiman) that I don't recognize cannot remove or delete.  Any suggestions to remove the wire corrupted in r/bin. I had to re - install windows again, but when I hit install it says 'Save Temp files' is the last thing I want. Is this normal. Save and delete the temporary files? McAfee says not an infection and was unable to help him.

    Need help, thank you
    Charles

    Open a command prompt run as admin

    In the command prompt type this

    RD /s /q D:\$Recycle.bin

    (Where D: is the drive letter of corrupt... yours may be different)
    If it is c type this rd /s /q C:\$Recycle.bin)

  • Win 7 does not recognize the file type for the installation of the theme.

    Original title: download and install desktop theme

    I would like to install the panoramic snow theme but shows like PanoramicSnow.deskthemepack file extension. Win7 does not recognize the file type for the installation due to the addition of the "office" in the extension.  would it be possible to have that corrected please?  Thank you!

    Hello PMacCk,

     
    Thanks for posting your query in Microsoft Community Forum.
     
    Basically, the .deskthemepack extension is not recognized by Windows 7 because it is introduced in Windows 8. The new "panoramic" desktop themes all use this format.
     
    For reference, please see:
     
     
    There are still regularly .themepack themes available and those who continue to work in Windows 7 and Windows 8. Please visit the following link to download and install the themes:
    Themes
     
    Hope this information is useful.
  • I can't sync my iPod to Windows Media Player. WMP does not recognize the iPod and I can't drag music files between them

    My iPod is connected to the computer and it works fine with iTunes.  But I can't get the music in Windows Media Player to iPod.  When I try to sync in Windows Media Player, it does not recognize the iPod, and I can drag files from WMP to iTunes or the iPod.

    You cannot synchronize an Apple product in itself using WMP, unless you buy a 3rd party. You must use iTunes.

    See you soon,.
    Jerry

Maybe you are looking for

  • Building an application

    I created a VI and compiled into an .exe file that runs and works well.  The only problem is that the .exe immediately begins running as soon as I open it.  It is a problem because the program starts to run before I can enter all the parameters, and

  • What program to burn a data DVD, using the software provided on a 1900 Pavilion's?

    Usage: XP Service Pack 3 Hi, I'm trying to burn a disc of data on a 1900 Pavilion DVD and I do not know what program to use the suite provided with it. InterVideo Home Theater etc is for the movies, but also Windows Movie maker. Windows Media Center

  • HP... But no video.

    I recently bought a new laptop HP Windows 8 and found everything go well until the online to sites such as YouTube. When I first attempted to watch a video on YouTube, I found that the audio would play; However, the video itself does not and instead

  • RV220W throttling

    I have a RV220W that I want to set the throttling on. If upload us files to yousendit or a FTP server, it saturates the connection and stop basically all other traffic until the download is finished. Looking at the manual, it seems he should do, but

  • PC not connect wireless to my brother 665 printer

    PC runnign windows 7 64 bit not connect wireless to my brother printer 665 cw. It allows to connect now, it won't. Running thorugh cradle Point router that says its connected. any help please.