473,401 Members | 2,068 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,401 software developers and data experts.

Integrated Windows Authentication problem

I have a website, that works perfectly locally - it works perfectly, setting
it up on the Development server, but then, when we set itup on the
Production server (all using same SQL Server), when accessing the site
(another intranet server), it prompts for username and password,
Windows-style, which is not what we want -

IWA is checked (alone) in IIS, In the Web.Config file, Impersonate is set
to true, and Authentication Mode is set to Windows.

I'm assuming IIS is setup differently on the Production server, but the guy
who does that isn't sure what that might be.

Is there something in IIS I need to change/add, other than checking IWA, to
make this work like the other servers/computers?

Jan 30 '07 #1
2 3618


On Jan 30, 4:12 pm, "Jimmy J." <bil...@yahoo.comwrote:
I have a website, that works perfectly locally - it works perfectly, setting
it up on the Development server, but then, when we set itup on the
Production server (all using same SQL Server), when accessing the site
(another intranet server), it prompts for username and password,
Windows-style, which is not what we want -

IWA is checked (alone) in IIS, In the Web.Config file, Impersonate is set
to true, and Authentication Mode is set to Windows.
Do you really need Impersonate=true?

It looks like your account doesn't have rights to access server (and
it works locally only)

----------------------------------
Set the NTFS access control list (ACL) for the xxx-directory to allow
access to only those identities that are in the xxx-group and any
required system accounts. You would need to be sure to include the
identity of the ASP.NET process. The identity of the ASP.NET process
for Windows 2000 Server or Windows NT is the local ASPNET account. The
identity of the ASP.NET process for Windows Server 2003 and later is
the identity of the IIS application pool, which by default is the
NETWORK SERVICE account.

source: http://msdn2.microsoft.com/en-us/library/134ec8tc.aspx
----------------------------------

There are a lot of information about that matter
http://msdn2.microsoft.com/en-us/library/
ms998358.aspx#paght000025_usingimpersonation

Jan 30 '07 #2
your iis box is probably setup with kerberos so credential delegation
will work. this forces the dialog. if you can turn off impersonate (or
host sqlserver on the iis box), then you can switch to ntlm like on your
dev box.

-- bruce (sqlwork.com)


Jimmy J. wrote:
I have a website, that works perfectly locally - it works perfectly, setting
it up on the Development server, but then, when we set itup on the
Production server (all using same SQL Server), when accessing the site
(another intranet server), it prompts for username and password,
Windows-style, which is not what we want -

IWA is checked (alone) in IIS, In the Web.Config file, Impersonate is set
to true, and Authentication Mode is set to Windows.

I'm assuming IIS is setup differently on the Production server, but the guy
who does that isn't sure what that might be.

Is there something in IIS I need to change/add, other than checking IWA, to
make this work like the other servers/computers?
Jan 30 '07 #3

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

Similar topics

4
by: Ravikanth[MVP] | last post by:
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-----
9
by: Tom B | last post by:
In my web.config file I've specified Windows for the authentication, in IIS I've set it to Integrated Authentication. But my SQL connection is still showing Anonymous. Is there somewhere else I...
4
by: Andrew | last post by:
Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation, the more advanced stuff is still a challenge. Ok....
3
by: Patrick.O.Ige | last post by:
Hi folks, How can i pass credentials to windows integrated authentication. I want to use my credentials from windows authentication and pass it on to different asp.net and asp pages without having...
5
by: cdlipfert | last post by:
Our intranet is running under windows integrated security. We have domain users that want to access our intranet site via ssl vpn. SSL VPN can not authenticate against services that run under...
2
by: Amedee Van Gasse | last post by:
Hello, Since it is the first time I'm posting in these groups, I believe a (short) introduction of myself would not be a bad thing. I am mainly a support engineer, not a programmer. I do have...
2
by: Dariusz Tomon | last post by:
I got an ASPNET C# project from client. When I'm trying to open it in Visual Studio I get error message: "Unable to start debugging on the web server. Debugging failed because integrated Windows...
3
by: =?Utf-8?B?RGFuZGFuIFpoYW5n?= | last post by:
Now I have a web application, a web service and a SQL Server database. The Web application will invoke the web service, the web service invokes the SQL Server stored procedure. I let the web...
2
by: zanzibar | last post by:
I need to develop an intranet app that uses Windows Authentication with IIS set up for Windows Integrated Authentication. The problem is that I want to force a challenge (i.e., force the user to...
11
by: benoitc | last post by:
I've been having a problem debugging an ASP.NET 1.1 application on an existing Windows XP/Visual Studio 2003 workstation that I've inherited from somebody else. The application builds fine, but...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.