<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>XML Web Services</title><link>http://forums.asp.net/28.aspx</link><description>All about building XML Web Services with ASP.NET - SOAP, WSDL, WCF, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=66&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Difference between asp.net development server and IIS (relating to web service calls)</title><link>http://forums.asp.net/thread/1961837.aspx</link><pubDate>Thu, 18 Oct 2007 07:59:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1961837</guid><dc:creator>loydall</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1961837.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=1961837</wfw:commentRss><description>&lt;p&gt;Thanks - I&amp;#39;ve tried all that and it doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;I have tried using the default credentials and even hard coding my log in details into the credentials. &lt;/p&gt;
&lt;p&gt;I have identity impersonate set to true. And I have windows integrated authentication turned on.&lt;/p&gt;
&lt;p&gt;I still get this error (going through iis, not asp.net development server).&lt;/p&gt;
&lt;p&gt;The authoriusation error is definately happening when I call the web service.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any ideas?&lt;/p&gt;</description></item><item><title>Re: Difference between asp.net development server and IIS (relating to web service calls)</title><link>http://forums.asp.net/thread/1960735.aspx</link><pubDate>Wed, 17 Oct 2007 15:58:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1960735</guid><dc:creator>aaron.croft</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1960735.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=1960735</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Okay, I re-read your post.&lt;/p&gt;&lt;p&gt;&amp;nbsp;As I stated, the ASp.Net dev server basically runs with an account with admin priveledges.&lt;/p&gt;&lt;p&gt;&amp;nbsp;If you run in IIS even if you authentice, the application doesn&amp;#39;t &amp;quot;run as&amp;quot; who you authenticate.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
To mimic this enable impersonation.&lt;/p&gt;&lt;p&gt;Add this to your web.config:&lt;/p&gt;
&lt;pre class="code" id="ctl00_LibFrame_ctl06"&gt;&amp;lt;identity impersonate=&amp;quot;true&amp;quot; /&amp;gt;&lt;/pre&gt;
&lt;pre class="code" id="ctl00_LibFrame_ctl06"&gt;Otherwise, adding the credentials to your proxy will add the anonymous ASP.Net&amp;#39;s account to the proxy not the authenticated users.&amp;nbsp;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Difference between asp.net development server and IIS (relating to web service calls)</title><link>http://forums.asp.net/thread/1960703.aspx</link><pubDate>Wed, 17 Oct 2007 15:42:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1960703</guid><dc:creator>jcw14</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1960703.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=1960703</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve often had problems with IIS when Anonymous and Integrated Authentication are on together.&lt;/p&gt;
&lt;p&gt;The only surefire way to pass the credentials is with &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proxy&lt;span style="FONT-WEIGHT:bold;COLOR:#800000;"&gt;.&lt;/span&gt;&lt;span&gt;&lt;span class="searchword"&gt;Credentials&lt;/span&gt; &lt;/span&gt;&lt;span style="FONT-WEIGHT:bold;COLOR:#800000;"&gt;=&lt;/span&gt;&lt;span&gt; System&lt;/span&gt;&lt;span style="FONT-WEIGHT:bold;COLOR:#800000;"&gt;.&lt;/span&gt;&lt;span&gt;Net&lt;/span&gt;&lt;span style="FONT-WEIGHT:bold;COLOR:#800000;"&gt;.&lt;/span&gt;&lt;span&gt;CredentialCache&lt;/span&gt;&lt;span style="FONT-WEIGHT:bold;COLOR:#800000;"&gt;.&lt;/span&gt;&lt;span&gt;Default&lt;span class="searchword"&gt;Credentials&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Difference between asp.net development server and IIS (relating to web service calls)</title><link>http://forums.asp.net/thread/1960691.aspx</link><pubDate>Wed, 17 Oct 2007 15:36:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1960691</guid><dc:creator>aaron.croft</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1960691.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=1960691</wfw:commentRss><description>&lt;p&gt;Does the client fail to connect to the web service or does something the service does cause an error?&lt;/p&gt;&lt;p&gt;&amp;nbsp;The
ASP.Net Development server runs all of your code under the credential
of the person logged into the machine (the developer).&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you have impersonation enabled on the web service project? &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Difference between asp.net development server and IIS (relating to web service calls)</title><link>http://forums.asp.net/thread/1960662.aspx</link><pubDate>Wed, 17 Oct 2007 15:25:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1960662</guid><dc:creator>loydall</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1960662.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=1960662</wfw:commentRss><description>&lt;p&gt;Yes - I&amp;#39;ve enabled Integrated Windows Authentication under directory security&lt;/p&gt;</description></item><item><title>Re: Difference between asp.net development server and IIS (relating to web service calls)</title><link>http://forums.asp.net/thread/1960628.aspx</link><pubDate>Wed, 17 Oct 2007 15:09:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1960628</guid><dc:creator>jcw14</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1960628.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=1960628</wfw:commentRss><description>&lt;p&gt;Have you checked that your IIS is set to use Integrated Authentication?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Difference between asp.net development server and IIS (relating to web service calls)</title><link>http://forums.asp.net/thread/1960373.aspx</link><pubDate>Wed, 17 Oct 2007 13:11:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1960373</guid><dc:creator>loydall</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1960373.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=1960373</wfw:commentRss><description>&lt;p&gt;Hello - If I call a windows authenticated web service from a web app running through the Visual Studio asp.net development server it works fine.&lt;/p&gt;
&lt;p&gt;If I&amp;nbsp; call the same web service from the same app running from iis, it fails.&lt;/p&gt;
&lt;p&gt;I add the credentials of a windows account to the web service call.&lt;/p&gt;
&lt;p&gt;Like I say - it works when running the asp.net development server but not under iis.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s as if iis doesn&amp;#39;t pass the credentials over but asp.net development server does.&lt;/p&gt;
&lt;p&gt;Any idea how I can get iis to run the same?&lt;/p&gt;</description></item></channel></rss>