﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Patrick LeBlanc / Article Discussions / Article Discussions by Author  / Reporting Services - Solving a 401 Error / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 11:28:40 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Reporting Services - Solving a 401 Error</title><link>http://www.sqlservercentral.com/Forums/Topic799722-405-1.aspx</link><description>Hi there,For a long time I struggled with 401 type Auth errors with my SRS 2005 installation.  After many unsuccessful approaches I found the issue in my case was caused a slipstream server installation on Windows Server 2003 with SP2.  With this type of installation the default authentication providers for IIS websites were turned off.To fix this I had to manually enter the provider in the Metabase.xml file located in the \system32\inetsrv folder.Here is an example of what I had to do to fix the problem....&amp;lt;IIsWebVirtualDir	Location ="/LM/W3SVC/1/ROOT/ReportServer"		AccessFlags="AccessRead"		AppFriendlyName="Report Server"		AppIsolated="2"		AppRoot="/LM/W3SVC/1/Root/ReportServer"		AspAllowSessionState="TRUE"		AspBufferingOn="TRUE"		AspEnableParentPaths="FALSE"		AspScriptLanguage="VBScript"		AuthFlags="AuthNTLM"		DirBrowseFlags="DirBrowseShowDate | DirBrowseShowTime | DirBrowseShowSize | DirBrowseShowExtension | DirBrowseShowLongDate | EnableDefaultDoc"		NTAuthenticationProviders="NTLM"		                         Path="C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting            Services\ReportServer"		ScriptMaps="*,C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll,1"The only piece I had to add was this line: NTAuthenticationProviders="NTLM"One additional note: To make this change you must first go into Internet serverices mananger Right click at the highest level (server Icon) in the console and choose properties.Place a check in the box to enable direct metabase edit.  After completeing the process I did an IISreset and voila....weeks of struggling fixed by one little entry.</description><pubDate>Fri, 09 Oct 2009 16:41:23 GMT</pubDate><dc:creator>stowe</dc:creator></item><item><title>RE: Reporting Services - Solving a 401 Error</title><link>http://www.sqlservercentral.com/Forums/Topic799722-405-1.aspx</link><description>Thanks.  It was named that way because if you do not follow all the steps you will encounter a 401.  We maybe should have added something about upgrading in the title.  Thanks for the comment.</description><pubDate>Thu, 08 Oct 2009 10:18:57 GMT</pubDate><dc:creator>Patrick_LeBlanc</dc:creator></item><item><title>RE: Reporting Services - Solving a 401 Error</title><link>http://www.sqlservercentral.com/Forums/Topic799722-405-1.aspx</link><description>ERROR:  Client found response content type of '', but expected 'text/xml'. We did encounter this error.  You have to ensure that your proxy or application is referencing the correct webservice.    We refreshed the Web service and the error was resolved.  Hope this helps.</description><pubDate>Thu, 08 Oct 2009 10:17:27 GMT</pubDate><dc:creator>Patrick_LeBlanc</dc:creator></item><item><title>RE: Reporting Services - Solving a 401 Error</title><link>http://www.sqlservercentral.com/Forums/Topic799722-405-1.aspx</link><description>This is a very good upgrade article but why it was named "Solving a 401 error" ?</description><pubDate>Thu, 08 Oct 2009 09:34:35 GMT</pubDate><dc:creator>Yelena Varshal</dc:creator></item><item><title>RE: Reporting Services - Solving a 401 Error</title><link>http://www.sqlservercentral.com/Forums/Topic799722-405-1.aspx</link><description>You mentioned at the bottom of this article that you had some other problems with .net applications and the SSRS web service.  I have just upgraded to 2008 and we are having some problems with rendering a report from a .net application.  We have found that the wsdl reference is different and the methods are also different.  We now have it working from within VisualStudio. But, when we try to run the application under IIS we get the following error Message : Client found response content type of '', but expected 'text/xml'.  Any ideas?</description><pubDate>Thu, 08 Oct 2009 06:46:56 GMT</pubDate><dc:creator>Gary Jobe</dc:creator></item><item><title>RE: Reporting Services - Solving a 401 Error</title><link>http://www.sqlservercentral.com/Forums/Topic799722-405-1.aspx</link><description>This only applies to SSRS 2008.  SSRS 2005 uses IIS, therefore these options would be set there.  shoot me an email at pleblanc@tsqlscripts.com if you need help.</description><pubDate>Thu, 08 Oct 2009 04:00:25 GMT</pubDate><dc:creator>Patrick_LeBlanc</dc:creator></item><item><title>RE: Reporting Services - Solving a 401 Error</title><link>http://www.sqlservercentral.com/Forums/Topic799722-405-1.aspx</link><description>Hi,Can I use similar procedure for SQL server 2005 SSRS?Regards,Kiran</description><pubDate>Thu, 08 Oct 2009 02:24:35 GMT</pubDate><dc:creator>Kiran gazzy</dc:creator></item><item><title>Reporting Services - Solving a 401 Error</title><link>http://www.sqlservercentral.com/Forums/Topic799722-405-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Reporting+Services+(SSRS)/67944/"&gt;Reporting Services - Solving a 401 Error&lt;/A&gt;[/B]</description><pubDate>Thu, 08 Oct 2009 00:23:03 GMT</pubDate><dc:creator>Patrick_LeBlanc</dc:creator></item></channel></rss>