Error 0x88982f50 when setting properties on Vista 5270

I'm trying to set some properties on a JPG file in order to experiment with the search & organize APIs. I'm using the December CTP - Vista build 5270.

I get an error every time I try to do this. I get the same error whether I use the Windows Explorer or the APIs.

I used Paint (the ancient drawing program bundled with Windows) to create a small, simple bitmap of a scribble in my Pictures directory. (G:\Users\ian.IDG\Pictures on this machine. Yes, that is G: and not C:)

I then went to the Start menu and selected 'Pictures', which opens a Windows Explorer window showing the Pictures folder.

If I select my newly-created file (which is called 'Wibble.JPG'), I can see a preview and some information about the image at the bottom of the Explorer window. This includes some clickable stuff like the "Add a title" and "Add a keyword" sections. I clicked on the title one and
typed in "Foo" as a title. This brings up an error dialog.

The dialog title is "Apply Properties File". The error text is "An unexpected error is preventing the operation. Make a note of this error code, which might be useful if you get additional help to resolve this problem:

Error 0x88982f50: No error description available"

Beneath this it shows a preview of the bitmap, along with the filename, dimensions and size. There are two buttons: "Try Again" and "Cancel". Trying again just brings up the window again.

I get the same error if I try to add a keyword.

If I bring up the Properties and go to the Details tab, and attempt to edit the properties that way, I'm not offered 'Title' as an option, but trying to add a keyword produces the same error dialog.

I've also tried using the API. I've obtained an IPropertyStore for the relevant file. (I used SHCreateItemFromParsingName to get an IShellItem2, and then called GetPropertyStore.) I've then used SHGetPropertyKeyFromName to populate a PROPERTYKEY for "System.Title", which gave the format ID of {F29F85E0-4FF9-1068-AB91-08002B27B3D9} and a pid of 2. Calling SetValue on the IPropertyStore returns S_OK, but the call to Commit returns an HRESULT of 0x88982f50 - the very same error reported by Explorer. So I'm guessing it's the same problem...

I'm not sure what to make of that error - it doesn't look like a proper HRESULT - you normally see some zeroes after the 0x8...

In case it's relevant, I'm running as the member of a domain. My profile is a local one. (So the G: drive is a local volume.) My account is a non-admin account. (And I don't just mean that UAC has trimmed my token to be non-admin. The account is a standard user account on this machine.) I have write access to the directory - I wouldn't have been able to create the Wibble.JPG file in the first place otherwise.

My goal here is simply to set the title and some keywords on some bitmaps in order to experiment with keyword-based searches.

(Just in case it's relevant, I came across an odd inconsistency while investigating this. If I use IPropertyStore to retrieve the System.Title property, it gives me a blank string. But if I use OLE DB with the USearch.CollatorDSO.1 provider, and SELECT System.Title... it seems to think that the bitmap does have a System.Title - it returns the same name as the filename.)



Answer this question

Error 0x88982f50 when setting properties on Vista 5270

  • Paul Arena

    I am having the exact same problem.

    I am also using a local account/drive.  I am using the account created at the end of the install process.  I went into the admin account and in the security settings for the file, and later its parent folder, and added my user as an owner of the file (and parent folder), with full permissions.

    It works fine from the admin account.

  • Error 0x88982f50 when setting properties on Vista 5270