CE 3.0 error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I've ported an app from VS2003 to VS2005. I've installed both SQL Server
2.x and 3.x server tools so both have their IIS agent running. When I run
the app now in debug with the following code snippit, I get an error :

With rda
.InternetLogin = String.Empty
.InternetPassword = String.Empty
.InternetUrl = _strInternetURL
.LocalConnectionString = g_strlocalDataSource
.Pull("Devices", strSQL, _strRemoteConnect,
System.Data.SqlServerCe.RdaTrackOption.TrackingOff)

_strInternetURL = "http://10.0.0.69/SSCE30/sqlcesa30.dll";

g_strlocalDataSource = "Data
Source=\Application\EasyTAG.sdf;password=eid2416TN;encrypt database=TRUE"

strSQL = "Select * From t_ezDevices"

_strRemoteConnect = "provider=sqloledb;data source=10.0.0.69;user
id=phgt;password=eid2416TN;initial catalog=EasyID"

?ex.Message
"Header information is either corrupted or missing. [,,,Header name,,]"

yet

?ex
{System.Data.SqlServerCe.SqlCeException}
Errors: {System.Data.SqlServerCe.SqlCeErrorCollection}
HResult: -2147012746
InnerException: Nothing
Message: "SqlCeException"
NativeError: 28035
Source: "Microsoft SQL Server 2000 Windows CE Edition"

**********************************************************
Why the SQL Server 2000 Windows CE Edition error if I'm using 3.0 against
the SQL Server 2005 database?

Has the syntax changed for RDA pull from VS2003 to VS2005??

TIA
Harry


.



Relevant Pages

  • ADO.NET 2.0 & MSDE & Win98
    ... Framework 2.0 which must be deployed on Windows 98 platform. ... The MSDE will ... be installed on Win98 as the SQL Server to which the app will connect. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: SqlExpress distribution and access rights
    ... Is this app with SQL Server Epxress a server app or a desktop app? ... Since you want useraccess the SQL Server with Windows integrated security, and you, of course, do not know what user account the user is using when developing the app. ... you can also incorporate the Windows local user group setup into your installation package. ...
    (microsoft.public.sqlserver.msde)
  • Re: Bizzare SQL Network Error
    ... The bizzare thing is that, the same connection string, the same code to ... In a windows APP it works fine, in a Web APP I get ... >>I am trying to connect to a default instance of SQL Server 2000 Enterprise ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Bizzare SQL Network Error
    ... Your ASP.NET request is not being run under the same windows ... account your ASP.NET requests are being run under. ... >I am trying to connect to a default instance of SQL Server 2000 Enterprise ... I take the same connection string from the web app, ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Performance issue after coverting from Framework 1.1 to 2.0
    ... I think that I encountered the same problem: A large program with Framework ... the SQL Server for the dev database. ... when you deploy the app on a different machine where the SQL Server is no ... app was fine on the dev machine. ...
    (microsoft.public.dotnet.framework.performance)