<?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>Search results matching tags 'ASP Classic' and 'IIS 7'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=ASP+Classic,IIS+7&amp;orTags=0</link><description>Search results matching tags 'ASP Classic' and 'IIS 7'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Problem with ASP code in IIS7: DBNULL</title><link>http://forums.iis.net/p/1161968/1921624.aspx#1921624</link><pubDate>Thu, 22 Oct 2009 02:53:27 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921624</guid><dc:creator>Jwoodger</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;When I run my web application on Windows 2003 IIS 6, my site runs perfectly.&amp;nbsp; It however has certain issues when migrated to Windows 2008 IIS 7 - sometimes I get errors with converting/casting dbnull to strings.&amp;nbsp; Is there some configuration that can be used to emulate the older way of handling such values?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>odbc connection pooling with Delphi 7 &amp;amp; IIS7</title><link>http://forums.iis.net/p/1161467/1919458.aspx#1919458</link><pubDate>Mon, 05 Oct 2009 08:04:19 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919458</guid><dc:creator>ffsetit</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>We have a application that utilizes a combination of ASP.net (c#) and classic ASP (Delphi 7). When running the application on Windows Vista or Server 2008 using IIS7 we experience terrible performance problems from the classic ASP pages when retrieving data from SQL.
Upon investigation using SQL Profiler it is apparent that hard connections are being opened and closed rather than being pooled.
We experience the same issue with IIS6 on Server 2003 however this can be worked around by enabling IIS5.0 compatibility mode. Unfortunately there seems to be no such workaround for IIS7

Does anyone have any ideas as to why odbc connection pooling does not work in IIS7 (or 6)</description></item><item><title>Blank Page No Errors</title><link>http://forums.iis.net/p/1160954/1917184.aspx#1917184</link><pubDate>Wed, 16 Sep 2009 14:59:19 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1917184</guid><dc:creator>goofy_tyran</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt;I have a website which I&amp;#39;ve brought over to IIS7 from Windows IIS6, which ran great there.&lt;/p&gt;
&lt;p&gt;Now its on IIS7 some of my Classic ASP pages wont run and simply stop dead outputting to the browser just a blank page. The only thing in the blank page source code are the usual &amp;lt;html&amp;gt; tags etc. There are no error codes at all.&lt;/p&gt;
&lt;p&gt;If I break the code (by adding a &amp;#39;end if&amp;#39; in to the code where it sholdnt be) I get the relevant errors.&lt;/p&gt;
&lt;p&gt;This happens to only a handful of pages. The only&amp;nbsp;common thing I can see between the pages is that they use the &amp;#39;Server.CreateObject&amp;#39; call to either create an instance of Jmail or FileSystemObject.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m really stumped with this one and any help would be would be greatfully received.&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>ASP Classic, IIS 7, SQL 2005, and Windows Authentication Problem</title><link>http://forums.iis.net/p/1158154/1905774.aspx#1905774</link><pubDate>Thu, 04 Jun 2009 13:53:12 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1905774</guid><dc:creator>thig95</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;I have recently migrated an application written in ASP classic to a server running IIS 7 (64bit) on Server 2008 Standard. I have IIS 6 compatibility installed, as well as basic and windows authentication modules. This server is part of a corporate domain. I am trying to establish windows authentication to this web server as well as a SQL 2005 server also running on Server 2008. My desire is to use windows authentication to the db server, and this is where my problem lies.&lt;/p&gt;
&lt;p&gt;For more details, I have setup a custom site called CRM. This site has it&amp;#39;s own application pool also called CRM. I have configured the application pool identity&amp;nbsp;to use my domain account (for testing purposes since i know my account has rights to the db i&amp;#39;m trying to connect to.) When I enable windows authentication, I am able to successfully logon to the site and its ASP pages, however when calls to the db are made (using ADO) I get&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for SQL Server&lt;font size="3" face="Times New Roman"&gt; &lt;/font&gt;&lt;font size="2" face="Arial"&gt;error &amp;#39;80040e4d&amp;#39;&lt;/font&gt;&lt;font size="3" face="Times New Roman"&gt; &lt;br /&gt;&lt;/font&gt;&lt;font size="2" face="Arial"&gt;Login failed for user &amp;#39;NT AUTHORITY\ANONYMOUS LOGON&amp;#39;.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;So from this I assume even though i&amp;#39;m using my domain logon as the worker process identity, those credentials aren&amp;#39;t simply passed when making calls to other resources on the network. Is there a way to do that? My end goal is to have users get into the site without having to type their credentials, and have their domain account provide access to the db rather than having to setup a generic sql login and use that in my connection string.&lt;/p&gt;
&lt;p&gt;Clearly from the above error I am using OLEDB but I have also tried to set this up using a DSN connection via ODBC. Both resulted in the same error. So this&amp;nbsp;doesn&amp;#39;t&amp;nbsp;seem to&amp;nbsp;be a SQL problem, rather how credentials are being passed to sql from IIS. This setup will work if I use basic authentication, since it then just stores the id and password in cleartext. But I don&amp;#39;t want to go that route for obvious reasons.&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated! I&amp;#39;ve found a slew of documentation on this for .NET, but i&amp;#39;m not about to rewrite my whole app just to get authentication working properly.&lt;/p&gt;</description></item><item><title>Folders without the use of trailing /</title><link>http://forums.iis.net/p/1157268/1902278.aspx#1902278</link><pubDate>Wed, 29 Apr 2009 11:51:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902278</guid><dc:creator>RobUK</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I wonder if anyone can help, we have just migrated our systems from IIS5 (W2K) over to windows 2008, we have had a couple of problems, most of which we have sorted. The last problem we are having is to do with the way in which IIS7 treats folders. &lt;/p&gt;
&lt;p&gt;Previously i could browse to &lt;a href="http://sitename/folder"&gt;http://sitename/folder&lt;/a&gt; and the default.asp within that folder would work. Now i have to go to &lt;a href="http://sitename/folder/"&gt;http://sitename/folder/&lt;/a&gt; in order to achive the same thing. This may sould trivial but this is causing us some problems.&lt;/p&gt;
&lt;p&gt;Does anyone know of a workaround for this? I have try searching but it&amp;#39;s difficult to know what to search for.... hence my post...... i&amp;#39;ll continue googling (with my fingers corssed that someone out there can help!)&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;&lt;br /&gt;Rob&lt;/p&gt;</description></item><item><title>IIS7 and VB runtime access denied</title><link>http://forums.iis.net/p/1154281/1889767.aspx#1889767</link><pubDate>Tue, 13 Jan 2009 05:11:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889767</guid><dc:creator>HercG</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;I hae a problem with a Web site effectively written&amp;nbsp;as a&amp;nbsp;VB6-style IIS application, i.e. the app itself is a VB6-generated DLL.&amp;nbsp; This works perfectly in all 32-bit versions of Windows, but fails on Vista 64-bit running IIS7.&amp;nbsp; The specific error is an access-denied message, and it seems to be the VB runtime module to which access is denied.&lt;/p&gt;
&lt;p&gt;A solution seemed to be to grant access rights to the file to the anonymous user, which is no longer included in the Everyone group and is now called &amp;quot;Anonymous Logon&amp;quot;, not IUSR_&amp;lt;machine name&amp;gt; as it used to be.&amp;nbsp; However, I found that even with an Administrator logon with elevated privilege I could not change the access rights to the VB runtime.&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;"&gt;The&amp;nbsp;document &lt;a href="http://msdn.microsoft.com/en-us/vbrun/ms788708.aspx"&gt;http://msdn.microsoft.com/en-us/vbrun/ms788708.aspx&lt;/a&gt; (title “Support Statement for Visual Basic 6.0 on Windows®Vista™and Windows®Server 2008 ™”) contains the following:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&amp;quot;64-Bit Windows&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&amp;quot;Visual Basic 6.0 runtime files are 32-bit.&amp;nbsp; These files ship in 64-bit Windows Operating Systems referenced in the table below.&amp;nbsp; 32-bit VB6 applications and components are supported in the WOW emulation environment only.&amp;nbsp; 32-bit components must also be hosted in 32-bit application processes.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&amp;nbsp;If I am interpreting this correctly, it means that 32-bit components cannot be run under IIS7 on a 64-bit platform, since&amp;nbsp;IIS is presumably not running in WOW emulation mode.&amp;nbsp; Does anyone know if this is definitely the case, or is there some way to run this sort of scenario?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Issues in IIS 7, session and application variables are not maintained - Classic ASP site</title><link>http://forums.iis.net/p/1153501/1886495.aspx#1886495</link><pubDate>Tue, 02 Dec 2008 14:57:21 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1886495</guid><dc:creator>shamshad.ali@softechww.com</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;For local development purpose, I ran following script on VISTA, IIS 7:&lt;br /&gt;&lt;br /&gt;&amp;lt;%&lt;br /&gt;for each x in Request.ServerVariables&lt;br /&gt;&amp;nbsp; response.write(&amp;quot;&amp;lt;b&amp;gt;&amp;quot; &amp;amp; x &amp;amp; &amp;quot;:&amp;lt;/b&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;quot; &amp;amp; Request.ServerVariables(x) &amp;amp; &amp;quot;&amp;lt;br&amp;gt;&amp;lt;BR&amp;gt;&amp;quot;)&lt;br /&gt;next&lt;br /&gt;&amp;nbsp;%&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;It does not show me IP of client, Request.ServerVariables(&amp;quot;remote_host&amp;quot;) and &lt;/p&gt;
&lt;p&gt;(Request.ServerVariables(&amp;quot;remote_addr&amp;quot;).&lt;/p&gt;
&lt;p&gt;on my vista&amp;nbsp;I&amp;nbsp;had IPv 6 and IPv4 both enabled. i dropped IPv6 protocole and now Request.ServerVariables(&amp;quot;remote_host&amp;quot;) is showing ::1 value earlier it was showing &amp;quot;A6073E5A-D779-472A-8430-9B03999E4121&amp;quot; AS IP&lt;/p&gt;
&lt;p&gt;Also I noticed that all values assigned to session and application variables defined in global.asa are not available in other pages of my website means session and application variables are not maintaining. It seems that whole server side variables are not working that were initialized with appliction_OnStart, session_OnStart. Wherein whole ASP siter with no change in code is working fine with IIS 6 (xp/win2k3). But this issues comes within IIS 7. Please help how this can be fixed ?&lt;/p&gt;
&lt;p&gt;Shamshad Ali&lt;/p&gt;</description></item><item><title>Sessions Failing Using Classic ASP After Switch to IIS 7</title><link>http://forums.iis.net/p/1152532/1882589.aspx#1882589</link><pubDate>Wed, 22 Oct 2008 00:07:41 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1882589</guid><dc:creator>sjc_atx</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Please help.&amp;nbsp; I recently upgraded to IIS 7.&amp;nbsp; A site I was working on which use sessions&amp;nbsp;(and worked fine when I had IIS 6)&amp;nbsp;no longer works.&amp;nbsp; I have set up a simple test page in the site root to write a variable and another to retrieve it.&amp;nbsp; It fails.&amp;nbsp; However, if I set the session variable in my global.asa file, I can retrieve it.&lt;/p&gt;
&lt;p&gt;In IIS 7, I have Session States set to &amp;quot;In Process&amp;quot; and &amp;quot;Use Cookies&amp;quot;.&amp;nbsp; IUSR has Full Control Permissions.&lt;/p&gt;
&lt;p&gt;Thoughts?&amp;nbsp; Any help would be appreciated.&lt;/p&gt;</description></item><item><title>Web Garden IIS 7 Classic ASP</title><link>http://forums.iis.net/p/1151797/1879607.aspx#1879607</link><pubDate>Wed, 17 Sep 2008 14:45:53 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1879607</guid><dc:creator>znwpta</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;I am currently upgrading our web server from&amp;nbsp; 2003 to 2008, we use Classic ASP. I have been using IIS7 w/o major problems until I tried to use the State Server under &amp;quot;Session &amp;quot; Icon. I have it set to&amp;nbsp;&amp;nbsp;ConecctionString = &amp;quot;10.0.10.9:424249&amp;quot;. It does not seem like the state server works for classic ASP, since I am losing my session at random times. Is there a way to use a state server in IIS 7 for classic ASP ? &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>reading Active Directory groups no longer works in IIS7</title><link>http://forums.iis.net/p/1150220/1873170.aspx#1873170</link><pubDate>Thu, 03 Jul 2008 17:45:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1873170</guid><dc:creator>ChrisRh</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;This classic ASP code worked in IIS 6, but not in IIS7.&amp;nbsp;&amp;nbsp; It was a great way for me to check an authenticated username against an AD group membership list to give certain options on pages.&amp;nbsp; Does anyone have a suggestion for a replacement (other than hard-coding usernames)?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;username_found_sw = &amp;quot;N&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Set oGroup = GetObject(&amp;quot;WinNT://domain/its_staff&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;For Each oMember in oGroup.Members&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If Ucase(trim(oMember.Name)) = trim(Session(&amp;quot;username&amp;quot;)) Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;username_found_sw = &amp;quot;Y&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Set oGroup = Nothing&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>