.NET Assembly issue

  • Thread starter Thread starter aadam.mail
  • Start date Start date
A

aadam.mail

Hi!

We've compiled a new .NET C++ Assembly for use within our .NET
Application running on XP Embedded. The Assembly uses a native MFC
Dll. Now on windows xp everything works fine but running on embedded
we get:

System.IO.FileLoadException was unhandled
Message="Unverifiable code failed policy check. (Exception from
HRESULT: 0x80131402)"
Source="..."
StackTrace:
..
Make sure that the file is a valid .NET Framework assembly


We've been seeking the net without success. What could be wrong on
Embedded that works on XP?

Thanks for any hints and or thoughts!

Alexander
 
Hi!

We've compiled a new .NET C++ Assembly for use within our .NET
Application running on XP Embedded. The Assembly uses a native MFC
Dll. Now on windows xp everything works fine but running on embedded
we get:
This sounds similar to what we went through. Try installing the mfc
component in your image post FBA. If your image doesn't support the
installer, try a test image that just to see.

http://www.microsoft.com/downloads/...d9-ae1a-4a14-984d-389c36f85647&displaylang=en

Currently we install that after FBA. I couldn't manage to make an XPe
component out of it.

Hope that helps.

Cheers,
Kareem

System.IO.FileLoadException was unhandled
Message="Unverifiable code failed policy check. (Exception from
HRESULT: 0x80131402)"
Source="..."
StackTrace:
..
Make sure that the file is a valid .NET Framework assembly

We've been seeking the net without success. What could be wrong on
Embedded that works on XP?

Thanks for any hints and or thoughts!

Alexander

T
 
Back
Top