Hi there, Not 100% sure if this right section of forum to post but I'm after some help 
Am trying to create a web-based interface for log parser using ASP.
With the following code, the .GIF file is not created for some reason and I get an error of:
Task aborted.
Statistics:
-----------
Elements processed: 0
Elements output: 0
Execution time: 0.36 seconds
If I copy & paste the name query produced to the command prompt it runs fine, however doesn't work running from asp.
Running command from there for creating a .txt file works fine, just have problems doing a .GIF.
Any ideas would be greatly appreciated.
<%
dim name
dim site
dim date
dim day
dim month
dim year
dim csusername
dim groupby
dim orderby
csusername = (request.Form("cs-username"))
day= (request.Form("day"))
month= (request.Form("month"))
year=(request.Form("year"))
site= (request.Form("site"))
groupby = (request.Form("groupby"))
orderby = (request.Form("orderby"))
date=""& year &"-"& month &"-"& day &""
name="C:\logparser.exe -o:CHART ""SELECT date, count(c-ip) INTO c:\NoscoStats\ISStrategyTrend.gif FROM c:\NoscoStats\Temporary.txt WHERE date > '" & date & "' AND cs-uri-stem LIKE '"& site &"' AND cs-username NOT LIKE '" & csusername & "' GROUP BY " & groupby & " ORDER BY " & orderby & """ -groupSize:800x400 -i:iisw3c -chartType:ColumnStacked -chartTitle:""IS Strategy Since Feburary 2005"""
response.write(name>
Response.Write ("<br>")
Set objWShell = CreateObject("WScript.Shell")
Set objCmd = objWShell.Exec(name)
strPResult = objCmd.StdOut.Readall()
set objCmd = nothing: Set objWShell = nothing
response.write ".<br>" & replace(strPResult,vbCrLf,"<br>")
%>