<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.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/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Classic ASP</title><link>http://forums.iis.net/1044.aspx</link><description>Forum discussing usage of Classic ASP applications on the IIS 7 platform</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Problem when using App pool account for Anonymous Authentication</title><link>http://forums.iis.net/thread/1907405.aspx</link><pubDate>Wed, 17 Jun 2009 19:10:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907405</guid><dc:creator>djwUnisys</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907405.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1044&amp;PostID=1907405</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;When I look for the applicationhost.config file, there are multiple copies in inetpub -&amp;gt; history -&amp;gt; CFGHISTORY_0000000020...&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem when using App pool account for Anonymous Authentication</title><link>http://forums.iis.net/thread/1907306.aspx</link><pubDate>Wed, 17 Jun 2009 06:12:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907306</guid><dc:creator>Bjorn S</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907306.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1044&amp;PostID=1907306</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;This is how my section looked like. My virtual directorys name is &amp;quot;Arbetstagare&amp;quot; and it&amp;#39;s under the Default Web Site.&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-ansi-language:SV;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&amp;lt;location path=&amp;quot;&lt;span style="BACKGROUND:yellow;mso-highlight:yellow;"&gt;Default Web Site/Arbetstagare&lt;/span&gt;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;system.webServer&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;asp &lt;span style="BACKGROUND:lime;mso-highlight:lime;"&gt;runOnEndAnonymously=&amp;quot;false&amp;quot;&lt;/span&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;session timeout=&amp;quot;00:20:00&amp;quot; /&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;/asp&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;security&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;authentication&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&amp;lt;anonymousAuthentication enabled=&amp;quot;true&amp;quot; userName=&amp;quot;&amp;quot; /&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;/authentication&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;/security&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;/system.webServer&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0cm 0cm 0pt 49.5pt;" class="MsoNormal"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Garamond"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;/location&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If your virtual directory doesn&amp;#39;t have a location path you will have to add it to the file. Make sure you do a backup before editing the file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem when using App pool account for Anonymous Authentication</title><link>http://forums.iis.net/thread/1907252.aspx</link><pubDate>Tue, 16 Jun 2009 17:57:21 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907252</guid><dc:creator>djwUnisys</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907252.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1044&amp;PostID=1907252</wfw:commentRss><description>&lt;p&gt;Bjorn S:&amp;nbsp; In what section did you put this key?&amp;nbsp; I am having this issue and putting this line in doesn&amp;#39;t make a change&lt;br /&gt;&lt;br /&gt;Thx&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description></item><item><title>Re: Problem when using App pool account for Anonymous Authentication</title><link>http://forums.iis.net/thread/1898256.aspx</link><pubDate>Thu, 26 Mar 2009 10:59:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1898256</guid><dc:creator>Bjorn S</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1898256.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1044&amp;PostID=1898256</wfw:commentRss><description>&lt;p&gt;I have found a solution for this myself. The trick was to set&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;asp runOnEndAnonymously=&amp;quot;false&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;for the application in applicationhost.config.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Problem when using App pool account for Anonymous Authentication</title><link>http://forums.iis.net/thread/1898072.aspx</link><pubDate>Wed, 25 Mar 2009 09:29:25 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1898072</guid><dc:creator>Bjorn S</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1898072.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1044&amp;PostID=1898072</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m porting our application to IIS 7. The application is very big and uses a mixture of Classic ASP and ASP.Net pages. So far there haven&amp;#39;t any problems, but now I&amp;#39;ve encountered one thing that is a bit irritating.&lt;/p&gt;
&lt;p&gt;I really like the possibility to use the application pool account as the anonymous account. That way you get a much more manageable situation when it comes to security. The problem is that when I enabled this for my application I encountered an error when Session_End fires; &lt;br /&gt;&amp;quot;Failed to retrieve the Anonymous User Token for ASP Application /LM/W3SVC/1/ROOT/XXXXXXX.&amp;nbsp; Global.ASA OnEnd routines will not be executed.&amp;quot;. It occurs when we try to create a com-object by &amp;quot;Server.CreateObject&amp;quot;.&lt;/p&gt;
&lt;p&gt;I can understand that there is a special situation since this isn&amp;#39;t a user-initiated event, rather a trigger that fires on the server. But it works without problems in the older IIS-versions and it works in IIS 7 if I use the IUSR acount as anonymous user. I should add that I have the problem regardless if I use a &amp;quot;classic&amp;quot; or &amp;quot;pipelined&amp;quot; app pool.&lt;/p&gt;
&lt;p&gt;Does anyone know of a fix/workaround for this? I&amp;#39;d really like to run it all as the app pool account.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>