Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

I am working in WPF. its a touch kiosk project.

Today i run my application in windows embedded posready 2009 machine. but it throws an error.

The type initializer for 'my project' threw an exception.

And an unhandled win 32 exception occurred in my project. Just in time debugging this exception failed with the following error:
No installed debugger has just in time debugging enabled.

I have doubt about the os.

does windows embedded posready 2009 support WPF?

version 2.0
service pack 3
Posted
Updated 5-Apr-11 21:03pm
v3

According to MSDN[^] it should.

Try adding a try/catch block and see if you can find what exception is being thrown.
 
Share this answer
 
Comments
Sagotharan Jagadeeswaran 6-Apr-11 4:08am    
thank u very much,. i catch an unhandle exception,. unable to find the required .net framework data provider. but i install mysql connector in that system.

what can do for that?
OriginalGriff 6-Apr-11 4:26am    
Have you installed MySql?
Sagotharan Jagadeeswaran 6-Apr-11 4:40am    
my sql is in server. iam install mysql connector only.
Sagotharan Jagadeeswaran 6-Apr-11 4:44am    
googled for this error, they told to add below coding to config file,.
<pre><system.data>
<dbproviderfactories>
<clear>
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=1.0.10.1, Culture=neutral, PublicKeyToken=C5687FC88969C44D">

</pre>
i change the version and added that. but the problem not solved. it throw null exception.
OriginalGriff 6-Apr-11 6:03am    
Um - what coding?
<system.data>
<dbproviderfactories>
<clear>
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=1.0.10.1, Culture=neutral, PublicKeyToken=C5687FC88969C44D">
</add></clear></dbproviderfactories>
</system.data> 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900