'System.TypeLoadException'

G

Guest

I posted a message similar to this before on this group and solved it by
reinstalling the CF. But now it's generated differently, please check it
out...

I'm developing in VS.net 2003 a windows application that has access to a
SQLServer CE Database in my Windows CE.net. when using DataTables and
Databinds to controls, everything works fine, but when using a DataReader
(SqlCeDataReader) throws this kind of exception. (Finally by isolating
different code this problem showed up). Anybody knows what could this be?,
please, If somebody knows how to fix this up... help me!
Note: even when VisualBasic library Is the one who throws the exception, i
have no reference to it on the project (how is it included anyway?)

Thank you very much (A copy of the error is shown at the end of this message)

Best Regards!,
Omar Rojas


----------------
Excepción no controlada del tipo 'System.TypeLoadException' en
System.Windows.Forms.dll

Información adicional: No se pudo cargar el tipo
Microsoft.VisualBasic.CompilerServices.StringType del ensamblado
Microsoft.VisualBasic, Version=7.0.5000.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A.
 
I

Ilya Tumanov [MS]

Make sure SQL CE is installed. SQL CE is a separate product; it needs to be
installed in addition to NETCF.
You can check "Remove Programs" to verify if SQL CE is installed.
If you don't see SQL CE entry, install it either manually or by deploying
your application via VS.

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 

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