473,503 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQL Server Express under Visa linking to a pocket pc

3 New Member
Hi, I have developed some VB software that enables a pocket pc under Windows Mobile 2003 OS to communicate with an MS SQL Server 2005 Express database on a PC under XP, using active sync 4.2. I set the TCP/IP and ports through the MS firewall as standard and it worked. However, when I migrated the system over to a Toshiba Satellite L30 10X laptop under Visa OS., this time keeping the firewall open, I got the error message “Sqlserver does not exist or access denied”. Can anyone help me fix this ? Here is the lowdown: I have changed the name of the laptop to MYNAME and loaded up the Visa hotfixes. I have installed Visio studio standard 2005 with its updates for Visa, as well as MSS 2005 Express. Also loaded up MS .Net Framework SDK v2.0, .Net Compact Framework 2.0 SP2 and Windows Mobile Device Center +Driver Update. The server deploys VB forms to the pocket pc ok but when it comes to connecting to the database, the above error message appears. I have run Belarc and it shows the comms for the laptop include a Realtek RTL8139/810x Family Fast Ethernet NIC with physical address 00:1B:24:3E:53:2D and two isataps. MS Baseline Security Analyzer gives the Computer Name as WORKGROUP\MYNAME-PC and IP Address as 127.0.0.1

The project files include NETCFv1.WM.ARMV41.CAB

For the connection string, in the login form, I have used variations of :
Dim cst As string = “server=MYNAME-PC\SQLEXPRESS,1433; user id =xx; password=yy; database=zz” where xx,yy,zz are well defined in MS SQL Server.

Both Named Pipes and TCP/IP have been enabled. Under TCP/IP there are 7 IP Ports. TCP Dynamic Ports and TCP Ports are all cleared. For IP4, I have Active Yes , Enabled Yes and IP Address 169.254.161.233 For IP6, I have Active Yes, Enabled Yes, IP Address 127.0.0.1 All other ports are Active Yes and Enabled No.
Under IPAll, TCP Port is set to 1433 The firewall is currently disabled.

Any ideas ?

Jeff
Oct 24 '07 #1
2 2056
jhf
3 New Member
Correction: SQL Server 2005 Express under Vista linking to a pocket pc
Oct 26 '07 #2
jhf
3 New Member
Correction: SQL Server 2005 Express under Vista linking to a pocket pc

On checking my desktop PC with MS Baseline Security Analyzer , I found I still had the MS Loopback Adapter installed, giving that machine an actual IP Address. I had not installed the Loopback Adapter on the laptop. That is why the link-up worked with the PC system but not the laptop. So even though one is not using the emulator, one needs to install the MS Loopback Adapter to get an IP Address ( other than 127.0.0.1) for the remote to access the server.
Oct 27 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
3255
by: laurie | last post by:
Hi all, I'm trying to help out a friend who has inherited a client with a PHP shopping cart application. Neither of us know PHP, but I've been muddling my way through, trying to get these old...
48
3664
by: ik | last post by:
ERROR after uninstalling SQL Server 2005 Express I get this message, SQLDMO has not been registered. Please re-run your setupand contact your system administrator. GREAT!!! ReInstalled SQL...
7
2176
by: Paul Aspinall | last post by:
Hi I have an application which runs on a desktop. I want to synchronise the DB with a PDA app, which also uses SQL Server 2005 (mobile and express). I believe that I will need to write my own...
1
1514
by: Dan Bass | last post by:
-- Installed -- Visual Studio 2005 (.Net 2.0) Sql Server 2005 Express Sql Server 2005 Mobile SDK I'm trying to add a "SQL Mobile Database" component to my Smart Device project through Visual...
29
2780
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. How do I...
3
5106
by: dmalhotr2001 | last post by:
I was wondering whether anyone ever dealt with encryption that are visa compliant with credit card numbers: On 3.4 of this document...
2
1851
by: Pasacco | last post by:
Dear Hopefully, I am posting in appropriate place :) I have problem of "linking" in the Microsoft Visual C++ 9.0 Express Edition tool. In Visual C++ 6.0, I linked "alpha.lib and common.lib"...
0
1280
by: garyluk6 | last post by:
Dear All I am working a project which using pocket pc 2003 connect to sql 2005 express database. When I try to deploy a testing program on C# 2005, i cannot create the connection with a Sql...
12
1349
by: helveticus | last post by:
I'm in the process of finalizing my site. I spent quite a bit of time designing content pages and would like to cut on development time by simply managing the DB (SQL server, evt. MySQL) via MS...
0
7348
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5592
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5021
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4685
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3166
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1519
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.