TypeLoad Exception in System.Data.SqlDbType

  • Thread starter saurabh_8380 chawla via DotNetMonster.com
  • Start date
S

saurabh_8380 chawla via DotNetMonster.com

Hi,
I am trying to run an application that requires sqlce database.
I tried to install the app. on CF card. Also , I installed the
sqlce.ppc3.arm cab file on CF card ( that was provided by app. if sqlce
does not exist)........ This installs the app under the folder
CFCard/Microsoft Sqlce 2.0

Also, the program name is mentioned in the
Start/Settings/System/RemovePrograms list........
and an entry is there in registry that is same as it wud be if I try to
install sqlce.ppc3.arm cab file otherwise.

But I am getting the exception as mentioned:
Could not load type

System.Data.SqlDbType

from assembly

System.DataSqlServerCe

Version=1.0.5000.0,

Culture=neutral,

PublicKeyToken=969DB805

3D3322AC.



Is this related to my installing the application on CF card.....

Please help
 
I

Ilya Tumanov [MS]

Make sure you have System.Data.Common.dll and System.Data.SqlServerCe.dll
in GAC.
Look for files GAC_*.dll in \windows folder. If not, reinstall SQL CE.

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