473,387 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Windows XP Home Issue with SQL Server

We have developed an application that connects to our sql server using the
windows authentication. 99.9% of all our pc's belong to the domain but we
have a couple of XP Home laptops that need to connect but of course you
can't join a domain with home edition. We are currently using this
connection string but with home since it isn't part of the domain and is
only logging in locally it will not authenticate with windows authentication
because it isn't part of the domain and sql server won't let me add a user
from a workgroup, does anyone have an idea on how to get this user
authenticated. Can I look for when he opens the app and force his username
and password or something. Any help would be appreciated. Thanks

Me.sqlConn.ConnectionString = "initial catalog=TSQL;data
source=SERVER1;Integrated Security=true;"
Nov 21 '05 #1
3 1064
Hi,

I would create a user for the sql server database with just the
permissions he or she needs for the application. You will have to provide a
user name and password in the connection string for the xp home
workstations.

Ken
----------------
"B-Dog" <bd***@hotmail.com> wrote in message
news:Oi**************@TK2MSFTNGP09.phx.gbl...
We have developed an application that connects to our sql server using the
windows authentication. 99.9% of all our pc's belong to the domain but we
have a couple of XP Home laptops that need to connect but of course you
can't join a domain with home edition. We are currently using this
connection string but with home since it isn't part of the domain and is
only logging in locally it will not authenticate with windows
authentication
because it isn't part of the domain and sql server won't let me add a user
from a workgroup, does anyone have an idea on how to get this user
authenticated. Can I look for when he opens the app and force his username
and password or something. Any help would be appreciated. Thanks

Me.sqlConn.ConnectionString = "initial catalog=TSQL;data
source=SERVER1;Integrated Security=true;"

Nov 21 '05 #2
Set sql server to mixed mode authentication , now create a user with the
apropriate rights in the database , connect with the username and password
in your connection string and it will work
regards

Michel Posseth


"B-Dog" <bd***@hotmail.com> schreef in bericht
news:Oi**************@TK2MSFTNGP09.phx.gbl...
We have developed an application that connects to our sql server using the
windows authentication. 99.9% of all our pc's belong to the domain but we
have a couple of XP Home laptops that need to connect but of course you
can't join a domain with home edition. We are currently using this
connection string but with home since it isn't part of the domain and is
only logging in locally it will not authenticate with windows
authentication
because it isn't part of the domain and sql server won't let me add a user
from a workgroup, does anyone have an idea on how to get this user
authenticated. Can I look for when he opens the app and force his username
and password or something. Any help would be appreciated. Thanks

Me.sqlConn.ConnectionString = "initial catalog=TSQL;data
source=SERVER1;Integrated Security=true;"

Nov 21 '05 #3
Thanks, I guess I'll have to do it that way. Thanks

"m.posseth" <po*****@planet.nl> wrote in message
news:OI**************@TK2MSFTNGP10.phx.gbl...
Set sql server to mixed mode authentication , now create a user with the
apropriate rights in the database , connect with the username and password in your connection string and it will work
regards

Michel Posseth


"B-Dog" <bd***@hotmail.com> schreef in bericht
news:Oi**************@TK2MSFTNGP09.phx.gbl...
We have developed an application that connects to our sql server using the windows authentication. 99.9% of all our pc's belong to the domain but we have a couple of XP Home laptops that need to connect but of course you
can't join a domain with home edition. We are currently using this
connection string but with home since it isn't part of the domain and is
only logging in locally it will not authenticate with windows
authentication
because it isn't part of the domain and sql server won't let me add a user from a workgroup, does anyone have an idea on how to get this user
authenticated. Can I look for when he opens the app and force his username and password or something. Any help would be appreciated. Thanks

Me.sqlConn.ConnectionString = "initial catalog=TSQL;data
source=SERVER1;Integrated Security=true;"


Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: GriffithsJ | last post by:
I have a series of websites, let's call them "customer1.mydomain.co.uk" --> "customer200.mydomain.co.uk". Each URL is bound to an individual IP address which can be resolved using nslookup. ...
11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
1
by: Peter L.S. Trevor | last post by:
I just got Visual Studio 6 Enterprise which includes SQL Server 7. However, when I try to install SQL7 (Standard Edition ?) on Windows XP Home it only installs the client components and not...
3
by: chicken butt | last post by:
Hi - I am trying to move some of my web apps from my development machine running XP PRO SP2 to one of our Windows 2000 server boxes. I have created a new site for each of the apps and am using...
0
by: Charles Leonard | last post by:
I am having yet another issue with Windows Server 2003. This time, the web service (a file import web service) appears to run except for one odd message: "ActiveX component can't create object". ...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
7
by: programming | last post by:
Hi all, i have been having trouble with a login script that works on my windows machine, however when i upload it to the Unix server through VPN, the same script won't work! It won't parse...
9
cyberking
by: cyberking | last post by:
Hi all. Hmm.. Firstly, I have never worked on the administration side and also know nothin bout it. So please forgive if my question sounds very dumb. I am looking to you guys to please help me...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...

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.