Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Security settings for this service require Windows Authentication

 
 
Old 06-19-2007   #1 (permalink)
Hiten


 
 

Security settings for this service require Windows Authentication

Hi,

I am Hosting WCF service in IIS 5.1

Config is set to transport layer security. SSL is installed and configured
on the virtual folder and BasicHTTP bidings are being used for connection.

Authentication in web.config is set to Windows

Authorization in web.config is set to Deny Users="?" and Allow Users="*"

When trying to connect to the service using IE, it throws exception that

"Security settings for this service require Windows Authentication but it is
not enabled for the IIS application that hosts this service. "

Can some one tell me what is missing?

Do I have to set anything in Web.Config?

I need to achieve following using Basic HTTP binding

Transport Layer security (SSL), Windows Domain Authentication, Use user's
Domain identity to impersonate the user in service

Please suggest the settings if any. Please note that the same functionality
and config settings works when hosting in Windows Service.

Thanks




My System SpecsSystem Spec
Old 06-22-2007   #2 (permalink)
ronscottlangham@yahoo.com


 
 

Re: Security settings for this service require Windows Authentication

On Jun 19, 2:00 pm, Hiten <H...@discussions.microsoft.com> wrote:
> Hi,
>
> I am Hosting WCF service in IIS 5.1
>
> Config is set to transport layer security. SSL is installed and configured
> on the virtual folder and BasicHTTP bidings are being used for connection.
>
> Authentication in web.config is set to Windows
>
> Authorization in web.config is set to Deny Users="?" and Allow Users="*"
>
> When trying to connect to the service using IE, it throws exception that
>
> "Security settings for this service require Windows Authentication but it is
> not enabled for the IIS application that hosts this service. "
>
> Can some one tell me what is missing?
>
> Do I have to set anything in Web.Config?
>
> I need to achieve following using Basic HTTP binding
>
> Transport Layer security (SSL), Windows Domain Authentication, Use user's
> Domain identity to impersonate the user in service
>
> Please suggest the settings if any. Please note that the same functionality
> and config settings works when hosting in Windows Service.
>
> Thanks


Do you have the Security settings set in IIS Manager? Under Directory
Security, do you have Digest or Basic authentication enabled? You
may also turn off Anonymous access to ensure that these are being
used. But, this means that you will then have to pass the name/
password details via the client proxy ClientCredentials.

Also, my understanding is that the system.web <authorization> plays no
role in WCF applications. That the only role enforcement available is
check the role in code using IsInRole or use the role permission
Attributes on the service. I am suspecting that the <authentication>
node in system.web is also the case.

If still not the case, post your web.config to view

Ron

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Web Service Authentication in ASP.NET (C#) .NET General
Wireless authentication settings? Vista networking & sharing
Security Service and Windows Wireless Service stopped working Vista General
security settings and many java windows Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46