Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 6th, 2007, 07:27 AM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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()






Similar Threads
Thread Thread Starter Forum Replies Last Post
pocket pc programming angelboy General .NET 1 April 23rd, 2007 07:28 AM
Setfocus on Pocket PC rtr1900 Classic ASP Basics 0 October 2nd, 2006 02:29 AM
Pocket PC development with MS SQL jamesosw VB How-To 0 April 18th, 2005 10:49 AM
file transfer ftp server to a pocket PC in C# .NET g_hristodol ADO.NET 0 October 21st, 2004 06:14 AM
Urgent: Internet Connection in Pocket PC Applicati rcmetta BOOK: Professional C#, 2nd and 3rd Editions 0 May 3rd, 2004 01:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.