11 Replies Latest reply: Jul 11, 2012 11:56 AM by Alfeo Dixon
DNSandhu Level 1 (0 points)

Every time I try to open iWeb I get the following message:

 

Can’t open file “~/Library/Application Support/iWeb/Domain.sites2.”

 

Can anyone help?


iWeb '08, iOS 5.1
  • Roddy Level 6 (17,265 points)

    What operating sytem are you using - Lion?

  • DNSandhu Level 1 (0 points)

    Yes

  • Roddy Level 6 (17,265 points)

    See this page under "iWeb and Lion OS X 10.7" for info about the library folder and opening Domain files...

     

    http://www.iwebformusicians.com/iWeb/iWeb-Tips.html

  • DNSandhu Level 1 (0 points)

    Thanks but I don't have the iWeb folder in Application Support

  • Roddy Level 6 (17,265 points)

    Make sure you are looking in the user library and not the system one.

  • Old Toad Level 10 (135,334 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.

     

    To open 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.

    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 compiled version with this link: iWeb Switch Domain.

     

    Just launch the application, 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.


    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.

     

    OT

  • Alfeo Dixon Level 1 (65 points)

    still not working for me :'(

  • Old Toad Level 10 (135,334 points)

    Try this:

     

    1. move the domain file from your Home/Library/Application Support/iWeb folder to the Desktop.
    2. launch iWeb, create a new test site, save the new domain file and close iWeb.
    3. go to the your Home/Library/Application Support/iWeb folder and delete the new domain file.
    4. move your original domain file from the Desktop to the iWeb folder.
    5. launch iWeb and try again.
  • Alfeo Dixon Level 1 (65 points)

    this is actually one of my first attempt.  Is it due to moving the file from my I-Mac to MacBook Pro (both Lion)?

  • Old Toad Level 10 (135,334 points)

    Did you 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.  

    3. go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    4.  

      Click to view full size

       

    5. launch iWeb and try again.

    4 - then use the iWeb Switch Domain app to open iWeb and the domain file.

  • Alfeo Dixon Level 1 (65 points)

    not working for me also