Which version of WindowsCE.NET are you using ? 4.0? 4.1? 4.2?
4.1 or 4.2 is required.
Kevin Boske
(
[email protected])
SQL Server CE Team
Microsoft
----------------------------------------------------------------------------
----------------------------------------
Everything you need to know about SQL Server CE:
http://www.microsoft.com/sql/ce/techinfo/default.asp
----------------------------------------------------------------------------
----------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
----------------------------------------------------------------------------
----------------------------------------
--------------------
Content-Class: urn:content-classes:message
From: =?iso-8859-1?Q?Mehmet_Demir=F6z?= <
[email protected]>
Sender: =?iso-8859-1?Q?Mehmet_Demir=F6z?= <
[email protected]>
Subject: Windows CE.NET SqlClient PlatformNotSupportedException
Date: Mon, 3 Nov 2003 03:32:27 -0800
Lines: 14
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcOh/ij776FtDrngQr2gEt/GpeVNwQ==
Newsgroups: microsoft.public.dotnet.framework.compactframework
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:37538
NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
Windows CE.NET SqlClient PlatformNotSupportedException
ncConnection = New system.Data.SqlClient.SqlConnection
Dim svr As String = "192.168.10.5"
Dim pwd As String = ""
Dim usr As String = "sa"
Dim catalog As String = "Northwind"
ncConnection.ConnectionString = _
"data source=" & svr & ";" & _
"password=" & pwd & ";" & _
"user id=" & usr & ";" & _
"initial catalog=" & catalog & ";" & _
"persist security info=True" ' & _
ncConnection.Open()