Assembly.LoadFrom(...) throws exception _HResult = -2146232800

  • Thread starter Thread starter charalampos
  • Start date Start date
C

charalampos

Dear ALL,

upgrading from cf v1sp3 to v2 sp2
on a pocket pc 2003 se
using the Assembly.LoadFrom(...)
throws an exception with _HResult = -2146232800

Please advice

Thanks
 
This is a Core IO Exception. Could mean many things such as file not found,
could not read file, etc. You might want to check your project and verify
that you do not require a specific version of the Compact Framework.

Rick D.
Contractor
 
This is a Core IO Exception. Could mean many things such as file not found,
could not read file, etc. You might want to check your project and verify
that you do not require a specific version of the Compact Framework.

Rick D.
Contractor








- Show quoted text -

Dear Rick,

thanks for your response

it is not a file not found because we check about it

if ( File.Exists(sPath) )
{
a = Assembly.LoadFrom(sPath);
name = a.GetName();
}

how we can check our project and verify
that you do not require a specific version of the Compact Framework?

as you can see the LoadForm(string) is supported in 2.0

Version Information
..NET Framework
Supported in: 2.0, 1.1, 1.0

..NET Compact Framework
Supported in: 2.0, 1.0

Please advice

Thanks
 
Back
Top