System hang , then .net compact framework crash

  • Thread starter Thread starter xc
  • Start date Start date
X

xc

Evirenment : ARMV4T, Windows CE.net 4.2, .net compact framework 1.0 sp2


When some application cause system hang , i soft reset the device. Then ,
all my c# application can not run, only see a wait cursor , very short time
, then nothing , but evc application can still work well .

I don't know if Pocket Pc have this problem , but my Windows CE.net 4.2
device always face this problem. As soft reset can not solve problem , i
have to have a hardware reset (cold reset) , then all user's important data
lose .
 
There could possibly be a problem with your installation of .NETCF SP2. Have
you tried re-installing the .cab file? The symptom of the app launching and
then silently stopping is often caused by a missing managed assembly, once
actually up and running such an error would cause a TypeLoadException but if
one of the framework assemblies such as System.dll or mscorlib.dll is
missing this may occur with no errors raised. Have a look on your device for
the GAC assemblies which should be found in the \windows folder. These will
have the prefix GAC_ then the assembly name and version, you can refer to
the list in your add reference dialog for all the .NETCF assemblies.

Peter
 
My .net compact framework 1.0 sp2 is built in platform builder , not need to
install .

I have installed .net compact framework again to fix problem before , but no
use .

Just now, I backup all GAC_.... files to my pc ,then make system hang , soft
reset , copy all GAC_... to \windows. c# applications still can NOT work .
 
Does your application reference any other .NETCF dlls, and if so where are
they installed?

Peter
 
Thanks GOD. I found the reason lah.

If i have not debug any c# application on my device , just copy and run
,after deivce hang , .net compact framework will not crash .

But, if the damnable System_SR_enu.cab installed , after deivce hang , .net
compact framework will crash .

When i debug or release c# application in VS.net, it automaticly download
and install System_SR_enu.cab to my device , i think there should be exe
file always run there , it crash the .net compact framework.


Thanks a lot , Peter Foot.
 
Back
Top