Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > OT.: Connect from device 2003 to SQLServer

Reply
Thread Tools

OT.: Connect from device 2003 to SQLServer

 
 
Matthias Pieroth
Guest
Posts: n/a
 
      03-26-2005
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






 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading ASP w/SQLserver 2000 to ASP.NET w/ SQLserver 2005 =?Utf-8?B?SmVmZnJleQ==?= ASP .Net 2 04-27-2007 03:33 PM
not able to connect to sqlserver yoshitha ASP .Net 0 01-05-2006 05:28 AM
Can connect to SQLServer from windows app, not from web app jhcorey@yahoo.com ASP .Net 1 08-02-2005 01:27 PM
Connect to SQLServer Javier C++ 0 01-19-2005 12:32 PM
connect to sqlserver? Papa_K ASP .Net 1 10-20-2003 12:07 PM



Advertisments