Sunday, March 25, 2012

Connection Problem

Hi,
i want connect to PC with MSDE 2000 from pocket pc, i try
connection but nothing.
From Pocket PC to Sql server is OK
From Pocket PC to MSDE 2000 not!
I think that my connection string not good, i use :
Dim cn As New SqlConnection("Pwd=mypassword;User
ID=sa;Initial Catalog=Demo;Data Source=mypc")
or
Dim cn As New SqlConnection
("server=mypc;uid=sa;pwd=mypassword;database=demo" )
How i can solve problem?
Thank's
Excuse for my english
Raffaele
the MSDE doesn't support Pocket PC,but SQLCE does!
"Raffaele" <anonymous@.discussions.microsoft.com> wrote in message
news:046001c4d3a4$6c30eee0$a501280a@.phx.gbl...
> Hi,
> i want connect to PC with MSDE 2000 from pocket pc, i try
> connection but nothing.
> From Pocket PC to Sql server is OK
> From Pocket PC to MSDE 2000 not!
> I think that my connection string not good, i use :
> Dim cn As New SqlConnection("Pwd=mypassword;User
> ID=sa;Initial Catalog=Demo;Data Source=mypc")
> or
> Dim cn As New SqlConnection
> ("server=mypc;uid=sa;pwd=mypassword;database=demo" )
>
> How i can solve problem?
> Thank's
> Excuse for my english
> Raffaele
|||Yes, i use on Pocket PC SqlCe.
But i want direct connection with MSDE instance, whith sql server all Ok.
I want write an application that data sync Pocket Pc/sqlCE with PC/MSDE.
It's Possible?
Thank's
Raffaele
"leighsword" <leighsword@.163.net> ha scritto nel messaggio
news:Os0mVY60EHA.4028@.TK2MSFTNGP15.phx.gbl...
> the MSDE doesn't support Pocket PC,but SQLCE does!
> "Raffaele" <anonymous@.discussions.microsoft.com> wrote in message
> news:046001c4d3a4$6c30eee0$a501280a@.phx.gbl...
>
|||anything is possible,but in this case...
i used to WinSocket through the GRPS to do what you do.
if i was you, i will give up the .net CF,why not give a chance to using the
eVC?
"Raf" <rspadar@.tiscali.it> wrote in message
news:eo51wf60EHA.3900@.TK2MSFTNGP10.phx.gbl...
> Yes, i use on Pocket PC SqlCe.
> But i want direct connection with MSDE instance, whith sql server all Ok.
> I want write an application that data sync Pocket Pc/sqlCE with PC/MSDE.
> It's Possible?
> Thank's
> Raffaele
>
>
> "leighsword" <leighsword@.163.net> ha scritto nel messaggio
> news:Os0mVY60EHA.4028@.TK2MSFTNGP15.phx.gbl...
>
|||What connection string i can use?
Thanks'
Raffaele
"leighsword" <leighsword@.163.net> ha scritto nel messaggio
news:%23Deeqt60EHA.1076@.TK2MSFTNGP09.phx.gbl...
> anything is possible,but in this case...
> i used to WinSocket through the GRPS to do what you do.
> if i was you, i will give up the .net CF,why not give a chance to using
> the
> eVC?
>
>
> "Raf" <rspadar@.tiscali.it> wrote in message
> news:eo51wf60EHA.3900@.TK2MSFTNGP10.phx.gbl...
>

No comments:

Post a Comment