Re: IIS and SQL Server on different machines: how to connect with windows security
From: Paolo C (paoloC_at_com4.ok)
Date: 06/27/03
- Next message: --Charles Johnson: "semi-random job failure: 8198"
- Previous message: Mandar Naik[MSFT]: "Re: IIS and SQL Server on different machines: how to connect with windows security"
- In reply to: Mandar Naik[MSFT]: "Re: IIS and SQL Server on different machines: how to connect with windows security"
- Next in thread: Bronek Kozicki: "Re: IIS and SQL Server on different machines: how to connect with windows security"
- Reply: Bronek Kozicki: "Re: IIS and SQL Server on different machines: how to connect with windows security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 27 Jun 2003 05:41:33 -0700
>-----Original Message-----
>I'm a little confused about which one is Server1 and
Server2 and which one
>is the IIS and SQL Server.
>
Hi, you are right, I reformulate the question:
I have a web server (Windows 2000 server) with IIS5
and .NET Framework (SERVER2) and another server (Windows
2000 Server) with SQL Server 2000 (SERVER1).
I would like to connect to a db on SERVER1 from ASP and
ASPX pages on SERVER2 using the Windows Authentication.
I would like, to be precise, that IUSR_SERVER2 and ASPNET
users of SERVER2 can connect to db on SERVER1.
when I try to create the logins for this 2 users:
exec sp_grantlogin 'Server2\IUSR_Server2'
exec sp_grantlogin 'Server2\ASPNET'
I get this error:
Windows NT user or group 'Server2\IUSR_Server2' not found.
Check the name again.
Windows NT user or group 'Server2\ASPNET' not found. Check
the name again.
>>>
However, if your question is about adding a local user of
another server
into your SQL Server running on a different machine , this
cannot be done.
If both the servers are in the same domain, you can give
access to Domain
accounts within your SQL Server.
>>>
You are right, I was also thinking of this.
So, what do you think is the best way to connect from ASP
using windows authentication from a remote machine?
And why do we need IUSR and ASPNET account on the local
machine, if we can only use them on a IIS on the local,
but not on a different server? I thought connecting to db
with theese users from asp and aspx page is the
reccomended practice...
Thanks in advance
- Next message: --Charles Johnson: "semi-random job failure: 8198"
- Previous message: Mandar Naik[MSFT]: "Re: IIS and SQL Server on different machines: how to connect with windows security"
- In reply to: Mandar Naik[MSFT]: "Re: IIS and SQL Server on different machines: how to connect with windows security"
- Next in thread: Bronek Kozicki: "Re: IIS and SQL Server on different machines: how to connect with windows security"
- Reply: Bronek Kozicki: "Re: IIS and SQL Server on different machines: how to connect with windows security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|