<?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 'asp'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=ASP+Classic,asp&amp;orTags=0</link><description>Search results matching tags 'ASP Classic' and 'asp'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Cannot connect to mysql db 5.1</title><link>http://forums.iis.net/p/1162711/1925060.aspx#1925060</link><pubDate>Tue, 17 Nov 2009 15:40:06 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1925060</guid><dc:creator>Perryvanz</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Im using IIS 7.5&amp;nbsp;with Windows server 2008 r2. I want to open my database, so&amp;nbsp;I used the next&amp;nbsp;connectstring for opening the db: &lt;br /&gt;&lt;br /&gt;connect_string = &amp;quot;Driver={MySQL ODBC 5.1 Driver};&amp;nbsp;Server=localhost; UID=username; PWD=pwd; Database=db&amp;quot;&lt;br /&gt;set dbConn = server.createObject(&amp;quot;ADODB.connection&amp;quot;)&lt;br /&gt;dbConn.open(connect_string)&lt;br /&gt;&lt;br /&gt;I&amp;#39;m getting this error....&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers&lt;font size="3" face="Times New Roman"&gt; &lt;/font&gt;&lt;font size="2" face="Arial"&gt;error &amp;#39;80004005&amp;#39;&lt;/font&gt;&lt;font size="3" face="Times New Roman"&gt; &lt;/font&gt;
&lt;p&gt;&lt;font size="2" face="Arial"&gt;[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified&lt;/font&gt; &lt;br /&gt;&lt;br /&gt;What do I have to do to connect to my db?&lt;/p&gt;
&lt;p&gt;Perry&lt;/p&gt;</description></item><item><title>Re: Can smone help me with &amp;quot;CDO.Message.1 error '80040220' &amp;quot; error ?</title><link>http://forums.iis.net/p/1154828/1923409.aspx#1923409</link><pubDate>Wed, 04 Nov 2009 21:12:37 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1923409</guid><dc:creator>debugmm</dc:creator><cs:applicationKey>classic_asp--1</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;Try the following code: -&lt;/p&gt;&lt;pre&gt;&amp;lt;!--&lt;br /&gt;METADATA&lt;br /&gt;TYPE=&amp;quot;typelib&amp;quot;&lt;br /&gt;UUID=&amp;quot;CD000000-8B95-11D1-82DB-00C04FB1625D&amp;quot;&lt;br /&gt;NAME=&amp;quot;CDO for Windows 2000 Library&amp;quot;&lt;br /&gt;--&amp;gt;&lt;br /&gt;&amp;lt;%&lt;br /&gt;Set cdoConfig = CreateObject(&amp;quot;CDO.Configuration&amp;quot;)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;With cdoConfig.Fields&lt;br /&gt;.Item(cdoSendUsingMethod) = cdoSendUsingPort&lt;br /&gt;.Item(cdoSMTPServer) = &amp;quot;localhost&amp;quot;&lt;br /&gt;.Update&lt;br /&gt;End With&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Set cdoMessage = CreateObject(&amp;quot;CDO.Message&amp;quot;)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;With cdoMessage&lt;br /&gt;Set .Configuration = cdoConfig&lt;br /&gt;.From = &amp;quot;from@domain.com&amp;quot;&lt;br /&gt;.To = &amp;quot;to@domain.com&amp;quot;&lt;br /&gt;.Subject = &amp;quot;Sample CDO Message&amp;quot;&lt;br /&gt;.TextBody = &amp;quot;This is a test for CDO.message&amp;quot;&lt;br /&gt;.Send&lt;br /&gt;End With&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Set cdoMessage = Nothing&lt;br /&gt;Set cdoConfig = Nothing&lt;br /&gt;%&amp;gt;&lt;/pre&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;http://prabhat.me/2009/11/04/send-e-mail-using-cdo/ &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>Re: Creating a user email confirmation</title><link>http://forums.iis.net/p/1159003/1909555.aspx#1909555</link><pubDate>Wed, 08 Jul 2009 06:51:49 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909555</guid><dc:creator>salman_arshad</dc:creator><cs:applicationKey>classic_asp--1</cs:applicationKey><description>
&lt;p&gt;If I am understanding correctly, you are asking the user to enter an email address and you want to send an email to the specified email address + another, hidden email address. In this case you can call the email function twice, specifying two different values for the &amp;quot;To&amp;quot; field. Alternatively you can add one recipient to the &amp;quot;To&amp;quot; field, and the other one to the &amp;quot;CC&amp;quot; or &amp;quot;BCC&amp;quot; field. The form might look like:&lt;/p&gt;
&lt;blockquote&gt;
	&lt;p&gt;&lt;span style="font-family:courier new,courier;"&gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;Email&amp;quot; size=&amp;quot;32&amp;quot; tabindex=&amp;quot;2&amp;quot; /&amp;gt; &lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There is no need to echo the user@anydomain.edu in the form. Process this part on the server side.&lt;/p&gt;
&lt;p&gt;The server side handler for the form should include email code that goes along these lines (using CDO.Message class):&lt;/p&gt;
&lt;div style="margin-left:40px;"&gt;
    &lt;span style="font-family:courier new,courier;"&gt;dim oMSG&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;set oMSG = CreateObject( &amp;quot;CDO.MESSAGE&amp;quot; )&lt;/span&gt;&lt;br /&gt;
	&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;#39;UNCOMMENT FOLLOWING IF YOU ARE SENDING MAIL THROUGH SMTP SERVER&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;#39;oMSG.Configuration.Fields.Item(&amp;quot;http://schemas.microsoft.com/cdo/configuration/sendusing&amp;quot;) = 2&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;#39;oMSG.Configuration.Fields.Item(&amp;quot;http://schemas.microsoft.com/cdo/configuration/smtpserver&amp;quot;) = &amp;quot;external-smtp-server-name.com.or-its-ip&amp;quot;&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;#39;oMSG.Configuration.Fields.Item(&amp;quot;http://schemas.microsoft.com/cdo/configuration/smtpserverport&amp;quot;) = 25&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;#39;oMSG.Configuration.Fields.Item(&amp;quot;http://schemas.microsoft.com/cdo/configuration/sendusername&amp;quot;) = &amp;quot;smtp-logon-username-here&amp;quot;&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;#39;oMSG.Configuration.Fields.Item(&amp;quot;http://schemas.microsoft.com/cdo/configuration/sendpassword&amp;quot;) = &amp;quot;smtp-logon-password-here&amp;quot;&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;#39;oMSG.Configuration.Fields.Update&lt;/span&gt;&lt;br /&gt;
	&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;oMSG.From = &amp;quot;no-reply@anydomain.com&amp;quot;&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;oMSG.To = Request.Form(&amp;quot;Email&amp;quot;)&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;oMSG.BCC = &amp;quot;address-that-receivces-a-copy@anydomain.edu&amp;quot;&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;oMSG.Subject = &amp;quot;Thank you&amp;quot;&lt;/span&gt;&lt;br /&gt;
	&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;oMSG.TextBody = &amp;quot;Message text goes here&amp;quot;&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;#39; -- OR --&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;oMSG.HTMLBody = &amp;quot;Message html goes here&amp;quot;&lt;/span&gt;&lt;br /&gt;
	&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;on error resume next&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; oMSG.Send&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if Err.number &amp;lt;&amp;gt; 0 then&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;OOPS, SEND METHOD FAILED&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;on error goto 0&lt;/span&gt;&lt;br /&gt;
	&lt;span style="font-family:courier new,courier;"&gt;set oMSG = nothing&lt;/span&gt;&lt;br /&gt;
	&lt;br /&gt;
&lt;/div&gt;
</description></item><item><title>http 500. Help, my form mail in wrong</title><link>http://forums.iis.net/p/1157519/1903283.aspx#1903283</link><pubDate>Sun, 10 May 2009 20:28:29 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903283</guid><dc:creator>coma</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;I have vista premium home and IIS 7&lt;/p&gt;&lt;p&gt;I am using dreamweaver cs3 and i beginner to asp.&lt;/p&gt;&lt;p&gt;My problem is that the ie says http 500.&lt;/p&gt;&lt;p&gt;My code of the page is&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;lt;%&lt;br /&gt;theSchema=&amp;quot;http://schemas.microsoft.com/cdo/configuration/&amp;quot;&lt;br /&gt;Set cdoConfig=server.CreateObject(&amp;quot;CDO.Configuration&amp;quot;)&lt;br /&gt;cdoConfig.Fields.Item(theSchema &amp;amp; &amp;quot;sendusing&amp;quot;)= 2&lt;br /&gt;cdoConfig.Fields.Item(theSchema &amp;amp; &amp;quot;smtpserver&amp;quot;)=&amp;quot;smtp.gmail.com&amp;quot;&lt;br /&gt;cdoConfig.Fields.Update&lt;br /&gt;set cdoMessage=Server.CreateObject(&amp;quot;CDO.Message&amp;quot;)&lt;br /&gt;cdoMessage.Configuration=cdoConfig&lt;br /&gt;&lt;br /&gt;cdoMessage.From=&amp;quot;yourname@yourserver.com&amp;quot;&lt;br /&gt;cdoMessage.To=&amp;quot;yourname@yourserver.com&amp;quot;&lt;br /&gt;cdoMessage.Subject=&amp;quot;This is the message subject&amp;quot;&lt;br /&gt;cdoMessage.TextBody=&amp;quot;This is the message body&amp;quot;&lt;br /&gt;cdoMessage.Send&lt;br /&gt;&lt;br /&gt;Set cdoMessage=Nothing&lt;br /&gt;Set cdoConfig=Nothing&lt;br /&gt;%&amp;gt;&lt;/p&gt;&lt;p&gt;where is my mistake, that ie says http 500?&lt;/p&gt;&lt;p&gt;i found the code in a book of tutorial asp.&lt;/p&gt;&lt;p&gt;thanks &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>ASP Scripting language 'jscript' is not found on the server Error - after DW CS4 installation</title><link>http://forums.iis.net/p/1157398/1902773.aspx#1902773</link><pubDate>Tue, 05 May 2009 11:10:24 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902773</guid><dc:creator>chriscoolin</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I too have similar problem.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;ve DW CS3 installed in System with Win XP as OS (IIS 6).&lt;br /&gt;&lt;br /&gt;After installing DW CS4 trial version, I&amp;#39;m getting the following&lt;br /&gt;error in my website.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Error Type:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Active Server Pages, ASP 0129 (0x80004005)&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;b&gt;The scripting language &amp;#39;jscript&amp;#39; is not found on the server.&lt;br /&gt;/includes/tNG/tNG.inc.asp, line 195&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The website was working fine earlier and the contents in the &lt;br /&gt;live server is working fine.&lt;br /&gt;&lt;br /&gt;DW CS4 has disturbed the existing one... Now I uninstalled DW CS4&lt;br /&gt;and reinstalled DW CS3 again.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;But the problem persists....&lt;br /&gt;&lt;br /&gt;Help me pls..
										    
									    </description></item><item><title>site not working without mentioning the default page in IE 7 but working fine with mozilla</title><link>http://forums.iis.net/p/1157364/1902640.aspx#1902640</link><pubDate>Mon, 04 May 2009 05:57:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902640</guid><dc:creator>chriscoolin</dc:creator><cs:applicationKey>iis_7_-_troubleshooting-41</cs:applicationKey><description>&lt;p&gt;I hosted a website on a remote server (win 2008 / iis 7 / asp). The default page is configured and it was working fine for around 2 months but now for the last two days we have reported a problem site is not accessible by typing the url. &lt;/p&gt;
&lt;p&gt;The fun is if I type the url along with the default page i&amp;#39;m getting the site (in IE 7) In mozilla, it is working without mentioning the default or home page.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I&amp;#39;m clueless, How it is working in mozilla and not working in IE 7 and How it was working fine so far and suddenly&amp;nbsp;what happened to the site?&lt;/p&gt;
&lt;p&gt;How and why it is not working with IE 7? How to resolve this problem? Help me to sort out this issue.........&lt;/p&gt;
&lt;p&gt;As most of the users are using IE 7, I can&amp;#39;t delay.... &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Error Recordset ASP</title><link>http://forums.iis.net/p/1157127/1902036.aspx#1902036</link><pubDate>Mon, 27 Apr 2009 22:02:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902036</guid><dc:creator>Daneri</dc:creator><cs:applicationKey>classic_asp--1</cs:applicationKey><description>&lt;p&gt;Thanks alot for the help but i see the anonymous user has the enought permissions,do you&amp;nbsp;have more ideas?, I think is something with the&amp;nbsp;security in the webserver, or IIS, but i was checking part by part and i cannot find what more could be...This is doing me crazy, i was working with ASP and SQL&amp;nbsp;in the past&amp;nbsp;and in the first time i dont know why i am having this issue..&lt;/p&gt;
&lt;p&gt;Please if you have more ideas send me the information, I did a small file to upload files to be sure if just is when i use the recordset but i dont had issues, only is when i am use the object ADODB to open my BD.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Error Recordset ASP</title><link>http://forums.iis.net/p/1157127/1901812.aspx#1901812</link><pubDate>Fri, 24 Apr 2009 19:13:49 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1901812</guid><dc:creator>Daneri</dc:creator><cs:applicationKey>classic_asp--1</cs:applicationKey><description>&lt;p&gt;Thank you &lt;strong&gt;tomkmvp &lt;/strong&gt;for the help, but I have the Access Database locally (c:\inetpub\wwwroot\EXAMPLE.mdb),&amp;nbsp;I created one with Access just to do a test if&amp;nbsp;something was&amp;nbsp;wrong. I have SQL Server&amp;nbsp;in a remote machine.When i try to connect to this remote machine&amp;nbsp;I&amp;nbsp;get that message, when i try to connect locally is the same message.&lt;/p&gt;
&lt;p&gt;This mean locally or remotely i get:&lt;/p&gt;
&lt;p&gt;ADODB.Connection&lt;font face="Times New Roman" size="3"&gt; &lt;/font&gt;&lt;font face="Arial" size="2"&gt;error &amp;#39;800a0046&amp;#39;&lt;/font&gt;&lt;font face="Times New Roman" size="3"&gt; &lt;/font&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;Permission denied&lt;/font&gt; &lt;/p&gt;
&lt;p&gt;The line where show that is message is when i try to use the property Open&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;O_Conn.Open&lt;/strong&gt; &amp;quot;DRIVER...&amp;quot; no matter if is access, sqlserver, dns, locally or remotely&lt;/p&gt;
&lt;p&gt;Do you have more ideas about this?&lt;/p&gt;
&lt;p&gt;Thank you again&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>