<?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 'COM input format'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=COM+input+format&amp;orTags=0</link><description>Search results matching tag 'COM input format'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>RE: Scripted COM Input</title><link>http://forums.iis.net/p/1145885/1855017.aspx#1855017</link><pubDate>Mon, 22 Jan 2007 20:37:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1855017</guid><dc:creator>LogParser User : StanL</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>[QUOTE User="LogParser User : StanL"]Quote: You don't have an INTO clause specified in your query, so I imagine the output format is trying to get a handle to STDOUT and failing.  Try changing your query to "SELECT * INTO foo.xml FROM ." and th...[/QUOTE] &lt;br /&gt;My bad, I tried SELECT&amp;nbsp;* FROM . INTO and got an error. Just had my SQL parms out of place. Thank You.&amp;nbsp; Stan&amp;nbsp;</description></item><item><title>RE: Scripted COM Input</title><link>http://forums.iis.net/p/1145885/1855016.aspx#1855016</link><pubDate>Mon, 22 Jan 2007 18:33:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1855016</guid><dc:creator>LogParser User : DEinspanjer</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>You don't have an INTO clause specified in your query, so I imagine the output format is trying to get a handle to STDOUT and failing.&lt;br&gt;&lt;br&gt;Try changing your query to "SELECT * INTO foo.xml FROM ." and then see if your ExecuteBatch works.&lt;br&gt;</description></item><item><title>RE: Scripted COM Input</title><link>http://forums.iis.net/p/1145885/1855029.aspx#1855029</link><pubDate>Mon, 22 Jan 2007 15:04:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1855029</guid><dc:creator>LogParser User : StanL</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>&lt;P&gt;Oh, BTW if I simply script&lt;/P&gt;&lt;P&gt;oRS = oLog.Execute cSQL, oInput&lt;/P&gt;&lt;P&gt;I can&amp;nbsp;query the recordset object using &amp;nbsp;GetColumnCount(), GetColumnName() and toNativeString( "," ) to concatenate a .csv file... but the question remains, why doesn't it accept an output format? Stan&lt;/P&gt;</description></item><item><title>Scripted COM Input</title><link>http://forums.iis.net/p/1145885/1851097.aspx#1851097</link><pubDate>Mon, 22 Jan 2007 13:52:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1851097</guid><dc:creator>LogParser User : StanL</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>&lt;P&gt;I registered the QBF.wsc and executed the command line logparser "SELECT * FROM ." -i:COM -iprogid:MSUtil.LogQuery.Sample.QFE&amp;nbsp; and it worked. I wanted to 'script' the .wsc and so set up&lt;/P&gt;&lt;P&gt;cSQL = 'SELECT * FROM .'&lt;/P&gt;&lt;P&gt;oLog = CreateObject("MSUtil.LogQuery")&lt;/P&gt;&lt;P&gt;oInput = CreateObject("MSUtil.LogQuery.Sample.QFE")&lt;/P&gt;&lt;P&gt;oOut = CreateObject("MSUtil.LogQuery.XMLOutputFormat")&lt;/P&gt;&lt;P&gt;oLog.ExecuteBatch cSQL, oInput, oOut&lt;/P&gt;&lt;P&gt;but get this error which I do not inderstand.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;</description></item><item><title>Registering logparser.dll in COM+</title><link>http://forums.iis.net/p/1145705/1850917.aspx#1850917</link><pubDate>Fri, 13 Oct 2006 16:38:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1850917</guid><dc:creator>LogParser User : BigBadger</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've had runtime problems when I refer LogParser's COM Objects after registering the DLL in COM+.&amp;nbsp; After removing it from COM+ and registering it using regsvr32 the code executes fine.&lt;/P&gt;&lt;P&gt;Does anyone&amp;nbsp;else use COM+ or do you know if LogParser works with it?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Richard&amp;nbsp;&lt;/P&gt;</description></item><item><title>RE: LP_Toolkit.WMIQuery question</title><link>http://forums.iis.net/p/1145701/1854671.aspx#1854671</link><pubDate>Tue, 10 Oct 2006 17:59:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1854671</guid><dc:creator>LogParser User : DEinspanjer</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>So that Column Name is not an integer error is coming from the Chart3D. It seems to want the first column to be a number.&lt;br&gt;Did you try a different chart out?</description></item><item><title>RE: LP_Toolkit.WMIQuery question</title><link>http://forums.iis.net/p/1145701/1854637.aspx#1854637</link><pubDate>Tue, 10 Oct 2006 15:05:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1854637</guid><dc:creator>LogParser User : GregVM</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;Thanks for the reply. I tried that this morning:&lt;/P&gt;&lt;ADDRESS&gt;logparser "SELECT Name, Capacity, MUL(PROPSUM(FreeSpace), 100) AS Percent &lt;/ADDRESS&gt;&lt;ADDRESS&gt;INTO VolSpace.gif FROM Win32_Volume &lt;/ADDRESS&gt;&lt;ADDRESS&gt;WHERE Name LIKE '%PSSTATIC%' &lt;/ADDRESS&gt;&lt;ADDRESS&gt;GROUP BY Name,Capacity &lt;/ADDRESS&gt;&lt;ADDRESS&gt;ORDER BY Percent DESC" &lt;/ADDRESS&gt;&lt;ADDRESS&gt;-i:COM -iProgID:LP_ToolKit.WMIQuery -iCOMParams:ComputerName=PHPSVFS01 -charttype:Column3D &lt;/ADDRESS&gt;&lt;ADDRESS&gt;-View -ChartTitle:"Volume Space" -categories:off&lt;/ADDRESS&gt;&lt;P&gt;And received this result:&lt;/P&gt;&lt;ADDRESS&gt;&lt;BR&gt;Task aborted.&lt;BR&gt;Column Name is not an INTEGER nor a REAL&lt;/ADDRESS&gt;&lt;ADDRESS&gt;Statistics:&lt;BR&gt;-----------&lt;BR&gt;Elements processed: 0&lt;BR&gt;Elements output:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;BR&gt;Execution time:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13.70 seconds&lt;/ADDRESS&gt;&lt;P&gt;I tried running it again with a -h flag but received an error that field names can be retrieved only from input files SOOO I instead had it write to CSV just to make sure I was connecting to the server:&lt;/P&gt;&lt;ADDRESS&gt;logparser "SELECT Name, Capacity, FreeSpace &lt;/ADDRESS&gt;&lt;ADDRESS&gt;INTO&amp;nbsp;c:\temp\VolSpace.csv &lt;/ADDRESS&gt;&lt;ADDRESS&gt;FROM Win32_Volume &lt;/ADDRESS&gt;&lt;ADDRESS&gt;WHERE Name LIKE '%PSSTATIC%'" &lt;/ADDRESS&gt;&lt;ADDRESS&gt;-i:COM -iProgID:LP_ToolKit.WMIQuery -iCOMParams:ComputerName=PHPSVFS01&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&amp;nbsp;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;Statistics:&lt;BR&gt;-----------&lt;BR&gt;Elements processed: 58&lt;BR&gt;Elements output:&amp;nbsp;&amp;nbsp;&amp;nbsp; 38&lt;BR&gt;Execution time:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14.59 seconds&lt;/ADDRESS&gt;&lt;P&gt;It worked beautifully and gave me the expected results so at least now I know that the parameter is working properly. Now I'll work on getting the original requested output COLUMN3D to work properly. &lt;img src='images/emotions/biggrin.gif' height='20' width='20' border='0' title='Big Grin' align='absmiddle'&gt;&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;&lt;P&gt;-G&lt;/P&gt;</description></item><item><title>RE: LP_Toolkit.WMIQuery question</title><link>http://forums.iis.net/p/1145701/1854822.aspx#1854822</link><pubDate>Mon, 09 Oct 2006 21:03:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1854822</guid><dc:creator>LogParser User : DEinspanjer</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>I'm not really familiar with the toolkit WMIQuery, but given the information you've provided, it seems like this would work:&lt;br&gt;&lt;br&gt;-i:COM -iProgID:LP_ToolKit.WMIQuery -iCOMParams:"ComputerName=myremoteserver" ...</description></item><item><title>LP_Toolkit.WMIQuery question</title><link>http://forums.iis.net/p/1145701/1850913.aspx#1850913</link><pubDate>Mon, 09 Oct 2006 20:49:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1850913</guid><dc:creator>LogParser User : GregVM</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>&lt;P&gt;Good day all,&lt;/P&gt;&lt;P&gt;I use a&amp;nbsp;WMI script to retrieve Win32_Volume properties from a remote MS Cluster server, write the results to CSV and email to&amp;nbsp;dept managers. I prefer the output options with Logparser&amp;nbsp;and want to convert&amp;nbsp;the script to the LP_Toolkit COM input but&amp;nbsp;ran into a problem - how do&amp;nbsp;I point this at a remote server??&amp;nbsp;&lt;/P&gt;&lt;ADDRESS&gt;&lt;EM&gt;&lt;FONT size=1&gt;logparser "SELECT Name,Capacity,MUL(PROPSUM(FreeSpace), 100) AS Percent &lt;/FONT&gt;&lt;/EM&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;EM&gt;&lt;FONT size=1&gt;INTO VolSpace.gif &lt;/FONT&gt;&lt;/EM&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;EM&gt;&lt;FONT size=1&gt;FROM Win32_Volume &lt;/FONT&gt;&lt;/EM&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;EM&gt;&lt;FONT size=1&gt;WHERE Name LIKE '%PSSTATIC%' &lt;/FONT&gt;&lt;/EM&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;EM&gt;&lt;FONT size=1&gt;GROUP BY Name" -i:COM -iProgID:LP_ToolKit.WMIQuery &lt;/FONT&gt;&lt;/EM&gt;&lt;EM&gt;&lt;FONT size=1&gt;-charttype:Column3D -View -ChartTitle:"Volume Space" -categories:off&lt;/FONT&gt;&lt;/EM&gt;&lt;/ADDRESS&gt;&lt;P&gt;Seeing that there is a "iCOMParams" parameter available I opened the VBP file with VisStudio2005 looking for a COMPUTER property to call to but didn't see one. I'm no VB programmer by any means but did see this string:&lt;/P&gt;&lt;DL&gt;&lt;DT&gt;&lt;ADDRESS&gt;&lt;FONT size=1&gt;Public Property ComputerName() As String&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;/DT&gt;&lt;DT&gt;&lt;ADDRESS&gt;&lt;FONT size=1&gt;Get&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;/DT&gt;&lt;DT&gt;&lt;ADDRESS&gt;&lt;FONT size=1&gt;ComputerName = mvarComputerName&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;/DT&gt;&lt;DT&gt;&lt;ADDRESS&gt;&lt;FONT size=1&gt;End Get&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;/DT&gt;&lt;DT&gt;&lt;ADDRESS&gt;&lt;FONT size=1&gt;Set(ByVal Value As String)&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;/DT&gt;&lt;DT&gt;&lt;ADDRESS&gt;&lt;FONT size=1&gt;mvarComputerName = Value&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;/DT&gt;&lt;DT&gt;&lt;ADDRESS&gt;&lt;FONT size=1&gt;End Set&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;/DT&gt;&lt;DT&gt;&lt;ADDRESS&gt;&lt;FONT size=1&gt;End Property&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;/DT&gt;&lt;/DL&gt;&lt;P&gt;Then further down:&lt;/P&gt;&lt;FONT size=2&gt;&lt;ADDRESS&gt;&lt;FONT size=1&gt;m_sFromEntity = FromEntity&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;FONT size=1&gt;sComputer = mvarComputerName&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;oWMIService = GetObject(&lt;FONT color=#800000&gt;"winmgmts:\\"&lt;/FONT&gt; &amp;amp; sComputer &amp;amp; &lt;FONT color=#800000&gt;"\root\cimv2"&lt;/FONT&gt;)&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;FONT size=1&gt;oClass = oWMIService.Get(m_sFromEntity)&lt;/FONT&gt;&lt;/ADDRESS&gt;&lt;FONT size=2&gt;&lt;P&gt;I need to manage the oWMIService string above. Any suggestions? Has anyone else used this class to query remote WMI properties? I thougt about giving this a stab myself and creating another VB function within the project, but when I opened it with VisStudio2005 there were many conversion errors so&amp;nbsp;I think that path is screwed.&lt;/P&gt;&lt;P&gt;TIA!&lt;/P&gt;&lt;P&gt;-Greg&lt;/P&gt;&lt;/FONT&gt;</description></item><item><title>RE: Invalid parameter</title><link>http://forums.iis.net/p/1145710/1854762.aspx#1854762</link><pubDate>Fri, 08 Sep 2006 01:32:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1854762</guid><dc:creator>LogParser User : Vijai Kalyan</dc:creator><cs:applicationKey>input_formats-51</cs:applicationKey><description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thanks for the help. I looked around on the forums and resources pages and found an explanation of how the custom properties structure behaves. I fixed that and things work now!&lt;/P&gt;&lt;P&gt;Thanks a lot for pointing me along.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;-vijai.&lt;/P&gt;</description></item></channel></rss>