0x80004005 Error Message

Jun 16, 2013 at 12:05 PM
Edited Jun 16, 2013 at 12:07 PM
From a comment by Xikul:

I've had 0x80004005 errors and I fixed them by killing and restarting Explorer.exe.

The 0x80004005 error happens during "save" after adding any property, with FileMeta(x64).msi (1.036.288 bytes):

The steps to take are:

1.Open Task Manager (Ctrl+Shift+ESC).
2.Right click explorer.exe and select End Process Tree
3.Ctrl+R (Run command), type EXPLORER (maybe contain "exe", maybe not) and ENTER
4.Enjoy, you can change any properties & SAVE.

My PC:
◾ OS Name: Microsoft Windows 7 Ultimate (Version 6.1.7601 Service Pack 1 Build 7601 - Hardware Abstraction Layer Version = "6.1.7601.17514", System Type: x64-based PC)
Jun 16, 2013 at 12:18 PM
Edited Jun 17, 2013 at 9:17 AM
0x80004005 is the most vague of error messages. Its technical name is E_FAIL, the E being for error. It tends to be used as the default error for anything that goes wrong.

I have seen it during development, but I wouldn't expect it to occur during normal usage of File Meta.

When I have seen it, it is usually a consequence of the way that Windows Explorer works. File Meta is loaded by Windows Explorer into the Explorer process the first time that it is needed, typically when reading metadata properties for a file. However, Explorer very rarely lets go of code that it has loaded, preferring to keep it in memory in case it ever needs it again. So if the state of the system changes outside Explorer, e.g. when registry entries are changed, the inconsistencies between the new state of the system and that held in memory by Explorer can cause this error.

The most reliable way of getting back to a good state is indeed to kill and restart Explorer.exe. However, if this needs to be done in normal usage, please let me know, and I will look into possible causes.