<?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 'vbscript'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=vbscript&amp;orTags=0</link><description>Search results matching tag 'vbscript'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Problems with ExecuteGlobal in VBScript on IIS 5.1 but not 6.0</title><link>http://forums.iis.net/p/1162222/1922828.aspx#1922828</link><pubDate>Fri, 30 Oct 2009 17:37:33 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1922828</guid><dc:creator>djplong</dc:creator><cs:applicationKey>classic_asp--1</cs:applicationKey><description>&lt;p&gt;What setting might be missing or misapplied that would cause the same code that works on an IIS 6.0 server to fail on an IIS 5.1 server?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve inherited this large Classic ASP application. It &amp;quot;caches&amp;quot; a series of files with funcitons in them using the ExecuteGlobal command. On both server, the command executes without error. However, when the application later tries to reference the functions that were &amp;#39;cached&amp;#39;, IIS 6.0 seems to work just fine while IIS 5.1 acts as though those functions never existed and I get errors to that effect.&lt;/p&gt;
&lt;p&gt;The 5.1 system is for testing purposes on an XP Pro box. The 6.0 is our production system on Windows 2003.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s taken a long time to isolate the problem (identical code failing in test but working in production) to this code. Setting up another server isn&amp;#39;t an option unfortunately (budget restraints - no money to pay the support people or to rent space where all servers must be physically located - military installation).&lt;/p&gt;
&lt;p&gt;What directions have I missed looking into?&lt;/p&gt;</description></item><item><title>IIS 5.1 on XP SP3, classic ASP, VBScript</title><link>http://forums.iis.net/p/1161514/1919640.aspx#1919640</link><pubDate>Tue, 06 Oct 2009 11:29:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919640</guid><dc:creator>p13rr3</dc:creator><cs:applicationKey>classic_asp--1</cs:applicationKey><description>&lt;p&gt;I have an old web site running on the quoted configuration that I have to maintain but I&amp;#39;m not fluant with this old VBScript. where can I find an (on-line)&amp;nbsp; reference manual ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;TIA, Pierre. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Is there a maximum number of variables that can be used in a VBScript / ASP page?</title><link>http://forums.iis.net/p/1154250/1889623.aspx#1889623</link><pubDate>Sun, 11 Jan 2009 08:52:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889623</guid><dc:creator>Hobbes23</dc:creator><cs:applicationKey>classic_asp--1</cs:applicationKey><description>I have an error that recently came up as I was adding more code to a large application written in VBScript in the classic asp.&lt;br /&gt;
After some testing it seems to me that it has an issue with the number of variables used in my script.
Since all pages are linked by using includes, and all processing and displaying is done through the same root asp page, it is thousands of lines long and could have this many variables I guess.
&lt;br /&gt;
Here is the error message I get:&lt;br /&gt;
Microsoft VBScript runtime error &amp;#39;800a0006&amp;#39;&lt;br /&gt;
&lt;br /&gt;
Overflow: &amp;#39;[number: 32771]&amp;#39;&lt;br /&gt;
&lt;br /&gt;
/default.asp, line 519&lt;br /&gt;
&lt;br /&gt;
the line 519 is actually after the server has processed thousands of lines in other files.
Line 519 is actually blank, and I&amp;#39;m not sure why it even says that line. Made it really difficult to narrow down the actual issue&amp;#39;s source.&lt;br /&gt;
&lt;br /&gt;
but when I remove a small displaying of a variable, even that triggers the error. And removing a variable from my code seems to decrement the number displayed in the error after number.&lt;br /&gt;
&lt;br /&gt;
Any ideas? Is there somewhere or somehow for this max limit to be increased?&lt;br /&gt;

-Peter</description></item><item><title>My .vbs is Unable to connect to Access  </title><link>http://forums.iis.net/p/1154191/1889347.aspx#1889347</link><pubDate>Thu, 08 Jan 2009 01:11:42 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889347</guid><dc:creator>Gary Dahl</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am attempting to have a .vbs file on the server connect to an Access database on that same server. I use&amp;nbsp;the same connection script in my classic .asp pages and it works fine. But when I click on the .vbs file (on the server), I get this:&lt;/p&gt;
&lt;p&gt;Script:&lt;br /&gt;C:\website\myvbsfile.vbs&lt;br /&gt;Line: 42&amp;nbsp;&lt;br /&gt;[Microsoft][ODBC Driver Manager]Data Source Name not found and no default driver specified&amp;nbsp; &lt;br /&gt;Code: 80004005 Source: Microsoft OLE DB Provider for ODBC Drivers&lt;/p&gt;
&lt;p&gt;&amp;#39;here is the connection vbscript in the .vbs file:Dim objConn&lt;br /&gt;&lt;br /&gt;Set objConn = CreateObject(&amp;quot;ADODB.Connection&amp;quot;)&lt;br /&gt;objConn.ConnectionString = &amp;quot;DRIVER={Microsoft Access Driver (*.mdb)};&amp;quot; &amp;amp; _&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;DBQ=c:/databases/mydb.mdb&amp;quot; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;objConn.Open &amp;#39;line 42&lt;/p&gt;
&lt;p&gt;My Settings:&lt;br /&gt;Enable 32-bit Applications is set to True. I would like to attempt to connect with a system DSN, but the System DSN tab of the ODBC Data Source Administrator shows no system data sources. If I click the Add button, the Create New Data Source dialog only shows a SQL Server driver. The Drivers tab shows only the SQL Server Driver. However, the USER DSN tab DOES show the Microsoft Access Driver.&lt;/p&gt;
&lt;p&gt;Any Ideas?&lt;/p&gt;</description></item><item><title>unable to insert</title><link>http://forums.iis.net/p/1154112/1889009.aspx#1889009</link><pubDate>Mon, 05 Jan 2009 10:37:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889009</guid><dc:creator>rajar32</dc:creator><cs:applicationKey>classic_asp--1</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;am trying to insert id to the statustable but i cannot able to add&lt;br /&gt;&lt;br /&gt;getting stuck with this error./.&lt;br /&gt;&lt;br /&gt;Type mismatch: &amp;#39;sd&amp;#39;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%&lt;br /&gt;id = session(&amp;quot;userid&amp;quot;)&lt;br /&gt;&amp;nbsp;sSql =&amp;nbsp; &amp;quot;SELECT&amp;nbsp; name&amp;nbsp;&amp;nbsp; FROM nametable WHERE userID = &amp;quot;&amp;amp;id&amp;amp;&amp;quot;&amp;quot; &lt;br /&gt;if request.form(&amp;quot;submit&amp;quot;)=&amp;quot;Hide&amp;quot; then&lt;br /&gt;i=0&lt;br /&gt;elseif request.form(&amp;quot;submit&amp;quot;)=&amp;quot;Show&amp;quot; then&lt;br /&gt;i=1&lt;br /&gt;end if&lt;br /&gt;sd= &amp;quot;select id from nametable where userid=&amp;quot;&amp;amp;userid&amp;amp;&amp;quot;&amp;quot;&lt;br /&gt;&amp;#39;oConn.Execute(&amp;quot;UPDATE statustable SET status=&amp;#39;&amp;quot;&amp;amp;i&amp;amp;&amp;quot;&amp;#39;,&amp;#39;&amp;quot;&amp;amp;sd(0)&amp;amp;&amp;quot;&amp;#39; WHERE userID = &amp;quot;&amp;amp;id&amp;amp;&amp;quot;&amp;quot;) &lt;br /&gt;&amp;nbsp;set msg=oConn.Execute(&amp;quot;insert tbl1 (real,resid,userid) values (&amp;#39;&amp;quot;&amp;amp;i&amp;amp;&amp;quot;&amp;#39;,&amp;#39;&amp;quot;&amp;amp;sd(0)&amp;amp;&amp;quot;&amp;#39;,&amp;quot;&amp;amp;userid&amp;amp;&amp;quot;&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; oRs.Open sSql, oConn &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; While not oRs.EOF &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.write(&amp;quot;&amp;lt;table cellspacing=&amp;#39;1&amp;#39; cellpadding=&amp;#39;4&amp;#39; class=&amp;#39;rep_tbl&amp;#39;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;form method=&amp;#39;post&amp;#39; &amp;gt;&amp;lt;td width=&amp;#39;10%&amp;#39; align=&amp;#39;right&amp;#39;&amp;gt;Name : &amp;lt;/td&amp;gt;&amp;lt;td width=&amp;#39;30%&amp;#39;&amp;gt;&amp;quot;&amp;amp;ors(1)&amp;amp;&amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;td align=&amp;#39;right&amp;#39;&amp;gt;&amp;lt;input name=&amp;#39;submit&amp;#39;&amp;nbsp; type=&amp;#39;submit&amp;#39; value=&amp;#39;Hide&amp;#39; &amp;gt;&amp;nbsp; &amp;lt;input name=&amp;#39;submit&amp;#39; type=&amp;#39;submit&amp;#39; value=&amp;#39;Show&amp;#39; &amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/form&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oRs.MoveNext()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wend&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;end if &amp;nbsp;&lt;br /&gt;%&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>how to maintain a status...asp ...</title><link>http://forums.iis.net/p/1154084/1888892.aspx#1888892</link><pubDate>Sat, 03 Jan 2009 11:19:26 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888892</guid><dc:creator>mathews7</dc:creator><cs:applicationKey>classic_asp--1</cs:applicationKey><description>I have two table in db,namely
1.nametable
name_id
name
id
2.statustable
aut_id           
status           
name_id

i loaded a page with name records for single user(which is id from nametable), now i want to maintain a status for the particular name , for that i created a table which is statustable
to attain status i created a two buttons ..namely hide,show button...
Clear clarity.....
on clicking hide... status should be stored as zero in staustable along with that name_id(of nametable) to be stored..
on clicking show...status should be stored as zero in staustable  along with that name_id(of nametable) to be stored

Do i need two function to attain dis..?plz suggest how can i proceed....!

.
.
&lt;table cellspacing="1" cellpadding="4" class="rep_tbl"&gt;&lt;tr&gt;&lt;td align="right"&gt;Name : &lt;/td&gt;&lt;td&gt;&amp;quot;&amp;amp;ors(1)&amp;amp;&amp;quot;&lt;/td&gt;&lt;/tr&gt;&lt;td align="right"&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&amp;quot;)
          oRs.MoveNext()
      Wend	  	
end if	
%&amp;gt;</description></item><item><title>Re: Logon/Logoff week information</title><link>http://forums.iis.net/p/1153769/1888222.aspx#1888222</link><pubDate>Tue, 23 Dec 2008 03:15:25 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888222</guid><dc:creator>Hitchheik</dc:creator><cs:applicationKey>general_discussion-51</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;This is how to see logon/logoff on your computer. Save as LogonLogoff.vbs&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;#39;*******************************&lt;/p&gt;&lt;p&gt;Set objLogParser = CreateObject(&amp;quot;MSUtil.LogQuery&amp;quot;)&lt;br /&gt;Set objInputFormat = CreateObject(&amp;quot;MSUtil.LogQuery.EventLogInputFormat&amp;quot;)&lt;br /&gt;Set objOutputFormat = CreateObject(&amp;quot;MSUtil.LogQuery.DatagridOutputFormat&amp;quot;)&lt;br /&gt;&lt;br /&gt;strQuery = &amp;quot;SELECT ComputerName, TimeGenerated AS LogonTime, STRCAT(STRCAT(EXTRACT_TOKEN(Strings, 1, &amp;#39;|&amp;#39;), &amp;#39;\\&amp;#39;), EXTRACT_TOKEN(Strings, 0, &amp;#39;|&amp;#39;)) AS Username FROM Security WHERE EventID IN (552; 528) AND EventCategoryName = &amp;#39;Logon/Logoff&amp;#39;&amp;quot;&lt;br /&gt;objLogParser.ExecuteBatch strQuery, objInputFormat, objOutputFormat&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;#39;********************&lt;/p&gt;&lt;p&gt;Jerome &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Simple Query Help</title><link>http://forums.iis.net/p/1153863/1888221.aspx#1888221</link><pubDate>Tue, 23 Dec 2008 02:50:55 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888221</guid><dc:creator>Hitchheik</dc:creator><cs:applicationKey>general_discussion-51</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;This is a VBScript that will display an hourly count of your hits. Save top as Hourly.vbs, Save the&amp;nbsp; bottom file in the same directory as your output path as hour_3.xsl.&amp;nbsp; This will open in Explorer when completed&amp;#39;&lt;/p&gt;&lt;p&gt;&amp;#39;===================================================================================&lt;br /&gt;&amp;#39;************************** Set Input and Output formats&amp;nbsp; ******************************&lt;br /&gt;Set objLogParser = CreateObject(&amp;quot;MSUtil.LogQuery&amp;quot;)&lt;br /&gt;Set objInputFormat = CreateObject(&amp;quot;MSUtil.LogQuery.IISW3CInputFormat&amp;quot;)&lt;br /&gt;Set objOutputFormat = CreateObject(&amp;quot;MSUtil.LogQuery.XMLOutputFormat&amp;quot;)&lt;br /&gt;&amp;#39;===================================================================================&lt;br /&gt;&amp;#39;********************************* Set String inputs&amp;nbsp; **********************************&lt;br /&gt;strPath = inputbox (&amp;quot;Where do you want to store output?&amp;quot;,&amp;quot;Directory Location&amp;quot;,&amp;quot;c:\scripts\LogParser\&amp;quot;)&lt;br /&gt;strComputer = inputbox (&amp;quot;Which Server log to Review&amp;quot;,&amp;quot;Server Log&amp;quot;,&amp;quot;ServerName&amp;quot;)&lt;br /&gt;strSite = inputbox (&amp;quot;Which Site log to Review&amp;quot;,&amp;quot;Site Log&amp;quot;,&amp;quot;1&amp;quot;)&lt;br /&gt;strWhen = inputbox(&amp;quot;Which Date to look at? YYMMDD format&amp;quot;,&amp;quot;Date Entry&amp;quot;,&amp;quot;081217&amp;quot;)&lt;br /&gt;&lt;br /&gt;objOutputFormat.xslLink = strPath &amp;amp; &amp;quot;Hour_3.xsl&amp;quot;&lt;br /&gt;outputfile = strPath&amp;nbsp; &amp;amp; strComputer &amp;amp; &amp;quot;_WebHitPerHour.xml&amp;quot;&lt;br /&gt;&amp;#39;===================================================================================&lt;br /&gt;&amp;#39;******************************** Insert Query here&amp;nbsp; **********************************&lt;br /&gt;strQuery = &amp;quot;SELECT TO_STRING(time, &amp;#39;HH&amp;#39;) AS HOUR, TO_STRING(TO_LOCALTIME(time), &amp;#39;HH&amp;#39;) AS LOCAL, COUNT(*) AS Hits INTO &amp;quot; &amp;amp; outputfile &amp;amp; &amp;quot; FROM \\&amp;quot; &amp;amp; strComputer &amp;amp; &amp;quot;\c$\Logfiles\W3SVC&amp;quot; &amp;amp; strSite &amp;amp; &amp;quot;\ex&amp;quot; &amp;amp; strWhen &amp;amp; &amp;quot;.log GROUP BY Hour, LOCAL ORDER BY Hour ASC&amp;quot;&lt;br /&gt;&amp;#39;===================================================================================&lt;br /&gt;&amp;#39;******************************** This calls the job&amp;nbsp;&amp;nbsp; **********************************&lt;br /&gt;objLogParser.ExecuteBatch strQuery, objInputFormat, objOutputFormat&lt;br /&gt;&amp;#39;===================================================================================&lt;br /&gt;&amp;#39;Z1 ************************ Open file to read *****************************************&lt;br /&gt;Set objShell = Wscript.CreateObject(&amp;quot;Wscript.Shell&amp;quot;)&lt;br /&gt;objShell.Run outputfile&lt;/p&gt;&lt;p&gt;&amp;#39;********************************************************************************************&lt;/p&gt;&lt;p&gt;&amp;#39;Next file&lt;/p&gt;&lt;p&gt;&amp;#39;***************************************************************************************** &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/TR/WD-xsl&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;lt;xsl:template match=&amp;quot;/&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;xsl:for-each select=&amp;quot;ROOT&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;HEAD&amp;gt;&amp;lt;TITLE&amp;gt;&amp;lt;xsl:value-of select=&amp;quot;@CREATED_BY&amp;quot;/&amp;gt; Generated Log&amp;lt;/TITLE&amp;gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;BODY&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CENTER&amp;gt;&amp;lt;H1&amp;gt;&amp;lt;xsl:value-of select=&amp;quot;@CREATED_BY&amp;quot;/&amp;gt; Generated Log&amp;lt;/H1&amp;gt;&amp;lt;/CENTER&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CENTER&amp;gt;&amp;lt;H2&amp;gt;Generated on &amp;lt;xsl:value-of select=&amp;quot;@DATE_CREATED&amp;quot;/&amp;gt;&amp;lt;/H2&amp;gt;&amp;lt;/CENTER&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CENTER&amp;gt;&amp;lt;H2&amp;gt;&amp;lt;FONT color=&amp;quot;Blue&amp;quot;&amp;gt;Hourly Hits&amp;lt;/FONT&amp;gt;&amp;lt;/H2&amp;gt;&amp;lt;/CENTER&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CENTER&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TABLE BORDER=&amp;quot;0&amp;quot; BGCOLOR=&amp;quot;#E0E0E0&amp;quot; CELLPADDING=&amp;quot;5&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TR bgcolor=&amp;quot;#9acd32&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TH&amp;gt;GMT&amp;lt;/TH&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TH&amp;gt;Local&amp;lt;/TH&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TH&amp;gt;Count&amp;lt;/TH&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/TR&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:apply-templates select=&amp;quot;ROW&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/TABLE&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/CENTER&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/HTML&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/xsl:template&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;lt;xsl:template match=&amp;quot;ROW&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TR BGCOLOR=&amp;quot;#F0F0F0&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:for-each select=&amp;quot;*&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;TD&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;xsl:value-of select=&amp;quot;.&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/TR&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/xsl:template&amp;gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;/xsl:stylesheet&amp;gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;#39;*****************************************************************&lt;/p&gt;&lt;p&gt;Jerome &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Executing log parser query in vbscript?</title><link>http://forums.iis.net/p/1153701/1888220.aspx#1888220</link><pubDate>Tue, 23 Dec 2008 02:32:48 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888220</guid><dc:creator>Hitchheik</dc:creator><cs:applicationKey>general_discussion-51</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;I have an easy template system that I use.&amp;nbsp; There are a number of differences that you need to learn for the input and output factors especially when doing XML or HTML formating.&amp;nbsp; Here is your SQL in VBS format. remember to save as .vbs&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;#39;===================================================================================&lt;br /&gt;&amp;#39;************************** Set Input and Output formats&amp;nbsp; ******************************&lt;br /&gt;Set objLogParser = CreateObject(&amp;quot;MSUtil.LogQuery&amp;quot;)&lt;br /&gt;Set objInputFormat = CreateObject(&amp;quot;MSUtil.LogQuery.IISW3CInputFormat&amp;quot;)&lt;br /&gt;Set objOutputFormat = CreateObject(&amp;quot;MSUtil.LogQuery.W3COutputFormat&amp;quot;)&lt;br /&gt;&amp;#39;===================================================================================&lt;br /&gt;&amp;#39;********************************* Set String inputs&amp;nbsp; **********************************&lt;br /&gt;strDate = Replace(Date,&amp;quot;/&amp;quot;,&amp;quot;-&amp;quot;)&lt;br /&gt;outputfile = &amp;quot;c:\temp\soalogs\scrub-ex&amp;quot; &amp;amp; strDate &amp;amp; &amp;quot;.log&amp;quot;&lt;br /&gt;&amp;#39;===================================================================================&lt;br /&gt;&amp;#39;******************************** Insert Query here&amp;nbsp; **********************************&lt;br /&gt;strQuery = &amp;quot;select date, time, s-sitename, s-computername, s-ip, cs-method, cs-uri-stem, cs-uri-query, s-port, cs-username, c-ip, cs(User-Agent), cs(Cookie), cs(Referer), cs-host, sc-status, sc-substatus, sc-win32-status, time-taken FROM c:\temp\logs\ex*.log WHERE cs(Referer) NOT LIKE &amp;#39;%weblink%&amp;#39; AND cs-uri-stem NOT LIKE &amp;#39;%/left1_%&amp;#39; and cs-uri-stem NOT LIKE &amp;#39;%pngbehavior%&amp;#39;&amp;quot; &lt;br /&gt;&amp;#39;===================================================================================&lt;br /&gt;&amp;#39;******************************** This calls the job&amp;nbsp;&amp;nbsp; **********************************&lt;br /&gt;objLogParser.ExecuteBatch strQuery, objInputFormat, objOutputFormat&lt;br /&gt;&amp;#39;===================================================================================&lt;br /&gt;&amp;#39;*************************** Open file to read ****************************************&lt;br /&gt;Set objShell = Wscript.CreateObject(&amp;quot;Wscript.Shell&amp;quot;)&lt;br /&gt;objShell.Run outputfile&lt;/p&gt;&lt;p&gt;&amp;#39;**************************************************************************************&lt;/p&gt;&lt;p&gt;&amp;nbsp;you do not need the Open file section except to make sure it works.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Jerome &lt;br /&gt;&lt;/p&gt;</description></item><item><title>No Useful Error Messages Appear</title><link>http://forums.iis.net/p/1153893/1888062.aspx#1888062</link><pubDate>Fri, 19 Dec 2008 17:13:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888062</guid><dc:creator>Gary Dahl</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;We don&amp;#39;t have any useful error messages appearing with classic ASP and IIS 7. We&amp;#39;re trying to have errors with line numbers and specific codes for debugging purposes.&lt;/p&gt;
&lt;p&gt;Errors on my local browser are all &amp;quot;500 - Internal Server error&amp;quot;. The same error on the server is &amp;quot;HTTP 500 the website cannot display the page&amp;quot;. &lt;/p&gt;
&lt;p&gt;In IIS, Calculate line numbers, Enable Client-side debugging, Enable Server-side debugging and send errors to browser are all set to true. In my IE, Disable Script Debugging is unchecked. Show friendly error messages, has been tried off and on.&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve spent&amp;nbsp;days on this to no avail. &amp;nbsp;Any help would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Gary&lt;/p&gt;</description></item></channel></rss>