<?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 '500 internal server error'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=ASP+Classic,500+internal+server+error&amp;orTags=0</link><description>Search results matching tags 'ASP Classic' and '500 internal server error'</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>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>Re: Create Object Error</title><link>http://forums.iis.net/p/1152666/1897288.aspx#1897288</link><pubDate>Thu, 19 Mar 2009 00:41:37 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1897288</guid><dc:creator>rrubin128</dc:creator><cs:applicationKey>classic_asp--1</cs:applicationKey><description>&lt;p&gt;I&amp;#39;m still stuck.&amp;nbsp; I am attempting to instantiate a custom object via Server.CreateObject( &amp;quot;ISDBCom.ISDBManager&amp;quot; ) in the Application_onStart in global.asa.&amp;nbsp; This is working on several other Windows Server 2003 installations.&amp;nbsp; I haven&amp;#39;t figured out what&amp;#39;s different about this one.&amp;nbsp; I&amp;#39;m getting:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Microsoft JScript runtime &lt;font face="Arial" size="2"&gt;error &amp;#39;800a01ad&amp;#39;&lt;/font&gt;&lt;font face="Times New Roman" size="3"&gt; &lt;br /&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;Automation server can&amp;#39;t create object&lt;/font&gt; &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The DLL is present, and regsvr32&amp;#39;ed successfully. Possibilities:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;File system security related.&amp;nbsp;I&amp;#39;ve used procmon in the past to troubleshoot file access issues. Using procmon, I see the ProcID is found in the registry.&amp;nbsp; But I don&amp;#39;t see where w3wp.exe even attempts to open the DLL.&amp;nbsp; I do see the OPEN on the working servers.&amp;nbsp; I&amp;#39;ve tried running the AppPool as &amp;quot;Local System&amp;quot;, but it still fails.&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Not all dependent components are present.&amp;nbsp; Depends.exe returns similar results on both the working and non-working installations. If dependencies are missing will I even see an attempted open via procmon?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Any other&amp;nbsp;troubleshooting&amp;nbsp;ideas?&amp;nbsp; Thanks in advance.&lt;/p&gt;
&lt;p&gt;Robert&lt;/p&gt;</description></item><item><title>Server.CreateObject http 500 internal error</title><link>http://forums.iis.net/p/1155547/1894617.aspx#1894617</link><pubDate>Tue, 24 Feb 2009 14:19:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1894617</guid><dc:creator>dm78741</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;This is a basic createa text file problem. I used another path to avoid the vista user account permissions as opposed to the wwwroot file, it worked fine with another file &amp;quot;FirstFile.asp&amp;quot; from the book &amp;quot;ASP programming for the absolute beginner&amp;quot;. As a beginner, I had to ask... been trying different things for a long time without actually digging to far into IIS programming... please help...&lt;/p&gt;
&lt;p&gt;here&amp;#39;s the code for the &amp;quot;SecondFile.asp&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Working with the File Object&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;b&amp;gt;A second example of working with the File object!&amp;lt;/b&amp;gt;&lt;br /&gt;&amp;lt;hr&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;%&lt;br /&gt;set TestFile=Server.CreateObject(&amp;quot;Scripting.FileSystemObject&amp;quot;)&lt;br /&gt;set TFileStream=TestFile.CreateTextFile(&amp;quot;c:\Dfiles\docs\&lt;br /&gt;Test2File.txt&amp;quot;)&lt;br /&gt;TFileStream.WriteLine &amp;quot;Welcome to the File Object in ASP!&amp;quot;&lt;br /&gt;TFileStream.WriteBlankLines(3)&lt;br /&gt;TFileStream.WriteLine &amp;quot;Between this line and the opening line are&lt;br /&gt;three blank lines. These blank lines were inserted using the&lt;br /&gt;WriteLine method of the TextStream object. Now, let&amp;#39;s write three&lt;br /&gt;more blank lines before the next section of text is inserted.&amp;quot;&lt;br /&gt;TFileStream.WriteBlankLines(3)&lt;br /&gt;TFileStream.WriteLine &amp;quot;Okay, that&amp;#39;s better--three more blank lines&lt;br /&gt;have just been inserted! I think you probably get the idea of how to&lt;br /&gt;use the WriteLine method, so let&amp;#39;s move on to more interesting things.&amp;quot;&lt;br /&gt;TFileStream.Close&lt;br /&gt;%&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/p&gt;</description></item></channel></rss>