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, samples, codes and tools for .Net, SQL Server, Vista, etc.

Software Development



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

Hi,

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" />
</security>



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: , , ,

Comments

 

rimonabantexcellence site title said:

May 17, 2013 10:14 AM
 

rimonabantexcellence site title said:

May 20, 2013 10:32 AM
 

rimonabantexcellence site title said:

May 20, 2013 10:35 AM
 

rimonabantexcellence site title said:

May 21, 2013 7:47 PM
 

propecia said:

May 22, 2013 12:20 PM
 

rimonabantexcellence site title said:

May 30, 2013 5:53 PM
 

rimonabantexcellence site title said:

June 3, 2013 6:50 AM
Anonymous comments are disabled
Copyright © 2004 - 2013 Eralper Yilmaz. All rights reserved.
Community Server by Telligent Systems