Re: Connecting to MS SQL Express from other PC
- From: "William Vaughn [MVP]" <billvaNoSPAM@xxxxxxxxx>
- Date: Fri, 4 Apr 2008 10:41:14 -0700
"Mixed mode" authentication enables SQL Server authentication AND SSPI (Windows domain) authentication.
See Chapter 9. I also have a long whitepaper on connecting on my blog.
--
__________________________________________________________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker’s Guide to Visual Studio and SQL Server (7th Edition)
____________________________________________________________________________________________
"Misha" <Misha@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:AB5716E4-67DA-43ED-B2AE-0C4499B5AFFA@xxxxxxxxxxxxxxxx
So... Thank you for your help, but it is not working. I found solution.
1. Identical accounts do not works. There is only one way: to create Guest
user at PC where SQL express is installed. Every computer from workgroup will
be as guest and it is working.
2. While installing, SQL express asking for Windows authentication or Mixed
Win/SQL Server authentication. There is no only SQL authentication option.
So, this is also not working. We have to create Guest user first in order to
provide win server aunthentication first.
"Charles Calvert" wrote:
On Thu, 27 Mar 2008 12:53:01 -0700, Misha
<Misha@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
<B419B2CA-FA6A-46AA-A472-7FF874FF98B4@xxxxxxxxxxxxx>:
>I have two PCs with XP Home. One of them has MSSQL Express. The second >one
>uses Access. At SQL server I can give permision only as guest. And I can
>create new DB from Access and create tables - but I can't add any >records.
>
>I downloaded a free book on using MSSQL Express, but there describes how >to
>create logins using windows login from the same PC where server is >installed.
>How to create logins for connection from other PC's, I didn't find >anything.
You have a couple of choices. You can use Windows authentication or
SQL Server authentication.
If you use Windows authentication, you should have identical accounts
on both PCs (i.e. username and password are the same). Create the
user of the SQL Express instance as "THISPC\user", and it should work
for "THATPC\user", provided the usernames and passwords are the same.
If you use SQL Server authentication, then create the user accordingly
and pass the username and password when you connect from the other PC.
Note that SQL Server Express does not allow connections from other PCs
by default. You'll need to enable that feature via the Management
Studio.
--
Charles Calvert | Software Design/Development
Celtic Wolf, Inc. | Project Management
http://www.celticwolf.com/ | Technical Writing
(703) 580-0210 | Research
.
- References:
- Re: Connecting to MS SQL Express from other PC
- From: Charles Calvert
- Re: Connecting to MS SQL Express from other PC
- From: Misha
- Re: Connecting to MS SQL Express from other PC
- Prev by Date: Re: Using SQL Server Express on Shared PC
- Next by Date: Re: Using SQL Server Express on Shared PC
- Previous by thread: Re: Connecting to MS SQL Express from other PC
- Next by thread: Re: Connecting to MS SQL Express from other PC
- Index(es):
Relevant Pages
|