SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software Kodyaz Development Resources
Development resources, articles, tutorials, code samples and tools and downloads for ASP.Net, SQL Server, R Script, Windows, Windows Phone, AWS, SAP HANA and ABAP, like SAP UI5, Screen Personas, etc.

Software Development

The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,Kerberos,NTLM'.


I have downloaded and installed the Microsoft SQL Server 2008 February CTP (aka CTP 6) on my laptop successfully.

Later, I have downloaded the sample database AdventureWorks and sample XML applications from CodePlex. While running the XmlManuInstructions sample application, I created an other Windows Forms Application (actually we can consider it as an WCF - Windows Communication Foundation) and I get the following error message in the MS Visual Studio 2008.

The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,Kerberos,NTLM'.

After I have workes some on the IIS virtual directory and in the app.config file, I had finally find a way to work successfully with the default IIS security settings of the virtual directory.

The solution is related with the "security" tag where you can set the security mode, credentials, etc.

Alter the "<security mode="None">" to "<security mode="TransportCredentialOnly">" and "<transport clientCredentialType="Windows" proxyCredentialType="Windows" realm="" />" to "<transport clientCredentialType="Windows" proxyCredentialType="Windows" realm="" />"

Here is the working web config "security" tag settings in the app.config configuration file.

<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" proxyCredentialType="Windows" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />

I hope this helps you if you have experienced the same problem in MS Visual Studio 2008 and Microsoft SQL Server 2008 (Katmai) sample XML application XmlManuInstructions.

Published Monday, February 25, 2008 7:53 PM
Filed Under: , , ,


No Comments
Anonymous comments are disabled

About eralper

SQL Server administrator and T-SQL developer including BI components Web programming with HTML, HTML5 and ASP, ASP.NET and .NET Framework developer SAP ABAP and SAPUI5 development, Web Dynpro and Smart Form Siemens HiPath Center CTI development
Copyright © 2004 - 2020 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems