Saturday, 6 November 2010

Microsoft Access Database Error - '80004005' file already in use

The 80004005 error noted below can be caused by insufficient security permissions:
Microsoft JET Database Engine error '80004005'
Could not use ''; file already in use.
/site/index.asp, line 7
Possible resolutions for this include:

  • Ensuring the relevant IUSR account hase write permissions for the database file and the directory it is contained within

Monday, 1 November 2010

Plesk 9.5 Default Server Repository Location on Windows Server 2008 64bit

To find the default Server Repository location on Windows Server 2008 64 bit take a look in the registry for:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config
If you cannot locate this try searching for PSA Config or DUMP_D.

The value for DUMP_D is likely to be something like:
C:\Program Files (x86)\Parallels\Plesk\Backup
Domain files, mail, databases are held individually in zip archives eg:
C:\Program Files (x86)\Parallels\Plesk\Backup\domains\undergroundgraphics.com

Looking for the Plesk Server Repository location for Windows 32bit or Linux 32/64 bit editions?  Take a look at How do I change the default Plesk Backup Repository location?

Run Google Maps GUnload() function with jQuery or Prototype

Typically the method used to run the Google Maps GUnload() function would be to place it in the body tag:

<body onunload="GUnload()">

But what can you do if you can't access the body tag directly?  Other options are available if you happen to be using using a javascript library such as jQuery or Prototype.

For jQuery use:

$(window).unload( function () { GUnload(); } );

For Prototype use:

Event.observe(window, "unload", GUnload);