Hi
It is possible that IIS and SQL Server can reside on
Seperate Machines and you can use Integrated Windows
Authentication to connect.
Ravikanth -----Original Message----- Is it possible for IIS and SQL server on Separate
Machineswith integrated windows Authentication in ASP.NET?
The IIS and SQL server are on sepatated machines. I want to use the Integrated Windows Authentication. In IIS I enable NTLM. In web.config, I have <authentication mode="Windows" /> <identity impersonate="true"/>. But still failed. The IIS pass through account domainname/IIScomputername$ to SQL Server. But in the
IISor in the domain, it doesn't have the such account.
Then I search in Microsoft, found such article http://msdn.microsoft.com/library/default.asp? url=/library/en- us/vbcon/html/vbtskAccessingSQLServerUsingMappedWindowsDo
mainUser.asp . It said the SQL server should be running on the same computer as IIS. But I also found another
articlehttp://support.microsoft.com/default.aspx?scid=kb;EN- US;176379. That's for asp. It said asp can do that. So
I'mjust wondering is it possible also for ASP.NET?
robert
. 4 8518
hi, Ravikanth;
Could you give me more info how to do that? I've tried. I
set the IIS ->Directory Security -> Anonymous access and
authentication control-> edit-> select "integrated windows
authentication", no others. In web.config, <authentication
mode="Windows" /> <identity impersonate="true"/>. In
connection string,"integrated
security=SSPI;Trusted_Connection=Yes; persist security
info=False;" But still failed. The account from IIS send
to SQL server as the login account
is "domainname/IIScomputername$"
So what the problem I've done? how to solve the problem?
In msdn, http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/vbcon/html/vbtskAccessingSQLServerUsingMappedWindowsDoma
inUser.asp. it said, Integrated security requires: That
SQL server be running on the same computer as IIS. Is that
wrong?
thanks
robert -----Original Message----- Hi
It is possible that IIS and SQL Server can reside on Seperate Machines and you can use Integrated Windows Authentication to connect.
Ravikanth
-----Original Message----- Is it possible for IIS and SQL server on Separate Machineswith integrated windows Authentication in ASP.NET?
The IIS and SQL server are on sepatated machines. I want to use the Integrated Windows Authentication. In IIS I enable NTLM. In web.config, I have <authentication mode="Windows" /> <identity impersonate="true"/>. But still failed. The IIS pass through account domainname/IIScomputername$ to SQL Server. But in the IISor in the domain, it doesn't have the such account.
Then I search in Microsoft, found such article http://msdn.microsoft.com/library/default.asp? url=/library/en- us/vbcon/html/vbtskAccessingSQLServerUsingMappedWindowsDo mainUser.asp . It said the SQL server should be running on the same computer as IIS. But I also found another articlehttp://support.microsoft.com/default.aspx?scid=kb;EN- US;176379. That's for asp. It said asp can do that. So I'mjust wondering is it possible also for ASP.NET?
robert
. .
Robert,
If you go through the steps in the following URLs you
should get this set up no problem. http://support.microsoft.com/default.aspx?scid=kb;en-
us;319723 http://support.microsoft.com/default.aspx?scid=kb;en-
us;810572
Before going through all steps I would recommend that you
check the following:
Advanced option in IE of Enable Integrated Windows
Authentication is selected.
Using these articles enabled me to set up an environment
connecting from Client A -> IIS Server -> SQL Cluster
using integrated security and impersonation.
Hope that helps
Aidan Glendye -----Original Message----- hi, Ravikanth;
Could you give me more info how to do that? I've tried. I set the IIS ->Directory Security -> Anonymous access and authentication control-> edit-> select "integrated
windowsauthentication", no others. In web.config,
<authenticationmode="Windows" /> <identity impersonate="true"/>. In connection string,"integrated security=SSPI;Trusted_Connection=Yes; persist security info=False;" But still failed. The account from IIS send to SQL server as the login account is "domainname/IIScomputername$"
So what the problem I've done? how to solve the problem?
In msdn, http://msdn.microsoft.com/library/default.asp? url=/library/en- us/vbcon/html/vbtskAccessingSQLServerUsingMappedWindowsDom
ainUser.asp. it said, Integrated security requires: That SQL server be running on the same computer as IIS. Is
thatwrong?
thanks robert-----Original Message----- Hi
It is possible that IIS and SQL Server can reside on Seperate Machines and you can use Integrated Windows Authentication to connect.
Ravikanth
-----Original Message----- Is it possible for IIS and SQL server on Separate Machineswith integrated windows Authentication in ASP.NET?
The IIS and SQL server are on sepatated machines. I
wantto use the Integrated Windows Authentication. In IIS I enable NTLM. In web.config, I have <authentication mode="Windows" /> <identity impersonate="true"/>. But still failed. The IIS pass through account domainname/IIScomputername$ to SQL Server. But in the IISor in the domain, it doesn't have the such account.
Then I search in Microsoft, found such article http://msdn.microsoft.com/library/default.asp? url=/library/en- us/vbcon/html/vbtskAccessingSQLServerUsingMappedWindowsD
omainUser.asp . It said the SQL server should be running
onthe same computer as IIS. But I also found another articlehttp://support.microsoft.com/default.aspx?scid=kb;EN- US;176379. That's for asp. It said asp can do that. So I'mjust wondering is it possible also for ASP.NET?
robert
. . .
still doesn't work. Same error.
any other suggestion?
robert -----Original Message----- Robert,
If you go through the steps in the following URLs you should get this set up no problem.
http://support.microsoft.com/default.aspx?scid=kb;en- us;319723
http://support.microsoft.com/default.aspx?scid=kb;en- us;810572
Before going through all steps I would recommend that you check the following:
Advanced option in IE of Enable Integrated Windows Authentication is selected.
Using these articles enabled me to set up an environment connecting from Client A -> IIS Server -> SQL Cluster using integrated security and impersonation.
Hope that helps
Aidan Glendye
-----Original Message----- hi, Ravikanth;
Could you give me more info how to do that? I've tried.
Iset the IIS ->Directory Security -> Anonymous access and authentication control-> edit-> select "integratedwindowsauthentication", no others. In web.config, <authenticationmode="Windows" /> <identity impersonate="true"/>. In connection string,"integrated security=SSPI;Trusted_Connection=Yes; persist security info=False;" But still failed. The account from IIS send to SQL server as the login account is "domainname/IIScomputername$"
So what the problem I've done? how to solve the problem?
In msdn, http://msdn.microsoft.com/library/default.asp? url=/library/en- us/vbcon/html/vbtskAccessingSQLServerUsingMappedWindowsDo
mainUser.asp. it said, Integrated security requires: That SQL server be running on the same computer as IIS. Isthatwrong?
thanks robert-----Original Message----- Hi
It is possible that IIS and SQL Server can reside on Seperate Machines and you can use Integrated Windows Authentication to connect.
Ravikanth
-----Original Message----- Is it possible for IIS and SQL server on Separate Machines with integrated windows Authentication in ASP.NET?
The IIS and SQL server are on sepatated machines. I wantto use the Integrated Windows Authentication. In IIS I enable NTLM. In web.config, I have <authentication mode="Windows" /> <identity impersonate="true"/>. But still failed. The IIS pass through account domainname/IIScomputername$ to SQL Server. But in the IIS or in the domain, it doesn't have the such account.
Then I search in Microsoft, found such article http://msdn.microsoft.com/library/default.asp? url=/library/en- us/vbcon/html/vbtskAccessingSQLServerUsingMappedWindows
Doma inUser.asp . It said the SQL server should be runningonthe same computer as IIS. But I also found another article http://support.microsoft.com/default.aspx?scid=kb;EN- US;176379. That's for asp. It said asp can do that. So I'm just wondering is it possible also for ASP.NET?
robert
.
.
. .
Hi Robert:
WIth IIS and SQL on seperate machines, you'll need to go one step past
"impersonation" and look at "delegation" via Kerberos. There is a good
description of why your situation does not work and the steps you
would need to take to use delegation in the following article (see the
"Security" section): http://www.databasejournal.com/featu...nt.php/2211161
Delegation requires a specific network environment, and is also
riskier from a security perspective, so you might want to consider the
"Delegation Alternatives" in the .net docs: http://msdn.microsoft.com/library/de...Delegation.asp
On Thu, 31 Jul 2003 23:27:03 -0700, "robert"
<ro**********@atfreeweb.com> wrote: hi, Ravikanth;
Could you give me more info how to do that? I've tried. I set the IIS ->Directory Security -> Anonymous access and authentication control-> edit-> select "integrated windows authentication", no others. In web.config, <authentication mode="Windows" /> <identity impersonate="true"/>. In connection string,"integrated security=SSPI;Trusted_Connection=Yes; persist security info=False;" But still failed. The account from IIS send to SQL server as the login account is "domainname/IIScomputername$"
So what the problem I've done? how to solve the problem?
--
Scott This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Melanie Black |
last post by:
I am currently running a windows 2000 machine with asp, sql server,
mail server, ftp server etc all on the same box.
The site runs several hundred ecommerce stores. Recently the
processor...
|
by: tcg_gilbert |
last post by:
I'm developing a web application for our local intranet that will allow users
to pull up a webpage and update or deleted or insert records into a database
as well as run reports etc...
Our DB...
|
by: Matt F |
last post by:
Hi all
I was hoping some one could clear up an ASP.Net security question I
have.
I am writing an ASP.NET application that connects to SQL Server. The
security setup (connection string and...
|
by: Mohamed Zaki |
last post by:
Dear All,
I've develop asp.net solution to enumerate the domain users, this
solution using Windows Integrated Authentication, however on the staging
server it's working fine, but when moving the...
|
by: Damien Sawyer |
last post by:
Hello - I'm having a serious problem with IIS on Windows XP pro.
Whenever I try to run ASP pages, I get
HTTP 500 - Internal server error
This behaviour happens identically, on two 'totally...
|
by: Tim Baley |
last post by:
I recently created some intranet web sevices to expose stored procedures on
our SQL Servers (SQL2k). The stored procedures include an audit trail with
user/login identification, so the web...
|
by: stephen |
last post by:
Hi,
I am facing this problem:
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection
IIS and SQL Server on separate machines using NT security and I am able...
|
by: Michel Vanderbeke |
last post by:
Hello,
Each time I want to display a report through VB.NET code, I get a form
inviting me to give a connection_id and a password. It contains also a
checkbox where I can choose for Integrated...
|
by: Awanka |
last post by:
I have a windows Server 2003 machine, and need to make a connection to another Window Server 2003 machine, and copy over some files to a certain directory. In Unix I can just do this using ftp. Can...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |