1 Reply Latest reply: Dec 11, 2011 12:36 PM by Old Toad
glkl Level 1 Level 1 (0 points)

iweb doesnt open, l get a message that says "The document “Domain” could not be opened". followed by "Can’t open file “~/Library/Application Support/iWeb/Domain.sites2.” Anybody experienced this and managed to fix it ?

iWeb '08, Mac OS X (10.7.2), iWeb doesn't open
  • Old Toad Level 10 Level 10 (130,000 points)

    In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.


    For opening your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.


    Just launch the applicaiton, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.


    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"

    delay 1

    tell application "iWeb" to activate


    You can download an already compiiled version with this link: iWeb Switch Domain.


    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.


    If using the Applecripte above does'nt help try the following:


    1. delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
    2. go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.

      Click to view full size


    4. use the Applescript and try again.




    Happy Holidays