PC Review


Reply
Thread Tools Rate Thread

'System.TypeLoadException'

 
 
=?Utf-8?B?T21hciBSb2phcw==?=
Guest
Posts: n/a
 
      27th Dec 2004
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.

 
Reply With Quote
 
 
 
 
Ilya Tumanov [MS]
Guest
Posts: n/a
 
      27th Dec 2004
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.
--------------------
> Thread-Topic: 'System.TypeLoadException'
> thread-index: AcTsQIo7B9plBKQwSRyZgHxIPmylHQ==
> X-WBNR-Posting-Host: 148.233.92.130
> From: "=?Utf-8?B?T21hciBSb2phcw==?=" <(E-Mail Removed)>
> Subject: 'System.TypeLoadException'
> Date: Mon, 27 Dec 2004 10:19:01 -0800
> Lines: 28
> Message-ID: <E9BDD2D5-DAF2-4C40-AD32-(E-Mail Removed)>
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="Utf-8"
> Content-Transfer-Encoding: 8bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Content-Class: urn:content-classes:message
> Importance: normal
> Priority: normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> Newsgroups: microsoft.public.dotnet.framework.compactframework
> NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
> Xref: cpmsftngxa10.phx.gbl

microsoft.public.dotnet.framework.compactframework:67592
> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
>
> 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.
>
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.TypeLoadException =?Utf-8?B?TmF0aGFu?= Microsoft Dot NET Compact Framework 2 21st Nov 2005 02:32 PM
System.TypeLoadException =?Utf-8?B?Qm9i?= Microsoft Dot NET Compact Framework 1 11th Mar 2005 11:11 PM
'System.TypeLoadException' =?Utf-8?B?TWFyY28gUm9zYXM=?= Microsoft Dot NET Compact Framework 1 31st Jan 2005 10:06 PM
System.TypeLoadException Could not load type System.Configuration.SingleTagSectionHandler phillip Microsoft ASP .NET 0 6th Nov 2003 11:47 PM
System.TypeLoadException Could not load type System.Configuration.SingleTagSect phillipmastroianni@yahoo.com Microsoft Dot NET Framework 0 6th Nov 2003 11:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:21 PM.