PlatformNotSupportedException with Sql Server 2000 sp3a

G

Guest

Hello,

I having a Sql Server 2000 on windows Xp and i have to use a Symbol MC 9000
mobile computer running under Windows CE 4.20.
I'm developping an application on the mobile computer that has to be
connected on a the database located on Windows Xp's computer.

I'm developping with Visual Studio .NET 2003 and with C# language.
I'm using the .NET Compact Framework v1.1 to develop the mobile application.

My problem is when i try to connect to the database with
mSqlConnection.Open(),
it returns an Exception with this message "PlatformNotSupportedException"

The ConnectionString seems to be good because it's the same i'm using for a
Windows Application.

I'm using the System.Data.SqlClient.dll delivered with the .NET compact
framework.

The application runs well without trying to connect to the database.

What could be the problem?
 
A

Alex Feinman [MVP]

Post the connection string. Also, let the app run under debugger until it
hits the exception, then in the Stack window righ-click and ensure that
"Show non-user code" is checked and post the stack (or at least the top part
until Connection.Open)
 
G

Guest

Here is the connexion string :

mConnection.ConnectionString = "user id=sa;data source=FGUL506907WXP;persist
security info=True;initial catalog=IDPS;password=toto"

Here is the stack :

OiFGBS.exe!OiFGBS.DB.Connect() Ligne 42 C#
OiFGBS.exe!OiFGBS.fIn.fIn() Ligne 36 C#
OiFGBS.exe!OiFGBS.fIn.Main() Ligne 175 C#

Show non-user code is checked but I don't know if it cans help you,
there is no more details.

The project is well configured to deploy the soft on the mobile computer.
I've no problems creating software without using databases
 
I

Ilya Tumanov [MS]

Not sure, but perhaps, this one will help:

http://groups-beta.google.com/group...ormNotSupported&rnum=2&hl=en#7edf4e3634c71eff

Best regards,

Ilya

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

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 

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