Link to home
Start Free TrialLog in
Avatar of MaseBase
MaseBase

asked on

An error occurred while saving the metabase file

I have been seeing an error in my event logs for some time now and I cannot track it down. The exact error is eventID 51228 in the System event logs on Win 2k3 Server w/ SP2.

Event Type:      Error
Event Source:      IIS Config
Event Category:      Catalog
Event ID:      51228
Date:            4/28/2008
Time:            11:01:01 AM
User:            N/A
Computer:      <Removed>
Description:
An error occurred while saving the metabase file.  This can happen when the metabase XML file is in use by another program, or if the disk is full.  Check for corresponding events in the event log for more details.
ErrorCode           : 0x80070020

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

I have located this KB article, which has not helped much:
http://support.microsoft.com/kb/902161

At first I thought it was Avast! A/V that may have had a lock on some files because of real-time scanning. I had that removed and the error still occurrs. This is a problem because I cannot make any permanent changes to IIS because of it.

We definitely have sufficient disk space, so that is not the issue. Then I have been trying to use Filemon to identify what process might have a write lock on the metabase.xml file. I have not found anything out of the ordinary, but have a saved Filemon report if it would help for anyone to see that.

Additionally, I located this article: https://www.experts-exchange.com/questions/22556847/Can't-Edit-IIS-Metabase-xml.html?sfQueryTermInfo=1+file+metabas+save
Saw that I also didn't have an encoding="UTF-8" attribute in the header of my file, so I added it and that has also not resolved anything.
Avatar of MaseBase
MaseBase

ASKER

Some more information below, I still need help in finding a resolution!

Using FileMon, I am only seeing 2 entries for the MetaBase.xml file (the rest are for MetaBase.xml.tmp -- is this file normal?).  The first entry is FASTIO read operation -- which is successful. Then dozens of other entires, again, for the MetaBase.xml.tmp file... And then toward the end, an entry that shows "SHARING VIOLATION" by the same inetinfo process, showing these details: "Options: Open  Access: 00100002"

Using FileMon, Process Explorer, Handle.exe and Unlocker to see what is happening.

When using the Unlocker, it shows t hat there are no currnet locks on the MetaBase.xml file. There IS a lock, however, on the MBSchema.xml file -- Is this normal? If not, maybe I could unlock it- I'm just not sure if this is the way it should be running normal, with a lock on the MBSchema file?
Avatar of meverest
Hi,

the filemon report should tell you what process is accessing those files.  it should only be inetinfo and possibly a svchost process.

Cheers,
ASKER CERTIFIED SOLUTION
Avatar of MaseBase
MaseBase

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"Anyway, by moving this dll & folder out of the inetsrv folder, and the reassigning the ISAPI filter and Web Extensions, it works fine"

How does one do that?