Re: TypeLoadException

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Rolf Kragh (rk1_at_datarespons.no)
Date: 10/13/04


Date: Wed, 13 Oct 2004 09:24:45 +0200

Yes, your right - applications not using CF runs fine. The exception that I
get from an application using CF is:
Fatal Application Error - Application TestApp.exe has performed an illegal
operation and will be shut down ... Exception: 0xC0000005
Is there a later QFE that fixes this problem ? What do you recommend I
should do?

Rolf

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:uGGJ166rEHA.3488@TK2MSFTNGP11.phx.gbl...
> There was a bad QFE for CE 4.2 released a while back. If you built an OS
> with that QFE in, no .NET CF applications would run. Without the QFE,
they
> were fine. Are you getting an exception when you try to run the program?
> If so, what?
>
> Paul T.
>
> "Rolf Kragh" <rk1@datarespons.no> wrote in message
> news:eqBf7s5rEHA.516@TK2MSFTNGP09.phx.gbl...
> > The problem is not the application but that I have one CE .NET image
> > buildt
> > with the latest patches which does not run my application and another
> > older
> > CE image that runs the application without problems. Anyone that have
> > observed similar behaviour caused by using the quarterly QFE patches for
> > PB
> > 4.2? The application is the same and the target is the same.
> >
> > Rolf
> >
> > "Peter Foot [MVP]" <feedback@no-spam.inthehand.com> wrote in message
> > news:OiJc854rEHA.3428@TK2MSFTNGP11.phx.gbl...
> >> If your application is compiled as a desktop project it won't run on
the
> >> device, it needs to be built against the Compact Framework as a Smart
> > Device
> >> project type.
> >>
> >> Peter
> >>
> >> --
> >> Peter Foot
> >> Windows Embedded MVP
> >> www.inthehand.com | www.opennetcf.org
> >>
> >> Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> >> Embedded newsgroups? Let us know!
> >> https://www.windowsembeddedeval.com/community/newsgroups
> >>
> >> "Rolf Kragh" <rk1@datarespons.no> wrote in message
> >> news:uvEIul4rEHA.3900@TK2MSFTNGP10.phx.gbl...
> >> > After upgrading my target system with a new version of CE .NET I get
> >> > the
> >> > following error when trying to run my application:
> >> >
> >> > TypeLoadException
> >> > Could not load type
> >> > System.Data.DataSet from assembly
> >> > System.Data, Version 1.0.5000.0,
> >> > Culture=neutral
> >> >
> >> > The application is a C# application using MS SQL desktop engine as
> >> > database.
> >> > I found a directory named "1.0.5000" under the ...\Visual Studio .NET
> >> > 2003\CompactFrameworkSDK\... directory. I have one theory that the
> >> > problem
> >> > is caused by older files on the development system than on the target
> >> > system, but I have not been able to find any simple way of upgrading
> >> > the
> >> > Visual Studio .NET CF files. Any help on this matter would be greatly
> >> > appreciated.
> >> >
> >> > Regards,
> >> > Rolf Kragh
> >> >
> >> >
> >>
> >>
> >
> >
>
>



Relevant Pages

  • Re: Cant use C# application in CE.net 4.2
    ... And, there was a QFE (an interim fix provided to OS developers by MS), which ... caused all CF applications to generate an exception very much like that one. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: NT AUTHORITYNetwork Service cant write to .NET Directory?
    ... thats how ASP.NET works - pages are compiled to classes, these classes go into assemblies and these assemblies have to be stored somewhere. ... Developing More Secure Microsoft ASP.NET 2.0 Applications ... Exception Details: System.Web.HttpException: The current identity ... compilationSection) +3482379 ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Sharepoint 2.0 causing problems with .NET applications?
    ... I'm having trouble getting our .NET applications to run on IIS web ... thought important was that the Sharepoint site had Sharepoint's ISAPI ... Exception Details: System.Security.SecurityException: Security error. ...
    (microsoft.public.sharepoint.teamservices)
  • Sharepoint 2.0 causing problems with .NET applications?
    ... I'm having trouble getting our .NET applications to run on IIS web ... thought important was that the Sharepoint site had Sharepoint's ISAPI ... Exception Details: System.Security.SecurityException: Security error. ...
    (microsoft.public.sharepoint.windowsservices)
  • strong key problems
    ... i - how to create a strong key and use it in your applications. ... iv - any referencer to any app with strong name must also have a strong ... Unhandled Exception: System.Security.SecurityException: That assembly ... In the shared folder it still fails. ...
    (microsoft.public.dotnet.languages.csharp)