TypeLoad Exception on Pocket PC.
Hi all,
I have a slight problem and hope i could get your assistance. When i deploy my program from visual studio 2005 to the Pocket PC, it gives me the TypeLoad Exception on the Pocket PC.
TypeLoad Exception at Device Application1.Form1.Initialize component()
at
system.Reflection.Runtime Constructor Info. InternalInvoke()
Above are some of the errors. Any idea what is wrong?
I would really appreciate your help.
Thanks so much!
-- sam --
Re: TypeLoad Exception on Pocket PC.
I haven't dealt with 2005, but those errors sound somewhat serious.
Have you used this particular system for debugging? If not, do you use a hardare test platform, or do you use the emulator?
Re: TypeLoad Exception on Pocket PC.
hi Shaggy Hiker,
thanks so much for your prompt reply. I have used the debugger and have gotten no errors. The program runs well on the emulator but not on the Poket PC. Hence, this puzzles me.
Thanks once again =)
Cheers,
-- sam --
Re: TypeLoad Exception on Pocket PC.
So you didn't debug on the hardware? That makes me think that there is a conflict between the OS version on the hardware, and the version the emulator is emulating. I am seriously out of touch on this question, so this is no better than a suggestion of something to look into. I develop in 2003 for some somewhat older PDA's. I believe that I am a few years behind the leading edge on both the IDE as well as the hardware. You may be targeting a newer operating system than you have on the hardware.
Re: TypeLoad Exception on Pocket PC.
Hi Shaggy,
Thank you so much for the suggestion. I will certainly look into it. I will give you an update if I have managed to solve the error.
Have a nice day!!
Thanks once again =)
-- sam --
Re: TypeLoad Exception on Pocket PC.
Hi Shaggy,
I managed to solve the error. I re-installed the program and it worked just fine.
Re: TypeLoad Exception on Pocket PC.
So what was the solution? Was re-installation all that was needed?
Re: TypeLoad Exception on Pocket PC.
Yes, re-installation was all that was needed in my case. I am not sure if it will work for others. I apologise if this has not been much of a help.
Thanks for your interest in this topic!
-- sam --