473,387 Members | 1,464 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,387 software developers and data experts.

... forbidden with client authentication scheme Anonymous

I have a client / server written in C#/VS2005 that uses WCF. Each
component exposes a secure (https:) endpoint with WCF. httpcfg was
used to secure the ports with certificates. (Both system use the same
certificate for their endpoints, in case that matters)

The client and server are on different physical systems.

The applications communicate like so:
Request: Client -----Server's endpoint ( https://172.16.26.30:8283/MyServer
)
Response: Server -----Client's endpoint ( https://172.16.26.31:40201/MyClient
)

The client works on every system I've tried it ... but one. On that
one system, when the Server tries to respond, the error the server
gets is: The HTTP request was forbidden with client authentication
scheme 'Anonymous'

This appears to be some kind of IIS setup issue on that one client
system.

I believe I've made sure that Anonymous access is enabled: Control
Panel Administrative Tools Internet Information Services Web
Services right click Properties Directory Security >
Authentication and Access Control Enable Anonymous Access is
checked.

What else could be wrong? What am I missing?

Help!
Mar 29 '08 #1
3 12423
Let us know more details, in particular the binding (basicHttpBinding,
wsHttpBinding, netTcpBinding, etc...) and its attributes. We need to know
where the security check takes place (transport or message) and how the
server/client authenticate.

And, you say the "the error the server gets (...)". Isn't the other way
around?

note: avoid posting to multiple newsgroups please ...

Tiago Halm

<mz*******@gmail.comwrote in message
news:70**********************************@s8g2000p rg.googlegroups.com...
>I have a client / server written in C#/VS2005 that uses WCF. Each
component exposes a secure (https:) endpoint with WCF. httpcfg was
used to secure the ports with certificates. (Both system use the same
certificate for their endpoints, in case that matters)

The client and server are on different physical systems.

The applications communicate like so:
Request: Client -----Server's endpoint (
https://172.16.26.30:8283/MyServer
)
Response: Server -----Client's endpoint (
https://172.16.26.31:40201/MyClient
)

The client works on every system I've tried it ... but one. On that
one system, when the Server tries to respond, the error the server
gets is: The HTTP request was forbidden with client authentication
scheme 'Anonymous'

This appears to be some kind of IIS setup issue on that one client
system.

I believe I've made sure that Anonymous access is enabled: Control
Panel Administrative Tools Internet Information Services Web
Services right click Properties Directory Security >
Authentication and Access Control Enable Anonymous Access is
checked.

What else could be wrong? What am I missing?

Help!

Mar 29 '08 #2
On Mar 30, 1:13 pm, "Tiago Halm" <th...@nospam.hotmail.comwrote:
Finally, if you want to maintain the architecture you have, you need both
services to be setup on IIS with secure channel setup (HTTPS) and seems that
the service that is acting as the client is not setup as such.
Remember, the client works as-is on every other system in our lab,
even other XP systems/ This problem is isolated to *one* *system*.

I'm 99% certain this is a Windows / IIS *setup* issue on the one PC
where it doesn't work ... but I've checked everything in IIS that I
can find am don't know where to look next.

For some reason, which I'm unable to pinpoint, Anonymous connections
are not working on that one PC.
Mar 30 '08 #3
On Mar 30, 1:41 pm, mzarlenga <mzarle...@gmail.comwrote:
I'm 99% certain this is a Windows / IIS *setup* issue on the one PC
where it doesn't work ... but I've checked everything in IIS that I
can find am don't know where to look next.

For some reason, which I'm unable to pinpoint, Anonymous connections
are not working on that one PC.
Update: I uninstalled IIS, renamed C:\Inetpub then reinstalled IIS.

And it's working fine now. I have no idea what was wrong with the
previous installation of IIS. Everything looked just fine.

Anyway, problem solved, thanks for your feedback, Tiago.

Mar 31 '08 #4

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

Similar topics

0
by: Joey Edelstein | last post by:
Hi, We are trying to add a Client Certificate support for our web app that emulates a hardware device web app. The hardware uses a 2 factors authentication, which requires a Web Service client...
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...
8
by: trinitypete | last post by:
Hi all I have a strange problem with IIS windows pass through authentication. Heres the setup IIS running with Windows Authentication for our intranet site. ACL has been set to everyone for all...
1
by: John Yung | last post by:
Hi, I have a client (C# MS Excel Project) calling a Web Service to retrieve and update data. One of the business requirement is the client's NT Login ID, IP Address and computer name must be log...
5
by: Jared | last post by:
Hi I am trying to get the Windows username and PC name from the client PC in VB or c#. I am using 'forms' authentication and 'anonymous access' in IIS. Is it possible to get the client PC's...
6
by: Hao | last post by:
There is a wield issue in inspecting the network traffic on the web service client side. There are two soap calls if credentials are used. The first call has no credentials and is rejected by the...
4
by: Remote_User | last post by:
Hi, When I create a WCF client (hosting the service is fine) and the service on the same machine everything works is good. But when I want to have the client on a different machine this fails....
0
by: =?Utf-8?B?PT10aW1lPT0=?= | last post by:
I am trying to build a proof of concept of a WCF service utilisting a wsHttpBinding with Transport Certificate security. I am having problems connecting to it with a console client - everytime I...
1
by: whitemice | last post by:
The only documentation regarding doing authentication for XML-RPC I can find is - "Both the HTTP and HTTPS transports support the URL syntax extension for HTTP Basic Authentication:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
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,...
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...

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.