The book of inspiration

October 22, 2009

‘MS.Win32.Penimc.UnsafeNativeMethods’ threw an exception

Filed under: tech — Tags: , , — zproxy @ 11:30 am

Yesterday I installed Visual Studio 2010 beta 2. All good.

Today I tried to run a WPF application. Crash!

Unhandled Exception: System.TypeInitializationException: The type initializer for ‘MS.Win32.Penimc.UnsafeNativeMethods’ threw an exception. —> System.Runtime.InteropServices.COMException (0×80040154): Retrieving the COM class factory for component with CLSID {14D4CBD9-7490-4F25-BAA6-1C5E22F6B1E3} failed due to the fo
llowing error: 80040154.
at MS.Win32.Penimc.UnsafeNativeMethods..cctor()


I needed to consult google to learn how to actually file a bug to microsoft. Oh and connect site does NOT work with Google Chrome.

Update: After a few days I created this forum thread.

This is by no means the first issue I have encountered with WPF. Previously I have seen WPF to become unresponsive just like the rendered is not there. I had to reboot to overcome that.

WPF is great, but it kind of fails once too much!

Update: Notified Jason about the issue.

Update: The fix looks like this at the time:

C:\Windows\Microsoft.NET\Framework\v3.0\WPF>regsvr32 PenIMC.dll

Do You Believe in the Users

Filed under: video — Tags: , — zproxy @ 1:00 am

If you make people feel dumb, they will hate you and go away!

Via webmomkey

PS. Video parameters “&w=800&h=500&fmt=18″

The Shocking Blue Green Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 74 other followers