User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 392,088 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,927 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser:
Views: 2237 | Replies: 2
Reply
Join Date: Apr 2007
Posts: 6
Reputation: Sawe is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Sawe Sawe is offline Offline
Newbie Poster

Question Connecting to a SQL server on another XP computer

  #1  
Apr 27th, 2007
i want to connect to a sql server running on another xp computer. i have made the sql connection, sql data adapter (using Data controls, not connecting manually from code). i can fill the data adapter from the design view by right clicking on the adapter, Fill dataset and i see all the data in tables.

however when i need to fill the dataset at runtime i get a sql error. it seems i must connect from the same domain but i am running xp and i have failed to create domains (this is probably not possible without a 2000/2003 server)

Please help, i need to maintain sql database on a remote pc running XP and all applications access the sql server on the remote pc

please help

i am using a sql login
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2005
Location: Braintree, UK
Posts: 1,164
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Rep Power: 7
Solved Threads: 58
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: Connecting to a SQL server on another XP computer

  #2  
Apr 27th, 2007
is the XP machine with Sql server running windows firewall? or Norton or <fill in firewall here> ?

If so you need to allow TCP/IP connections on port 1433

Also althoiugh you're using Sql Login, Sql Server iuses mixed mode by default (windows and sql login) meaning windows authentication is required for a login somehow that's where I get a bit vague as I havn't dealt with peer to peer networks for too long.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote  
Join Date: Apr 2007
Posts: 6
Reputation: Sawe is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Sawe Sawe is offline Offline
Newbie Poster

Re: Connecting to a SQL server on another XP computer

  #3  
Apr 28th, 2007
Thank a lot, now i have figured out that even if i want to connect to a sql server on my pc using a sql server login i cannot fill the dataset. the problem should also lie in the permissions set for an application (VB>NET ) to connect to SQl SERVER USING A SQL SERVER LOGIN.

IF I USE WINDOWS LOGIN I CAN CONNECT AND FILL THE DATASET EVEN ON THE REMOTE PC
Last edited by Sawe : Apr 28th, 2007 at 8:48 am.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb VB.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 12:36 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC