A
avanja
Can anybody help me solving this problem?
I have mobile computer model HandHeld dolphin 7600.
Processor: Samsung, ARM920T-S3C2440A
OS: Microsoft Windows CE 5.00
I've managed to establish network connection through bluetooth with my
network (I can ping the computers and copy files with windows
explorer).
I made a very simple console application for the Handheld device that
opens connection with SQL server2000 SP3 installed on my PC and here
is the code:
using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
SqlConnection conn = new SqlConnection ("Data Source=MyPC;Persist
Security Info=True;Password=MyPass;User ID=MyUser;Initial
Catalog=MyDB");
conn.Open();
}
}
}
On emulator it is working OK but when i deploy on my HandHeld 7600 i
get and PlatformNotSupportedException on the second row conn.Open();
The same application is working perfectly with other Windows CE
devices and Windows Mobile devices and i have problem only with
HandHeld 7600.
I also tried to build and deploy the apllpication both with VS2003 and
VS2005 but error is the same.
I also started the Profiler on my SQL server 2000 and made a trace and
i saw two lines AuditLogin and AuditLogout so i can see that the
application is trying to connect to the server.
So what can my problem be?
Tnx in advance.
P.S. if i change the connenction string to some non existing database
or non extisting server i get a normal SQLServer exception i get my
error only when the ConnectionString is OK.
I have mobile computer model HandHeld dolphin 7600.
Processor: Samsung, ARM920T-S3C2440A
OS: Microsoft Windows CE 5.00
I've managed to establish network connection through bluetooth with my
network (I can ping the computers and copy files with windows
explorer).
I made a very simple console application for the Handheld device that
opens connection with SQL server2000 SP3 installed on my PC and here
is the code:
using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
SqlConnection conn = new SqlConnection ("Data Source=MyPC;Persist
Security Info=True;Password=MyPass;User ID=MyUser;Initial
Catalog=MyDB");
conn.Open();
}
}
}
On emulator it is working OK but when i deploy on my HandHeld 7600 i
get and PlatformNotSupportedException on the second row conn.Open();
The same application is working perfectly with other Windows CE
devices and Windows Mobile devices and i have problem only with
HandHeld 7600.
I also tried to build and deploy the apllpication both with VS2003 and
VS2005 but error is the same.
I also started the Profiler on my SQL server 2000 and made a trace and
i saw two lines AuditLogin and AuditLogout so i can see that the
application is trying to connect to the server.
So what can my problem be?
Tnx in advance.
P.S. if i change the connenction string to some non existing database
or non extisting server i get a normal SQLServer exception i get my
error only when the ConnectionString is OK.