Is it possible?

G

Guest

Is it possible to upgrade a .net compact 1.1 application to 2.0, but still
keep the Sql Server CE version intact? I mean, not upgrade to a SQL SErver
2005 Mobile Edition db?

I'm having trouble synchronizing a Sql Server 2000 database with SQL Server
2005 Mobile Edition database.

Thank you.
 
P

Paul G. Tobey [eMVP]

No. That combination of things, SQL Mobile and .NET CF 2, is not supported
and won't work.

Paul T.
 
G

Guest

Thanks Paul.

Do you know why I would be getting an error that looks like this when I run
the Synchronize() method? This is between a sql server 2000 database and a
sql server 2005 mobile edition database.

Message: "The specified data type is not valid. [ Data type (if known) =
varchar ]"

Appreciate it.
 
P

Paul G. Tobey [eMVP]

Sorry. I have some random pieces of information floating around in my head
concerning the database components, but I don't do databases on a daily
basis.

Paul T.

Trafalgar said:
Thanks Paul.

Do you know why I would be getting an error that looks like this when I
run
the Synchronize() method? This is between a sql server 2000 database and a
sql server 2005 mobile edition database.

Message: "The specified data type is not valid. [ Data type (if known) =
varchar ]"

Appreciate it.



Paul G. Tobey said:
No. That combination of things, SQL Mobile and .NET CF 2, is not
supported
and won't work.

Paul T.
 
E

E®!k Visser

Message: "The specified data type is not valid. [ Data type (if known) =
varchar ]"

Could it be you are trying to put stirng into the varchar that with a length
greater than the databasefield?
Another thing i have noticed (but i have not tested in the release version
yet) is a problem with nVarchar's larger than 128.

Erik

Trafalgar said:
Thanks Paul.

Do you know why I would be getting an error that looks like this when I
run
the Synchronize() method? This is between a sql server 2000 database and a
sql server 2005 mobile edition database.

Message: "The specified data type is not valid. [ Data type (if known) =
varchar ]"

Appreciate it.



Paul G. Tobey said:
No. That combination of things, SQL Mobile and .NET CF 2, is not
supported
and won't work.

Paul T.
 
G

Guest

Thank you Erik.

This Synchronize() method call is made at the beginning of the application,
in which case the table is getting created for the first time.
Shouldn't SS2005Mobile just copy down the table as it is on the SS2000
database?



E®!k Visser said:
Message: "The specified data type is not valid. [ Data type (if known) =
varchar ]"

Could it be you are trying to put stirng into the varchar that with a length
greater than the databasefield?
Another thing i have noticed (but i have not tested in the release version
yet) is a problem with nVarchar's larger than 128.

Erik

Trafalgar said:
Thanks Paul.

Do you know why I would be getting an error that looks like this when I
run
the Synchronize() method? This is between a sql server 2000 database and a
sql server 2005 mobile edition database.

Message: "The specified data type is not valid. [ Data type (if known) =
varchar ]"

Appreciate it.



Paul G. Tobey said:
No. That combination of things, SQL Mobile and .NET CF 2, is not
supported
and won't work.

Paul T.

Is it possible to upgrade a .net compact 1.1 application to 2.0, but
still
keep the Sql Server CE version intact? I mean, not upgrade to a SQL
SErver
2005 Mobile Edition db?

I'm having trouble synchronizing a Sql Server 2000 database with SQL
Server
2005 Mobile Edition database.

Thank you.
 
E

E®!k Visser

Trafalgar,

(is Nelson still invisable? )
This Synchronize() method call is made at the beginning of the
application,
in which case the table is getting created for the first time.
Shouldn't SS2005Mobile just copy down the table as it is on the SS2000
database?

Sorry, i do not use the synchronisation, as I wanna be in control myself.
Sounds like an unsupported type to me. Did you check
http://msdn2.microsoft.com/en-us/library/ms171931.aspx

Erik


E®!k Visser said:
Message: "The specified data type is not valid. [ Data type (if known)
=
varchar ]"

Could it be you are trying to put stirng into the varchar that with a
length
greater than the databasefield?
Another thing i have noticed (but i have not tested in the release
version
yet) is a problem with nVarchar's larger than 128.

Erik

Trafalgar said:
Thanks Paul.

Do you know why I would be getting an error that looks like this when I
run
the Synchronize() method? This is between a sql server 2000 database
and a
sql server 2005 mobile edition database.

Message: "The specified data type is not valid. [ Data type (if known)
=
varchar ]"

Appreciate it.



:

No. That combination of things, SQL Mobile and .NET CF 2, is not
supported
and won't work.

Paul T.

Is it possible to upgrade a .net compact 1.1 application to 2.0, but
still
keep the Sql Server CE version intact? I mean, not upgrade to a SQL
SErver
2005 Mobile Edition db?

I'm having trouble synchronizing a Sql Server 2000 database with SQL
Server
2005 Mobile Edition database.

Thank you.
 
B

Boomhauer

Just a wild guess, but i would try changing the server db to use
nvarchar instead of varchars.. and then perhaps the mobile db will be
created with such (and not try to make the nonsupported varchar)

Brady Moritz
 

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