<?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 'Database'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=ASP+Classic,Database&amp;orTags=0</link><description>Search results matching tags 'ASP Classic' and 'Database'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Disk or Network Error in Windows 7, Please help</title><link>http://forums.iis.net/p/1162991/1926289.aspx#1926289</link><pubDate>Thu, 26 Nov 2009 13:03:33 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1926289</guid><dc:creator>sorasak</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>Yesterday I upgrade my PC&amp;#39;s OS from Vista to Seven Ultimate. After I turned on IIS feature,  web applications on my machine do not work anymore. Disk or Network Error appear when I opened pages.

I followed every steps of setting up from IIS&amp;#39;s Blog (http://blogs.iis.net/bills/archive/2007/05/21/tips-for-classic-asp-developers-on-iis7.aspx). Classic ASP worked fine when I used Vista, but not work in Windows 7.

Please help me to make my Classic ASP pages to run on WIndows 7, Thanks</description></item><item><title>IIS 7 VISTA OS Database Insert/ Update/ Delete Fails</title><link>http://forums.iis.net/p/1149061/1868170.aspx#1868170</link><pubDate>Fri, 25 Apr 2008 17:16:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1868170</guid><dc:creator>qool</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>I have a classic ASP application recently moved our development environment from XP to Vista Business.
&lt;br /&gt;&lt;br /&gt;
The application uses ActiveX DLL&amp;#39;s to access data from a SQL 2000 box.
&lt;br /&gt;&lt;br /&gt;
This application is currently running on IIS 7 from a vista business copy.
&lt;br /&gt;&lt;br /&gt;
When I try to access the website from a Vista Machine, it reads the data from the database but when it tries to insert or update the records on the database it fails and gives me the following error:
&lt;br /&gt;&lt;br /&gt;
&amp;quot;3421 Application uses a value of the wrong type for the current operation&amp;quot;
&lt;br /&gt;&lt;br /&gt;
It is happening with all the functions and sub procedures. 
&lt;br /&gt;&lt;br /&gt;
But the weird thing is when I access the same website from an XP/2000/2003 machines it just works fine.
&lt;br /&gt;&lt;br /&gt;
If we deploy the application on IIS 6.0 and access it from Vista the database operations works fine.
&lt;br /&gt;&lt;br /&gt;
I am really stumped on this one. &lt;br /&gt;&lt;br /&gt;

I appreciate if someone can help me.
&lt;br /&gt;&lt;br /&gt;

Thank you</description></item><item><title>Error when when checking db connection with Classic ASP, Access and IIS7</title><link>http://forums.iis.net/p/1148579/1866096.aspx#1866096</link><pubDate>Tue, 25 Mar 2008 23:28:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1866096</guid><dc:creator>AngelOfTheNight</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;I have a site that I&amp;nbsp;moved from a Windows 2003 Server to a Server 2008.&amp;nbsp; This site uses a CMS portal system.&amp;nbsp; In the config routine it verifies the db connection and will only load if there are no errors.&amp;nbsp; I am getting the error:&lt;/p&gt;
&lt;p&gt;&amp;quot;-2147217887 : Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.&amp;quot;&lt;/p&gt;
&lt;p&gt;I have already tried the solutions provided here: &lt;a href="http://forums.iis.net/t/1091950.aspx"&gt;http://forums.iis.net/t/1091950.aspx&lt;/a&gt;.&amp;nbsp; As well as everything else I have&amp;nbsp;found searching these forums, MS support, and elsewhere.&lt;/p&gt;
&lt;p&gt;Now for the part that has really given me trouble trying to solve the problem.&amp;nbsp;&amp;nbsp;I have created two pages to isolate the issue, one with the error check and one without.&lt;/p&gt;
&lt;p&gt;------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&amp;lt;!-- #include file=&amp;quot;includes/inc_ADOVBS.asp&amp;quot; --&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Test&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;%&lt;br /&gt;Dim strDBPath, strConnString, my_Conn, rs&lt;/p&gt;
&lt;p&gt;strDBPath = Server.MapPath(&amp;quot;******/******.mdb&amp;quot;)&lt;br /&gt;strConnString = &amp;quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&amp;quot; &amp;amp; strDBPath&lt;/p&gt;
&lt;p&gt;on error Resume Next&lt;br /&gt;Set my_Conn = Server.CreateObject(&amp;quot;ADODB.Connection&amp;quot;)&lt;br /&gt;my_Conn.Errors.Clear&lt;br /&gt;my_Conn.Open strConnString&lt;/p&gt;
&lt;p&gt;If my_conn.Errors.Count &amp;lt;&amp;gt; 0 Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For counter = 0 To my_conn.Errors.Count -1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConnErrorNumber = my_conn.Errors(counter).Number&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConnErrorDesc = my_conn.Errors(counter).Description&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ConnErrorNumber &amp;lt;&amp;gt; 0 Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strtemp = &amp;quot;&amp;lt;p&amp;gt;&amp;quot; &amp;amp; ConnErrorNumber &amp;amp; &amp;quot; : &amp;quot; &amp;amp; ConnErrorDesc &amp;amp; &amp;quot;&amp;lt;/p&amp;gt;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br /&gt;&amp;nbsp;&amp;nbsp; Next&lt;br /&gt;&amp;nbsp;&amp;nbsp; my_conn.Errors.Clear&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; Set my_Conn = Nothing&lt;br /&gt;&amp;nbsp;&amp;nbsp; on error goto 0&lt;br /&gt;&amp;nbsp;&amp;nbsp; Response.Write strtemp&lt;br /&gt;End If&lt;br /&gt;%&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&amp;lt;!-- #include file=&amp;quot;includes/inc_ADOVBS.asp&amp;quot; --&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Test&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;%&lt;br /&gt;Dim strDBPath, strConnString, my_Conn, rs&lt;/p&gt;
&lt;p&gt;strDBPath = Server.MapPath(&amp;quot;******/******.mdb&amp;quot;)&lt;br /&gt;strConnString = &amp;quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&amp;quot; &amp;amp; strDBPath&lt;/p&gt;
&lt;p&gt;set my_Conn = Server.CreateObject(&amp;quot;ADODB.Connection&amp;quot;)&lt;br /&gt;my_Conn.Open strConnString&lt;/p&gt;
&lt;p&gt;Set rs = my_Conn.Execute (&amp;quot;SELECT * FROM PORTAL_MEMBERS WHERE MEMBER_ID=1;&amp;quot;)&lt;br /&gt;OrigName = rs.fields(&amp;quot;m_username&amp;quot;)&lt;br /&gt;response.write &amp;quot;&amp;lt;p&amp;gt;Original Username = &amp;quot; &amp;amp; OrigName &amp;amp; &amp;quot;&amp;lt;/p&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Set rs = my_Conn.Execute (&amp;quot;UPDATE PORTAL_MEMBERS SET m_username=&amp;#39;BadName&amp;#39; WHERE MEMBER_ID=1;&amp;quot;)&lt;br /&gt;Set rs = my_Conn.Execute (&amp;quot;SELECT * FROM PORTAL_MEMBERS WHERE MEMBER_ID=1;&amp;quot;)&lt;br /&gt;response.write &amp;quot;&amp;lt;p&amp;gt;New Username = &amp;quot; &amp;amp; rs.fields(&amp;quot;m_username&amp;quot;)&amp;amp; &amp;quot;&amp;lt;/p&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Set rs = my_Conn.Execute (&amp;quot;UPDATE PORTAL_MEMBERS SET m_username=&amp;#39;&amp;quot; &amp;amp; OrigName &amp;amp; &amp;quot;&amp;#39; WHERE MEMBER_ID=1;&amp;quot;)&lt;br /&gt;Set rs = my_Conn.Execute (&amp;quot;SELECT * FROM PORTAL_MEMBERS WHERE MEMBER_ID=1;&amp;quot;)&lt;br /&gt;response.write &amp;quot;&amp;lt;p&amp;gt;Reset Username = &amp;quot; &amp;amp; rs.fields(&amp;quot;m_username&amp;quot;)&amp;amp; &amp;quot;&amp;lt;/p&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;set my_Conn = nothing&lt;/p&gt;
&lt;p&gt;%&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;The first page gives the error, the second page runs with no trouble.&amp;nbsp; Obviously I can connect to the db, and have permissions to make changes, but then why do I get the error in the other routine.&amp;nbsp; I have tried to remove the error check from the CMS portal, but then it fails elsewhere.&amp;nbsp; I feel that if I can get this issue resolved, the rest of the portal should probably work as well.&lt;/p&gt;</description></item><item><title>Displaying an image stored in an access database via asp</title><link>http://forums.iis.net/p/1147979/1863623.aspx#1863623</link><pubDate>Wed, 13 Feb 2008 19:34:43 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1863623</guid><dc:creator>Crazy Dino</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Hi, I have just created a database and plan to store images in it using an &amp;#39;ole object&amp;#39; data type. I can store images in it but it is then accessing using asp I can&amp;#39;t seem to get working. I can do normal queries to display text and numbers from the database, and have included one, but how/what would I need to change to display an image from the field image. How would I get it to display a specific image from a session variable.&lt;/p&gt;
&lt;p&gt;The query I have copied and pasted here is for one to list the name of all the images, so everything is how I would have it connected to the database.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any help would be really helpful.&lt;/p&gt;
&lt;p&gt;Thank You&lt;br /&gt;Crazy Dino&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;lt;%&lt;br /&gt;Dim adoCon &amp;#39;Database Connection Variable&lt;br /&gt;Dim strCon &amp;#39;Holds the Database driver and the path and name of the database&lt;br /&gt;Dim strAccessDB &amp;#39;Holds the Access Database Name&lt;br /&gt;Dim strSQL &amp;#39;Database query sring&lt;/p&gt;
&lt;p&gt;strAccessDB = &amp;quot;datastore&amp;quot;&lt;br /&gt;Set adoCon = Server.CreateObject(&amp;quot;ADODB.Connection&amp;quot;)&lt;br /&gt;strCon = &amp;quot;DRIVER={Microsoft Access Driver (*.mdb)};uid=;pwd=; DBQ=&amp;quot; &amp;amp; Server.MapPath(strAccessDB)&lt;br /&gt;adoCon.Open strCon&lt;/p&gt;
&lt;p&gt;&amp;#39;Database Query&amp;quot;&lt;/p&gt;
&lt;p&gt;set rsimage=Server.CreateObject(&amp;quot;ADODB.recordset&amp;quot;)&lt;br /&gt;sql=&amp;quot;SELECT imagename FROM images&amp;quot;&lt;br /&gt;&amp;nbsp;sql=sql&lt;br /&gt;rsimage.Open sql, adoCon&lt;br /&gt;&amp;#39;response.write(sql)&lt;/p&gt;
&lt;p&gt;Do While Not rsimage.eof&lt;br /&gt;response.write(rsimage(&amp;quot;imagename&amp;quot;))&lt;br /&gt;response.write(&amp;quot;&amp;lt;/br&amp;gt;&amp;quot;)&lt;br /&gt;rsimage.movenext&lt;br /&gt;loop&lt;br /&gt;%&amp;gt;&lt;/p&gt;</description></item><item><title>Error '80040e14' within INSERT INTO Statement</title><link>http://forums.iis.net/p/1147068/1859649.aspx#1859649</link><pubDate>Fri, 23 Nov 2007 20:17:38 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1859649</guid><dc:creator>Crazy Dino</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Hi, I am extremely new with .ASP (I started on tuesday this week), and am using Dreamweaver 8&amp;nbsp;to construct .ASP code for a project at school. I already have several bits of working .ASP code such as a login page, which restricts banned users, and validation within a registration page to ensure that login name and e-mail address are unique. My big problem is with the registration page, when I click the Register button i am getting this error returned.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;Microsoft OLE DB Provider for ODBC Drivers&lt;font face="Times New Roman" size="3"&gt; &lt;/font&gt;&lt;font face="Arial" size="2"&gt;error &amp;#39;80040e14&amp;#39;&lt;/font&gt;&lt;font face="Times New Roman" size="3"&gt; &lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font face="Arial" size="2"&gt;[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.&lt;/font&gt; &lt;/strong&gt;
&lt;p&gt;&lt;strong&gt;&lt;font face="Arial" size="2"&gt;/register.asp&lt;/font&gt;&lt;font face="Arial" size="2"&gt;, line 167&lt;/font&gt;&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;I have checked within dreamweaver, and on line 167, it displays the following bit of code &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;MM_editCmd.Execute&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;which I don&amp;#39;t think is the problem having a look at results on google for error &amp;#39;80040e14&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated, and if needs be I can post all .asp code Dreamweaver generated for me for an insert query.&lt;/p&gt;</description></item><item><title>VISTA Business IIS7 just will not work</title><link>http://forums.iis.net/p/1133364/1827311.aspx#1827311</link><pubDate>Fri, 27 Jul 2007 14:16:48 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1827311</guid><dc:creator>dennis_halsey</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Ok, now listen guys:&lt;/p&gt;
&lt;p&gt;I am the one who started this thread and after 2 weeks ther had been no good simple solution to my problem. why is that? Maybe some of you guys are just geniuses or maybe this problem has no simple solution! I dshould not have to be a genius. this should jsut work. I&amp;#39;m gonna thow my pc and vista in the dumpster! I&amp;#39;m done with it all!&lt;/p&gt;
&lt;p&gt;Do you all understand that this should never, ever be this complicated or technical! It should just work period.&lt;/p&gt;
&lt;p&gt;I should never have to go into the registry error tracing and so forth and so on and do all this technical stuff just to get&amp;nbsp;II7 to&amp;nbsp;work.&amp;nbsp; Surley bill gates didn&amp;#39;t think that joe schmoe could figure all of this out, when i&amp;#39;m an it guy and can&amp;#39;t. &lt;/p&gt;
&lt;p&gt;When i find out the simple answer that works and always works, then i will be satisfied. I have had my new vista pc for 3 months and i am yet to develop a classic ASP&amp;nbsp;webiste on it becuase it doesn&amp;#39;t run.&lt;/p&gt;
&lt;p&gt;This is freakin redicolous.&lt;/p&gt;
&lt;p&gt;The one guy that said in an earlier post that he had the solution ofr me to impress my boss,, well&lt;/p&gt;
&lt;p&gt;It was so technical, application pools, what the&amp;nbsp;heck is that? why do i need to know about it&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I just want to see this show up: &amp;quot;Hello world! this is an ASP page&amp;quot; when i broswe my localhost server.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I think maybe i will look for a third party free solution to this.&lt;/p&gt;
&lt;p&gt;Surly there are other ASP webservers that will work with vista better than this.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s obvious that&amp;nbsp;most people in this thread are confused, frustrated, upset and P&amp;#39;OD!!!!&lt;/p&gt;
&lt;p&gt;I am still looking for a simple answer, like&amp;nbsp;go here and click&amp;nbsp;such and such&amp;nbsp;and&amp;nbsp;II7 will work!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If i do not get an awser, here I am going to ditch the thing.&lt;/p&gt;
&lt;p&gt;Who runs this forum anyway and why don&amp;#39; they have a simple solution? It&amp;#39;s probably becuase they do not know either or beucase there is no simple solution. II7 should have worked when i booted up my PC for the first time! in iis6 &lt;/p&gt;
&lt;p&gt;can i go back to iis6 in Vista?&lt;/p&gt;
&lt;p&gt;By the way,&amp;nbsp;I forwared this message to both dell (which i have access to microsoft tech support)&amp;nbsp;and microsoft directly, but they can&amp;#39;t seem to get it to work either. Thant&amp;#39;s interesting! That means it doesn&amp;#39;t work easily!&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m done now!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Is there a simple way to make iis7 work in Vista, because it just doesn't work! Has anyone ever made it work? Why can't I?</title><link>http://forums.iis.net/p/1137599/1821137.aspx#1821137</link><pubDate>Tue, 24 Jul 2007 19:59:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1821137</guid><dc:creator>dennis_halsey</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;&lt;span style="FONT-SIZE:18pt;COLOR:red;FONT-FAMILY:Tahoma;"&gt;I&amp;nbsp;get this service unavailable error! &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:18pt;COLOR:red;FONT-FAMILY:Tahoma;"&gt;I would love to freaking&amp;nbsp;scream, because I have been trying to make this works for two weeks,&amp;nbsp;but I will chill until someone shows me how simple it is! LOL&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:18pt;COLOR:red;FONT-FAMILY:Tahoma;"&gt;Go ahead P**K Make me love Vista! Joshin!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:18pt;COLOR:red;FONT-FAMILY:Tahoma;"&gt;I need help!&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Problem with Access database and ASP Page - IIS 7 and Windows Vista Ultimate</title><link>http://forums.iis.net/p/1108980/1703486.aspx#1703486</link><pubDate>Thu, 10 May 2007 08:08:23 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1703486</guid><dc:creator>Floflo117</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>Hello,&lt;BR&gt;&lt;BR&gt;I've installed Windows Vista Ultimate with IIS 7 and common ASP pages are working fine ;-))&lt;BR&gt;&lt;BR&gt;Nevertheless &lt;STRONG&gt;as soon as I try to do a connection to an Access database&lt;/STRONG&gt; (DSN or DSN less) I've got an &lt;STRONG&gt;error 500 page&lt;/STRONG&gt;. The pages and connection was working on Windows XP.&lt;BR&gt;&lt;BR&gt;Do you have an idea to help me ?&lt;BR&gt;&lt;BR&gt;Florian</description></item></channel></rss>