SQL Server Connection for POCKET PC in VS2005
I want to develop a POCKET PC application for PDA HP iPAQ hx2400 which have Windows Mobile.
In my Local PC I have VS2005 and SQL 2000 on windows XP. When I try a simple application in VS2005 with local DB connectivity and run it on Pocket PC 2003 SE Emulator which is inbuilt in VS2005 it gives me
"SQL Server does not exist or access denied" error
Please help !!
My Connection string is :
"Data Source=192.168.1.21,1433;Initial Catalog=test;User ID=abc;Password=abc;"
STACK Trace :
at System.Data.SqlClient.SqlConnection.OnError()
at System.Data.SqlClient.SqlInternalConnection.OnErro r()
at System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning()
at System.Data.SqlClient.TdsParser.Connect()
at System.Data.SqlClient.SqlInternalConnection.OpenAn dLogin()
at System.Data.SqlClient.SqlInternalConnection..ctor( )
at System.Data.SqlClient.SqlConnection.Open()
at System.Data.Common.DbDataAdapter.QuietOpen()
at System.Data.Common.DbDataAdapter.FillInternal()
at System.Data.Common.DbDataAdapter.Fill()
at System.Data.Common.DbDataAdapter.Fill()
at DeviceApplication3.testDataSetTableAdapters.Table1 TableAdapter.Fill()
at DeviceApplication3.Form1.Form1_Load()
at System.Windows.Forms.Form.OnLoad()
at System.Windows.Forms.Form._SetVisibleNotify()
at System.Windows.Forms.Control.set_Visible()
at System.Windows.Forms.Application.Run()
at DeviceApplication3.Form1.Main()
|