Can't load my app with an instance of a SQL Server CE object

S

spikedevmesa

Does anyone have any idea what this exception is and how to solve it?
I can reference sql server ce and have it as a using statment and my
app will load fine but as soon as I create an instance of a sql object
then this error comes up. I am using VS 2005 and a dell axim x51v as
my depoyment device.

I appreciate any help thanks



{System.TypeLoadException: File or assembly name
'System.Data.SqlServerCe, Version=3.0.3600.0, Culture=neutral,
PublicKeyToken=3BE235DF1C8D2AD3', or one of its dependencies, was not
found.
at System.Windows.Forms.Form.OnLoad()
at System.Windows.Forms.Form._SetVisibleNotify()
at System.Windows.Forms.Control.set_Visible()
at System.Windows.Forms.Application.Run()
at Traffic.Program.Main()
}
 
S

spikedevmesa

I solved the problem. I decided to run the emulator to see what was
loaded on it and I saw that there were other cab files that was being
loaded on the emulator on not on my device so I loaded those cab files
and on my device manually and then everything was fine!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top