[CS5] Unable to save or close a document

I'm working on porting a plugin from CS4 to CS5. One of its functions is to save each page of a document as a separate file. It does this by saving a copy of the main document, opening it, removing the unwanted pages, and finally saving it. This worked fine in all previous InDesign versions, but in CS5 IDocFileHander is returning false for CanSave() and CanClose(). Ignoring that, or processing a save or close command directly, causes ID to enter protective shutdown.
There was another message posted recently with a similar problem  ( http://forums.adobe.com/thread/647045?tstart=0 ), but I'm not performing my actions as part of a command or a command sequence. Is there another reason why InDesign wouldn't allow me to save or close a document?

Hello Andrew,
here is Adam from the thread you already read. I might some more hints for you. First, when I was saving my document, I needed to add a textframe, then export the document *with* the textframe to XML and after that I deleted the textframe so the user doest see anything. So it looked like:
SaveMyDoc(docref)
     1. add a textframe
     2. export my XML file
     3. delete my textframe
     4. call IDocFileHandler to save it <- here CanSaveAs Asserted
When I changed to following style, I got what I needed without the Assert
SaveMyDoc(docref)
     1. call IDocFileHandler to save it
     2. add a textframe
     3. export my XML file
     4. delete the textframe
I got no assert, but the document was dirty and the user had to do Save again which was not nice.
I added line 5:
     call IDocFileHandler to revert to the saved file.
Now it feels OK.
More notes: my methods are in a facade in the model plugin and are called via Utils<IIMyUtils>(). I double checked my commands which set the persistent data in my document.
Lets hope what is written here is useful.
//Adam

Similar Messages

  • I am using word 11 and cannot save or close my document nor do I even have the option to edit my document

    I drafted my document without a problem. I went to do a final save and close the document but it seems as if the document is frozen. I have never experienced this before. Help! I need to print the document but I can't even do that.

    Questions about Microsoft Word are best asked on Microsoft's own forums.

  • Adobe CS5: Unable to install updates, close instances of AAM to continue.

    I have come across this issue twice so far in my summer madness of machine deployments where I work at a unversity. The message I get while trying to run updates using Adobe Application Manager:
    Some updates failed to install.
    The following updates were unable to install. If you wish to install these updates, please fix the problems below and retry:
    [INSERT ADOBE SOFTWARE TITLE HERE]
    You are already running the Adobe Application Manager. Please close all instances of Adobe Application Manager in order to continue with this installation.
    Below is a snippet of my aamu.log file:
    2010-06-24T23:18:24: >>> Adobe Updater Log Begin >>>
    2010-06-24T23:18:24: UpdaterCoreImpl::InitLogFile : Application Version 1.0.0.67
    2010-06-24T23:18:24: UpdaterCoreImpl::InitLogFile : cmdline option --> -logFile = /Users/mshepherd2/Library/Application Support/Adobe/AAMUpdater/1.0/aamu.log
    2010-06-24T23:18:24: UpdaterCoreImpl::InitLogFile : cmdline option --> -logLevel = 2
    2010-06-24T23:18:24: UpdaterCore : Returning from << UCInitialize >> Returning with outErr Value =>  = 0
    2010-06-24T23:18:25: Returning from << UCCheckForUpdates >> call with outErr value -  = 0
    2010-06-24T23:18:25: CFU(Webfeed):: Web feed hasn't changed since last time.
    2010-06-24T23:18:25: CFU(Webfeed): Webfeed is empty
    2010-06-24T23:18:25: CFU(Webfeed): MRL is empty
    2010-06-24T23:18:25: Check for Updates was done successfully.
    2010-06-24T23:18:44: Check for Updates was done successfully.
    2010-06-24T23:18:44: UCIsSelfUpdateAvailable : Function returned with value =>  = 0
    2010-06-24T23:18:44: UCIsSelfUpdateAvailable : Is BOB downloaded =>  = 0
    2010-06-24T23:18:44: UCDownloadUpdates : (A) UCIsSelfUpdateAvailable API returned value = 0
    2010-06-24T23:18:44: StartUpdateInstallerSubsystem : WARNING - RIBS Setup is Already running.
    2010-06-24T23:18:45: Returning from << UCTerminate >> call with value = 1
    2010-06-24T23:18:45: UpdaterCoreImpl::ShutdownLogFile : Going to call ShutdownESDLogFile()
    2010-06-24T23:18:45: <<< Adobe Updater Log End <<<
    I'm mainly working with CS5 Design Premium Suite (running OS 10.6.3) with users/myself and haven't been able to solve this problem. We utilize Active Directory logins and give the users admin rights ( I know...I know gotta love education). To get right down to it I'll list what I've tried on my machine and on someone else's with the exact problem.
    - MADE SURE NO OTHER ADOBE APPS OR AAM IS RUNNING AS A PROCESS (duh)
    - deleted any local adobe pref files, cache files and adobe application support files.
    - deleted login keychain
    - ran disk permissions
    - ran Adobe Cleaner and reinstalled the whole suite numerous times...did nothing
    - tried using both a different local and AD account, this did infact allow me to run the updates. This proves that either local accounts or AD account      can work...just not mine!!
    - I've even moved my user folder data so next time I logged in, it would create a new user folder. This still produced the same error. Does it have to      do with anything in the user directory services and permissions??
    One pattern I found was using another account whether if it was a new local account or a fresh AD account logged in, I would get the prompt for the AAM to edit the system.privilege.admin file prior to it searching for availible updates. Logging in has myself I don't get this.... therefore it goes straight to the error message.
    I hope there's a fix for this, I've learned far more than I ever wanted to learn about the file structure of the vast CS5 suite and its smaller AAMUpdater counterpart.

    I have the same issue, particularly with Pixel Bender 2.5, all the other upgrades get installed correctly without trouble but this one always fail, the message I get is the same one every time:
    Adobe Pixel Bender Toolkit 2.5 Update
      Installation failed
    Can you point me in the right direction? It seems to me that the patch is faulty.
    Thanks.
    Update 01/15/2011
    Here's another update on my issue with Adobe Application Manager, I just realized today that actually none of the available upgrades got installed. Although it only marks an error with Pixel Bender, other components such as Photoshop, Premiere and others aren't being upgraded either even when the program tells you otherwise, what I mean is that for example there's Photoshop 12.0.2 available for download so I click on "Update"; the files get downloaded and installed with no error message being displayed but when I check the software it is still version 12.0.1, the same is happening with Premiere and another one, can't remember which one.
    This is additional to the issue of Pixel Bender being unable to upgrade.
    Please advise,
    Thanks,
    David.
    Update 01/16/2011
    I tried to download all the available updates individually from the Adobe website, the only one that went through was Photoshop, but then when I double clicked it to install it the same faulty application manager launched and I got the same behavior than before, it runs the installation and displays a message that states that everything was installed correctly, yet there no upgrade performed.
    All the rest of the available downloads failed to mount.
    Also the speed for download is excessively low, I checked my connection and the issue is not on my end, but yours.
    This is starting to become very frustrating.

  • Unable to save Pages 4.3 documents since 10.9.2 update

    I like Pages 5.1, but have a lot of Pages 4.3 documents. I also use an app for creating wordsearches and crosswords which exports to Pages 4.3.
    Prior to updating to OS 10.9.2 today, I was able to open 4.3 documents, edit them and save them.
    I would be presented with the message 'This document is too old' and then be given the option to open it in 5.1
    Once opened, I would also get a message box asking me if I wanted to convert the document to 5.1.
    This no lonnger happens. I can open 4.3 documents using Pages 4.3, but cannot save them. Nor do I get asked to convert the file to 5.1.
    What's happened?

    Puzzlemaker is an app for Mac by Hokua Software
    http://www.puzzlemakermac.com
    I have been in touch with the developers who are looking into it.
    They say:
    "A temporary fix for the problem is to replace the & with the following: 
    &amp;
    and then export to Pages. The & symbol a special character used by Pages as its used in HTML, and thus when it sees the & it chokes. To render ampersand it needs to be converted to &amp; first. This will be fixed in the next release"
    Interesting!

  • Suddenly unable to save changes to shared document (10.6.4 server & client)

    Hi,
    a client of mine has a network with a 10.6.4 server and mixed clients (10.6.4 and 10.5.8). People edit documents within shared folders (mainly using Word and Pages) and all works as expected until, sometimes, some of them suddenly can't save changes to the file they were working on, so they have to save it locally (BTW, the mounted disks are still accessible)
    The strange thing is that the above does usually happen around 7 PM: I've tried to find out if there are periodic maintenance tasks on the server, other than "daily" (scheduled at 3 AM), but I found none.
    The server is running Time Machine, but I've disabled backup of either OpenDirectory and SharePoints data to temporarily avoid a known problem related to it (spontaneous unmount of network volumes and so on).
    Thanks for your help!

    It sounds like a permissions error within her Home folder. Repair Permissions doesn't touch anything within the Home folder. Use this procedure for that...
    1. Start up from your Install Disk.
    2. Choose your language.
    3. Choose "Reset Password" from the "Utilities" Menu.
    (Don't worry we are not going to do that.)
    4. Choose the option at the bottom to Repair Permissions and ACLs on your Home Folder.
    5. When finished restart from HDD.
    Terminal would be quicker,,,
    sudo chown -R $USER ~press enter
    You'll be prompted for your password, when you enter it, it will be invisible. Next enter this command…
    chmod -R u+rwX ~press enter
    -mj

  • Unable to save to mysite - personal documents

    We are not able to save desktop office document (2007 or 2010 32 bit)  to Personal document folder on mysite. It is showing
    folder structure on save as window; when you select personal documents it is prompting for enter domain credentials. Once correct credentials are entered, it is giving error
    "You can’t save here. Please choose another location" even for site owners and administrators.
    I check trusted location settings, still no changes
    Also verified in CA as per suggestion http://social.technet.microsoft.com/Forums/en-US/sharepointsocialcomputing/thread/8b53517c-cef4-4494-8a48-e72257a691b7
    Please help

    I have had this as well for a MOSS 2007 and Word 2010 setup.
    Try clicking along the locations in the left-hand area of the SaveAs dialogue box, then type in the http location of the document library/folder for your site.
    I blogged about it here:   http://blog.demo-listen.com/wp/?p=485

  • Unable to save document as (Flash CS5 - BUG - OSX)

    I have upgraded my CS4 to CS5 on MAC OSX and i'm having problems saving new and existing fla files. It doesnt always do it but it's very anoying when you have done some work and are unable to save it.
    I get this message:
    unable to save document as (file name)
    please try saving to a different filename or location.
    even if i try to save as to a different location i get the same message, this ONLY happens in flash CS5 and does not do it on any other application or even flash CS4. To put it bluntly i am absolutely furious with this and when you pay this amount of money should not get this hassle for such a simple action.
    I have tried phoneing the adobe support line and it's a joke, you can't even understand the operator to even get anywhere and i just gave up having to repeat myself and asking them to repeat themselves.
    I would be grateful if someone out there knows an answer to this or have a contact email for adobe support that i can email them direct. As a flash developer it's critical i can get on with my work without worrying if my work will even save.
    Thanks in advance.
    UPDATE: I can save files in CS5 as CS4 documents but not as CS5, this is so annoying.

    I am having this same issue with Window 7 Professional 64 bit.
    It seems I can reproduce it pretty reliably but have only seen it since I started working with trying to import and export runtime shared font libraries.
    I create a new fla
    I create a font asset in the library and set it to import and specify a relative path to the shared swf.
    I save and test my swf and it works.
    I go back into the font asset and change the location of the font swf to another relative path (this file is loaded into a shell so the raltive path will change).
    After changing that import path I can no longer save the file even if I revert back to the previous value.
    I have repeated this process a couple of times.

  • Adobe flash error: unable to save the document please try to save it to a different file name

    Hi,
    I am editing few fla files with my Adobe Flash Professional. Suddenly it stopped saving them and is giving me an error; unable to save the document as... please try to save it to a different file name or to a different location.
    i changed the location to save the files, but I still receive the same error.
    Is there any one who knows how to deal with this error?
    Thanks,

    close flash.  right click its icon or start program and click "run as administrator".  save your fla. 
    if that fails: restart your computer, create a new directory on your desktop and save a test fla (eg, named test) to that new directory.  any problem?

  • Use VBA and Excel to open Dreamweaver HTML (CS5), find and replace text, save and close

    I wish to use VBA and Excel to programmatically open numbered Dreamweaver HTML (CS5) and find and replace text in the code view of these files, save and close them.
    I have  5000 associations between Find: x0001 and Replace: y0001 in an Excel sheet.
    I have the VBA written but do not know how to open, close and save the code view of the ####.html files. Please ... and thank you...
    [email protected]

    This is actually the code view of file ####.html that I wish to find and replace programmatically where #### is a four digit number cataloguing each painting.... In 1995 I thought this was clever... maybe not so clever now :>)) Thank you for whatever you can do Rob!
    !####.jpg!
    h2. "Name####"
    Oils on acrylic foundation commercial canvas - . xx X xx (inches) Started
    Back of the Painting In Progress </p> </body> </html>
    Warmest regards,
    Phil the Forecaster, http://philtheforecaster.blogspot.ca/ and http://phils-market.blogspot.ca/

  • Microsoft Office 2004 (Word) unable to save files  I have been running Office 2004 on my Intel iMac with Snow Leopard for some time and all of a sudden I cannot save a document. Word just stopped responding and I have to force quit. I can open Word and cr

    Microsoft Office 2004 (Word) unable to save files
    I have been running Office 2004 on my Intel iMac with Snow Leopard for some time and all of a sudden I cannot save a document. Word just stopped responding and I have to force quit. I can open Word and create a new document but I cannot save it. I reinstalled Word but that didn’t help. Then went to the Internet and found at least one other Mac user having the same problem which it suggests is caused by a recent Mac Security Update:
    http://answers.microsoft.com/en-us/mac/forum/macoffice2004-macword/word-2004-wil l-not-open-or-save-documents/b04eb870-9b0d-4f3b-bb47-b122301e36f6
    So I check for a new Mac Security Update and sure enough there was one. I downloaded it and now Word seems to be working, as it should. I can both open and save files. The only problem remaining is that when I open Word I get the following error message “An unexpected error occurred while trying to load the Microsoft Framework library”. I contacted Apple but they were unable to help.
    How can I get rid of this error message?

    Look, I realize you might have to get your machine working, so this is how you revert back.
    Restore proceedure to pre-Security Update 2012-001 v 1.0 & v 1.1
    #1 Backup your personal data off the machine.
    Backup files off the computer (not to TimeMachine). If you don't have a external drive, get one and connect to the USB/Firewire port and simply drag and drop copy your User folder to the external drive, it will copy all your files. It's best to have two backups of your data off the machine when trying to restore.
    Disconnect all drives now to prevent any mistakes from occuring.
    #2 Reinstall OS X 10.6 from disk
    Get out your 10.6 install disk and make sure it's clean and polished (very soft cloth and a bit of rubbing alcohol, no scratches) If your disk is borked, you'll have to order a new one from Apple with your serial number.
    Hold c boot off the 10.6 disk (wired keyboard, internal optical drive), use Disk Utility First Aid to >Repair Disk  of your internal drive  (do not format or erase!!), Quit DU and simply re-install 10.6.
    Note: Simply reinstalling 10.6 version from disk (without erasing the drive) only replaces 10.6.8 with 10.6.x and bundled Apple programs, won't touch your files (backup anyway)  or most programs, unless they installed a kext file into OS X itself. (only a few on average do this)
    #3 Update to 10.6.8 without Security Update 2012-001 v1.0 or v1.1
    Reboot and log in, update to 10.6.8 via Software Update, but EXCLUDE THE Security Update 2012-001 by checkinig the details and unchecking the blue check box.
    #4 Reinstall any non-working third party programs
    When you reboot, make sure to reinstall any programs that require kext files installed into OS X, you'll know, they won't work when you launch them or hang for some reason as they are missing the part they installed into OS X.
    If for some freakish reason you get gray screen at any time when booting (possible it might occur when you reinstall older programs), hold the shift key down while booting (Safe Mode, disables kext files) and update your installed third party software so it's compatible with 10.6.8.
    https://support.apple.com/kb/TS2570
    That's it really.

  • Unable to save a document after signing it in Adobe Acrobat Standard XI.

    I have a user who is unable to save .PDF files that he is opening in Outlook via an embedded link in the email.
    When he clicks on the link, Acrobat opens the document without issue. However, when he applies his signature and goes to save it over the existing document on our internal network file server, he gets the following message: "The document could be saved. The disk you were saving to or the disk used for temporary files is full. Free some space on this disk and try again, or save to a different disk."
    The network drive has a significant amount of space available, at least 500 gigs.
    This was not an issue up until Friday of last week. Prior to Friday, he had no issue signing documents emailed to him that contained a embedded link pointing back to the file on our internal network file server.  If I have him browse directly to the file in Windows Explorer however, he can open sign the document and overwrite the existing copy.  While that works, I would like him to regain the ability to save his file after opening it from his email; as unless I show him how to get to the file directly via Explorer, he is unable to do so. (And he has to sign many documents a day as well)
    Other users on my network are not encountering this issue, however some are running a different mix of Office and Acrobat. (Such as Office 2010  and Acrobat X, etc)
    I've researched this issue for prior versions of Acrobat and tried to applied the same resolutions for this issue without a positive result. So far I have been unable to find any solutions for this issue dealing with XI. 
    Has anyone else run ino this issue with Acrobat Standard XI? If so what did you do to resolve the issue? Thank you for any help that you can give me.
    Here is the basic setup that his computer is running:
    Windows 7 Profesional 64 bit
    Microsoft Office 2013 Professional
    Adobe Acrobat Standard XI
    Internet Explorer 9
    Also my user is has full Admin rights to his workstation and has the appropriate security rights to the folders he is trying to save the signed document to.

    I would like to confirm the exact same message is happening with us.
    Several users have been receiving the error message shown below when trying to save PDF’s to their desktop or other server.
    We are experiencing the issue with earlier versions of Acrobat (8 & 9) as well.
    This is only started happening this week?

  • HT202879 i am unable to save documents in keynote or pages. The file "untitled.key.tef" could not be opened keeps coming up.

    i am unable to save documents in keynote 09 or pages. The file "untitled.key.tef" could not be opened keeps coming up. Can anyone tell me what is happening?

    How did you originally make these documents?

  • Flash Cs6 incredibly sluggish save time, & unable to save document as

    I am using Flash CS6, animating on ones with the brush tool.  my timeline is 100 frames long, there arent keyframes on every frame, but there are a lot of them.  my .fla file is 79mb. 
    there is only one thing in my library - a 15 second .wav audio file... 
    Saving the .fla file takes about 2 1/2 minutes!
    after the 2 1/2 minutes I get flashed the "cannot save document as...   please try saving with a different name or on a different volume".
    contrary to the error message the file does in fact save perfectly fine - in that volume with that name.
    what is the deal with the save time being so outrageously long? the program is equally sluggish with copying and pasting keyframes - though thats less of an issue than the save time. 
    please help me, i can send you the flash file if your willing to look at it.
    ps: I tried opening the file in cs5.5 - the save time was slightly faster, but not by much.

    Sujai, here’s what I found:
    1.       The student’s project is 58 mbytes in size. This is mostly because she used the flame deco tool to create a frame-by-frame animation of a rocket.
    2.       At school students have networked folders. The network is 1 gbit, and the server is in the same building.
    3.       It took 3 minutes and 40 seconds to save her project. At the end of the Save operation, we got the error message that it didn’t save properly (And, if we have auto-save on, this happens every 10 minutes). . However, the file was properly saved, and could be opened.
    So, it appears that Flash has problems saving files of this size, at least in our network. This surprises me, because 50 mbytes is not that big.
    I was able to get around this problem by having the student change her flame animation to a movie clip, and Tween the flames. It doesn’t have quite as cool a look as the frame-by-frame, but it’s more efficient (and only 6mbytes in size).
    Thoughts? JR

  • I was able to open a pdf document but was unable to save to my computer.  I have adobe acrobat pro x

    I was able to open a pdf document but was unable to save to my computer.  I have adobe acrobat pro xi.  the message i received was.  "the document could not be saved.  there was a problem reading the document (8)."
    I was able to convert it to a Word document  and then save, but I should not have to do that.

    Did you try a Save As? What OS? Have you updated Acrobat?
    Another alternative is to print to a new PDF. That is probably a better work flow than going to WORD and back.

  • Word won't let me save or close documents

    Hi, my Word won't let me save or close pages- most of the tool bar at the top is greyed out and when I click file the only options are 'open recent' and 'share'. Does anyone know how to fix this? I've got a document open and I can't close or save it.
    Thank you!

    Word - Microsoft Support

Maybe you are looking for