Back to Top
The nuts and bolts for
Creative web development

Error: Creation empty script file failed

Question

When trying to use Layer Genie I get the following message as an error:
"Creation empty script file '[path to the local site it's trying to write to]' failed!"

Answer:

Some things to check:

  1. Are you working in a "defined Dreamweaver site"?
  2. Do your DW site files have a proper disk location (other than your desktop or some virtual directory like "My Documents")?
  3. Do you have the proper permissions (write access) for all your project directories?

Please pay special attention to points 1 and 2:

ad 1) Layer Genie needs to be used in a defined site, because it needs to copy some files from the DW configuration folder to your site folder.
To be able to do that it asks DW where the site resides on the computer. If you're not working in a defined site, then DW doesn't give a proper answer to that question (in fact it doesn't know the answer) and thus the copy action will fail.
(Note: this particular issue should be handled properly by the extension in the latest release)

ad 2) As for the proper disk location: the desktop and folders like 'My Documents' are "virtual" directories which are potentially problematic. In such cases it may well be that DW again is not capable of returning the correct location and again the copy action will fail.
So make sure your DW site definition points to a physical disk location like eg. 'c:\websites\mysite'

Marja Ribbers-de Vroed

Marja Ribbers-de VroedWell, what's there to tell?

I worked as a software engineer for a well-known Dutch software company for about 10 years. But then I decided I did not want to work there anymore.
Since then, I've been working with my husband in our own company.

I "discovered" web development early 2000, and I soon found out that I could actually create my own extra (DHTML) features in Dreamweaver by building custom extensions.
My first extension was Cross-browser AutoScroller, but I've developed several other ones since then.

See All Postings From Marja Ribbers-de Vroed >>

Share this Article

Comments

RE: Your assistance appreciated

Try removing the space in the directory name.

Your assistance appreciated

I followed these instructions quite carefully, and my version of LayerGenie is still attempting to write the file to "My Documents", even though I am in a created site. The site is, indeed, on a local hard drive (G:\New Site).

 

Any help would be appreciated.