This project is read-only.

Preview Handler Error 80040154 REGDB_E_CLASSNOTREG



I recently created an Icon Handler which turned out to work without any problems. I then tried to create a Preview Handler but when I loaded it into the test shell and clicked on the associated file type I got a 80040154 REGDB_E_CLASSNOTREG Error. I thought maybe I did something wrong and tried to do it again with the help of the tutorial on codeproject, but I still got the same error. I then downloaded the SharpShell Samples from github and built them. Tested it and also got the same error. I really don't get why my Icon Handler works but the Preview Handlers don't. Maybe there is something wrong with my system?

Regards Ben


Coder13579 wrote Jun 9, 2015 at 7:43 PM

Getting a similar error. Using the samples provided I get an exception when registering the server.

... The server does not have a [PreviewHandler] attribute set ...

wrote Jun 9, 2015 at 7:43 PM

Coder13579 wrote Jun 9, 2015 at 7:48 PM

I got around my problem (added the attribute), now when I click an icon file I just get an error message saying the handler failed.