Is this possible to connect do the Database Engine (on sql server 2005 on XP platorm - file *.mdf (not mobile *.sdf)) from win CE 5.0 ?
I tried to do this :
ConnectionStringSQLServerCE = "Data Source=WORK_STATION\\SQLEXPRESS;Initial Catalog=dbMachines;Integrated Security=False;Password=Panel;User ID=Panel";
SqlCeConnectionCE = new SqlConnection(ConnectionStringSQLServerCE);
SqlCeConnectionCE.Open();
but I catch error:
catch (PlatformNotSupportedException ex)
„PlatformNotSupportedException”
I noticed that I see server because when I use:
ConnectionStringSQLServerCE = "Data Source=WORK_STATION\\SQLEXPRESS";
zwraca b³¹d typu
catch (SqlException ex)
“Login failed for user ''. The user is not associated with a trusted SQL Server connection.”
I used
using System.Data.SqlClient;
from Compact Framework 2.0 under Visual Studio 2005 Device Application Windows CE 5.0
can anyone help me?
I tried to do this :
ConnectionStringSQLServerCE = "Data Source=WORK_STATION\\SQLEXPRESS;Initial Catalog=dbMachines;Integrated Security=False;Password=Panel;User ID=Panel";
SqlCeConnectionCE = new SqlConnection(ConnectionStringSQLServerCE);
SqlCeConnectionCE.Open();
but I catch error:
catch (PlatformNotSupportedException ex)
„PlatformNotSupportedException”
I noticed that I see server because when I use:
ConnectionStringSQLServerCE = "Data Source=WORK_STATION\\SQLEXPRESS";
zwraca b³¹d typu
catch (SqlException ex)
“Login failed for user ''. The user is not associated with a trusted SQL Server connection.”
I used
using System.Data.SqlClient;
from Compact Framework 2.0 under Visual Studio 2005 Device Application Windows CE 5.0
can anyone help me?