[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.mobile

OT.: Connect from device 2003 to SQLServer

Matthias Pieroth

3/26/2005 7:25:00 PM

Hi NG,

I have a PocketPC 2003 (HP iPAQ) and a wireless LAN. On a PC 192.168.2.50
there is a MSDE. My Application on PocketPC connects to the SQL-Server, but
the message I receive is that the SQLServer can't be found. I also connected
from a Laptop and this works fine. The routine to connect is the same:

_con = new SqlConnection( ConfigReader.Instance.DBConnString );

_con.Open();

// The connection string is

string sCon = "Data Source=" + _sHost + ";Database=" + _sDBName + ";User
ID=sa;password=adminpw";

_sHost = "192.168.2.50\DBINST"

_sDBName = "MyDBName"



Do I need some other secutity issues when connecting from PocketPC? As I
said, connectin from Laptop works with the data above!

Thanx in advance

Matthias