<?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 tag '500 internal server error'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=500+internal+server+error&amp;orTags=0</link><description>Search results matching tag '500 internal server error'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Add new website</title><link>http://forums.iis.net/p/1163068/1926582.aspx#1926582</link><pubDate>Mon, 30 Nov 2009 17:42:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1926582</guid><dc:creator>bhavesh_kotwani@hotmail.com</dc:creator><cs:applicationKey>classic_asp--1</cs:applicationKey><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have a website built in classic ASP. I have lots of .asp files which only contain &amp;lt;!-- include virtual = &amp;quot;/lib/xyz.asp&amp;gt; and many more # includes.&lt;/p&gt;&lt;p&gt;Now when i try to run my site its gives me an error. I am aware that all those #include files must be pasted under wwwroot with their directory structure intact. &lt;/p&gt;&lt;p&gt;I am currently using windows XP. The website is already deployed on windows 2003 server. In win 2003, when i open IIS i can right click on &amp;quot;Websites&amp;quot; folder and do Add new web site.&lt;/p&gt;&lt;p&gt;Is this possible to do in &lt;b&gt;win xp&lt;/b&gt; by changing some configuration.&amp;nbsp; Because in xp every time i add a new website it gets added under default website and the starting point for that website starts from default website. I want the starting point of the website to start from the folder i specified while adding the new virtaual directory in XP.&lt;/p&gt;&lt;p&gt;Is it possible to change the starting point of the web site in XP or allow IIS to support the functionality of adding a new website when i right click on Websites folder in Win XP.&lt;/p&gt;&lt;p&gt;Thanks a lot for your help.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Regards&lt;/p&gt;&lt;p&gt;&amp;nbsp;Bhavesh &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><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 even IIS 5.1 is installed!</title><link>http://forums.iis.net/p/1161815/1920970.aspx#1920970</link><pubDate>Fri, 16 Oct 2009 09:20:07 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920970</guid><dc:creator>NanaluCoalition</dc:creator><cs:applicationKey>troubleshooting--1</cs:applicationKey><description>&lt;p&gt;I&amp;#39;ve just made a website with asp&lt;br /&gt;however I don&amp;#39;t know why an HTTP 500 error is still exist even though I&amp;#39;ve installed the IIS 5.1&lt;/p&gt;
&lt;p&gt;I can open my htmls but can&amp;#39;t open the asps,why&lt;/p&gt;
&lt;p&gt;When I open it, it just comes out with&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Server Application Error&lt;/h1&gt;
&lt;p&gt;The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.&lt;/p&gt;
&lt;p&gt;when the web is in a frame and &lt;/p&gt;
&lt;table cellspacing="0" cellpadding="0"&gt;

&lt;tr&gt;
&lt;td id="infoIconAlign" rowspan="2" align="left"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td id="mainTitleAlign" align="left"&gt;
&lt;h1 id="mainTitle"&gt;The website cannot display the page&lt;/h1&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td id="http500Align" class="errorCodeAndDivider" align="right"&gt;&amp;nbsp;HTTP 500 
&lt;div class="divider"&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp; &lt;/td&gt;
&lt;td id="likelyCausesAlign" align="left"&gt;
&lt;h3 id="likelyCauses"&gt;Most likely causes:&lt;/h3&gt;
&lt;ul&gt;
&lt;li id="causeSiteMaintenance"&gt;The website is under maintenance. 
&lt;li id="causeSiteError"&gt;The website has a programming error. &lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp; &lt;/td&gt;
&lt;td id="whatToTryAlign" align="left"&gt;
&lt;h2 id="whatToTry"&gt;What you can try:&lt;/h2&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp; &lt;/td&gt;
&lt;td id="refreshPageAlign" align="left"&gt;
&lt;h4&gt;
&lt;table&gt;

&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;span id="navCancelContainer"&gt;&lt;a&gt;Refresh the page.&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/h4&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp; &lt;/td&gt;
&lt;td id="goBackAlign" align="left"&gt;
&lt;h4&gt;
&lt;table&gt;

&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;span id="goBackContainer"&gt;&lt;a&gt;Go back to the previous page.&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/h4&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td id="infoBlockAlign" align="right"&gt;&amp;nbsp; &lt;/td&gt;
&lt;td id="moreInfoAlign" align="left"&gt;
&lt;h4&gt;
&lt;table&gt;

&lt;tr&gt;
&lt;td&gt;&lt;a&gt;&lt;/a&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;span id="moreInfoContainer"&gt;&lt;a&gt;More information&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/h4&gt;
&lt;div style="DISPLAY:block;" id="infoBlockID" class="infoBlock"&gt;
&lt;p id="errorExplanation"&gt;This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.&lt;/p&gt;
&lt;p id="moreInfoSeeHelp"&gt;For more information about HTTP errors, see Help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;p&gt;When the web is opened independently.&lt;/p&gt;
&lt;p&gt;WHY? can sb tells me and help me fix the problem?&lt;/p&gt;
&lt;p&gt;CODE:&lt;/p&gt;
&lt;p&gt;&amp;lt;&lt;a href="mailto:%@LANGUAGE=&amp;quot;VBSCRIPT"&gt;%@LANGUAGE=&amp;quot;VBSCRIPT&lt;/a&gt;&amp;quot; CODEPAGE=&amp;quot;950&amp;quot;%&amp;gt;&lt;br /&gt;&amp;lt;%&lt;br /&gt;&amp;#39;&amp;nbsp; *** Recordset Stats, Move To Record, and Go To Record: declare stats variables&lt;/p&gt;
&lt;p&gt;Dim Members_total&lt;br /&gt;Dim Members_first&lt;br /&gt;Dim Members_last&lt;/p&gt;
&lt;p&gt;&amp;#39; set the record count&lt;br /&gt;Members_total = Members.RecordCount&lt;/p&gt;
&lt;p&gt;&amp;#39; set the number of rows displayed on this page&lt;br /&gt;If (Members_numRows &amp;lt; 0) Then&lt;br /&gt;&amp;nbsp; Members_numRows = Members_total&lt;br /&gt;Elseif (Members_numRows = 0) Then&lt;br /&gt;&amp;nbsp; Members_numRows = 1&lt;br /&gt;End If&lt;/p&gt;
&lt;p&gt;&amp;#39; set the first and last displayed record&lt;br /&gt;Members_first = 1&lt;br /&gt;Members_last&amp;nbsp; = Members_first + Members_numRows - 1&lt;/p&gt;
&lt;p&gt;&amp;#39; if we have the correct record count, check the other stats&lt;br /&gt;If (Members_total &amp;lt;&amp;gt; -1) Then&lt;br /&gt;&amp;nbsp; If (Members_first &amp;gt; Members_total) Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Members_first = Members_total&lt;br /&gt;&amp;nbsp; End If&lt;br /&gt;&amp;nbsp; If (Members_last &amp;gt; Members_total) Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Members_last = Members_total&lt;br /&gt;&amp;nbsp; End If&lt;br /&gt;&amp;nbsp; If (Members_numRows &amp;gt; Members_total) Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Members_numRows = Members_total&lt;br /&gt;&amp;nbsp; End If&lt;br /&gt;End If&lt;br /&gt;%&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;%&lt;br /&gt;&amp;#39; *** Recordset Stats: if we don&amp;#39;t know the record count, manually count them&lt;/p&gt;
&lt;p&gt;If (Members_total = -1) Then&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;#39; count the total records by iterating through the recordset&lt;br /&gt;&amp;nbsp; Members_total=0&lt;br /&gt;&amp;nbsp; While (Not Members.EOF)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Members_total = Members_total + 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Members.MoveNext&lt;br /&gt;&amp;nbsp; Wend&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;#39; reset the cursor to the beginning&lt;br /&gt;&amp;nbsp; If (Members.CursorType &amp;gt; 0) Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Members.MoveFirst&lt;br /&gt;&amp;nbsp; Else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Members.Requery&lt;br /&gt;&amp;nbsp; End If&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;#39; set the number of rows displayed on this page&lt;br /&gt;&amp;nbsp; If (Members_numRows &amp;lt; 0 Or Members_numRows &amp;gt; Members_total) Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Members_numRows = Members_total&lt;br /&gt;&amp;nbsp; End If&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;#39; set the first and last displayed record&lt;br /&gt;&amp;nbsp; Members_first = 1&lt;br /&gt;&amp;nbsp; Members_last = Members_first + Members_numRows - 1&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; If (Members_first &amp;gt; Members_total) Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Members_first = Members_total&lt;br /&gt;&amp;nbsp; End If&lt;br /&gt;&amp;nbsp; If (Members_last &amp;gt; Members_total) Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Members_last = Members_total&lt;br /&gt;&amp;nbsp; End If&lt;/p&gt;
&lt;p&gt;End If&lt;br /&gt;%&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;!DOCTYPE HTML PUBLIC &amp;quot;-//W3C//DTD HTML 4.01 Transitional//EN&amp;quot; &amp;quot;&lt;a href="http://www.w3.org/TR/html4/loose.dtd"&gt;http://www.w3.org/TR/html4/loose.dtd&lt;/a&gt;&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;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=big5&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;...&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;link href=&amp;quot;Style_Homepage.css&amp;quot; rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;body {&lt;br /&gt;&amp;nbsp;background-color: #003366;&lt;br /&gt;}&lt;br /&gt;--&amp;gt;&lt;br /&gt;&amp;lt;/style&amp;gt;&amp;lt;/head&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;BODY&amp;gt;&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Fix for PHP 5.3 IIS 7 500 Internal Server Error The FastCGI process exited unexpectedly</title><link>http://forums.iis.net/p/1159556/1914513.aspx#1914513</link><pubDate>Tue, 25 Aug 2009 06:40:37 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914513</guid><dc:creator>blazingbiz</dc:creator><cs:applicationKey>php_community-49</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;Did you fix your PHP 5.3 issue on Windows 2008 server on 64-bit?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Fix for PHP 5.3 IIS 7 500 Internal Server Error The FastCGI process exited unexpectedly</title><link>http://forums.iis.net/p/1159556/1911605.aspx#1911605</link><pubDate>Mon, 27 Jul 2009 02:20:24 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1911605</guid><dc:creator>blazingbiz</dc:creator><cs:applicationKey>php_community-49</cs:applicationKey><description>&lt;p&gt;This post is to help anyone who is having 500 Internal Server Errors with their install of PHP 5.3 on IIS 7 in the Windows 2008 Server environment. I just spent a few hours troubleshooting this and I hope I can help save more hours of the same for others. I looked this up and found a lot of false leads then I came up with a solution which fixes this for me on my server, so I&amp;#39;ll list it all here and hopefully people can add to it if I miss anything. Also if my fix falls apart after a while I can post it back here and see if we can all go back and review the steps and at least have a list of what works and what doesn&amp;#39;t work.&lt;br /&gt;&lt;/p&gt;&lt;p&gt; So this is how it started for me: I just installed PHP 5.3 on my production server Windows 2008 32-bit, I got the download msi installer from http://windows.php.net/download/ the VC9 Non-Thread safe version.&lt;/p&gt;
&lt;p&gt;I set everything up with the php.ini fine and it worked fine. But after about an hour using WordPress 2.8.2 I kept getting 500 Internal Server Errors and the detailed description from the server Browser says:&lt;/p&gt;
&lt;p&gt;The FastCGI process exited unexpectedly&lt;/p&gt;
&lt;p&gt;Module FastCgiModule &lt;br /&gt;
Notification ExecuteRequestHandler &lt;br /&gt;
Handler PHP_via_FastCGI &lt;br /&gt;
Error Code 0xc0000005 
&lt;/p&gt;&lt;p&gt;I tried all the usual fixes, I set the error_reporting = E_ALL &amp;amp; ~E_DEPRECATED&lt;/p&gt;&lt;p&gt;I also set the date.timezone =&amp;quot;America/Los_Angeles&amp;quot; - don&amp;#39;t know if the quotes matter &lt;/p&gt;&lt;p&gt;I also read that setting Write permission for the Anonymous Identity on the wp-content folder fixed this issue but I did that and it does not fix the issue. &lt;/p&gt;&lt;p&gt;Ironically I was doing all of this while creating a write up to &lt;a href="http://www.business-web-host.biz/34/web-host-php-iis-7-windows-2008" title="PHP 5.3 IIS Web Hosting Enhancement"&gt;install PHP 5.3 on the IIS 7 Windows 2008 Server Platform&lt;/a&gt; so I was testing it out on my server as I wrote it.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I followed my instructions and it worked fine but then about every three clicks I got the 500 Internal Server Error. &lt;/p&gt;&lt;p&gt;The odd thing is that if I click the refresh button the page pops up fine without any error, then I can go on for about three or so clicks and I&amp;#39;ll get the 500 Internal Error again. Same thing on the Server with the detailed error page, if I click refresh then it&amp;#39;s fine for a few more clicks then it happens again.&lt;/p&gt;&lt;p&gt;Then finally I removed the open_basedir = directive for each of my custom PHP web site paths and it worked fine with no more 500 Internal Server Error, and that is what I can report is the fix.&lt;/p&gt;&lt;p&gt;My next guess would have been giving more Memory than the 16 MB allotted via the &amp;quot;more secure&amp;quot; php settings.&lt;/p&gt;&lt;p&gt;There was some fussing around with the Server Handler Mapping and having quotes on it for the Program Files section of the file path to the php-cgi.exe and I set the FastCGI Module to check for the php being a &amp;quot;File or Folder&amp;quot; in the FastCGI settings so I don&amp;#39;t know if this helps but just to be complete with my steps I&amp;#39;m including it.&lt;/p&gt;&lt;p&gt;Getting rid of the open_basedir did it for me though, so I hope that helps. If people have issues and want to list what they did or are doing to fix it and if any of what is listed here helps please post a reply and I&amp;#39;ll try to keep up with it as much as I can.&lt;/p&gt;&lt;p&gt;Oh and my last point, I was going to stop troubleshooting this, I have a lot of work to do and I was well beyond the &amp;quot;screw it&amp;quot; point, but being a programmer you know that you just can&amp;#39;t walk away when the little bugger machines start acting up. &lt;/p&gt;&lt;p&gt;I was about to uninstall PHP 5.3 and go back to what worked - PHP 5.2.9 - but I&amp;#39;m glad I stuck it through, the speed and enhancements from PHP 5.3 are noticeable. If you are frustrated with this, just stick through with this guide and see if we can get others to add to it and have a comprehensive list of issues and fixes for it, PHP 5.3 is really nice and well worth it. After looking at all the Bug reports and angry posts online about PHP 5.3 I just want to get it across that the improvements are worth fixing what ever is bugging the &amp;quot;New&amp;quot; &amp;quot;Just Released&amp;quot; thing, this is the typical hair pulling that comes with the bleeding edge latest and greatest early adopter crowd of anything.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem with accessing MsAccess 2000 in iis7 visa business</title><link>http://forums.iis.net/p/1157786/1904318.aspx#1904318</link><pubDate>Wed, 20 May 2009 12:08:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1904318</guid><dc:creator>alasatish</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using vista business, configured iis7 and created virtural directory under default websites.&lt;/p&gt;
&lt;p&gt;When i am trying to access my asp site it is giving me an error &amp;quot; error occurred on the server when processing the URL. Please contact the system administrator&amp;quot; then I opend Application pools in iis7 &amp;gt; set Application pool defaults&amp;gt; Process Model &amp;gt; Identity and changed idnetity type as Local System where it was Network service by default, then i am abel to open the side.&lt;/p&gt;
&lt;p&gt;But while connecting to the data base it is giveing me the same error as shown above.&lt;/p&gt;
&lt;p&gt;Can any one help&amp;nbsp;me for the same.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Satish Ala&lt;/p&gt;
&lt;p&gt;System admin &lt;/p&gt;
&lt;p&gt;Globarena Technologies&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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><item><title>IIS 6 to IIS 7 -  DSNless classic ASP connection string need to convert to DSN </title><link>http://forums.iis.net/p/1154911/1892150.aspx#1892150</link><pubDate>Tue, 03 Feb 2009 17:11:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1892150</guid><dc:creator>mketts</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Website recently moved from IIS 6 to II7 environment. I have intermittent connection issues pulling data from my sql server and was informed by my web provider that my DSNless connection string was the issue? Here is a copy of my current connection string:&lt;/p&gt;
&lt;p&gt;set cn=server.createobject(&amp;quot;ADODB.CONNECTION&amp;quot;)&lt;br /&gt;cst=&amp;quot;Provider=SQLOLEDB.1;Password=password;Persist Security Info=True;User ID=user;Data Source=255.255.255.255;Initial Catalog=agenda&amp;quot;&lt;br /&gt;set rs=server.createobject(&amp;quot;ADODB.RECORDSET&amp;quot;)&lt;br /&gt;cn.open cst &lt;br /&gt;dvar=(date - 30)&lt;br /&gt;rs.open &amp;quot;Select * from agenda where agenda=&amp;#39;new&amp;#39; order by eventspandate desc&amp;quot;,cn,adOpenStatic&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while not rs.eof &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if rs(&amp;quot;EventSpanDate&amp;quot;) &amp;gt; (date - 30) then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;response.write &amp;quot;&amp;lt;a href=new.asp?id=&amp;quot; &amp;amp; rs(&amp;quot;id&amp;quot;) &amp;amp;&amp;quot;&amp;gt;&amp;quot; &amp;amp; rs(&amp;quot;title2&amp;quot;) &amp;amp; &amp;quot;&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&amp;lt;img src=images/spacer.jpg width=5 height=8&amp;gt;&amp;lt;/img&amp;gt;&amp;lt;br&amp;gt;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&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;&amp;nbsp;rs.movenext&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;wend&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rs.close&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs.open &amp;quot;Select * from agenda where agenda=&amp;#39;new&amp;#39;&amp;quot;,cn,adOpenStatic&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if rs(&amp;quot;EventSpanDate&amp;quot;) &amp;gt; (date - 30) &amp;lt;&amp;gt; &amp;quot;&amp;quot; then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;response.write &amp;quot;&amp;lt;font size=-7&amp;gt;&amp;amp;nbsp;&amp;lt;/font&amp;gt;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&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;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rs.close&lt;/p&gt;
&lt;p&gt;Can anyone tell me how to change this to a DSN connection and if this most likely is the issue..&lt;/p&gt;
&lt;p&gt;Thanks in Advance&lt;/p&gt;</description></item></channel></rss>