none
Accessing sql server 2008 from Windows Mobile 6 emulator RRS feed

  • Question

  • Dear all

    I'm doing window mobile 6 programming. I have one database which is located on microsoft sql server(.dbo). I'm gonna to connect this data base to my form on emulator however i used sql datasource but when I run the form I have this error

    "   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, TdsParserState state)    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state)    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()    at System.Data.SqlClient.TdsParser.Connect(String host, SqlInternalConnection connHandler, Int32 timeout)    at System.Data.SqlClient.SqlInternalConnection.OpenAndLogin()    at System.Data.SqlClient.SqlInternalConnection..ctor(SqlConnection connection, Hashtable connectionOptions)    at System.Data.SqlClient.SqlConnection.Open()    at SmartDeviceProject2.Form1.fillGrid()    at SmartDeviceProject2.Form1.Form1_Load(Object sender, EventArgs e)    at System.Windows.Forms.Form.OnLoad(EventArgs e)    at System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)    at System.Windows.Forms.Control.set_Visible(Boolean value)    at System.Windows.Forms.Application.Run(Form fm)    at SmartDeviceProject2.Form1.Main() "

    Please help if you have any idea.

    Sunday, February 20, 2011 2:07 PM

Answers