I have a little stumper that I can not seem to get around.
I currently have a lengthy VB script that parses out files in a file folder looking for certain data and then pumps this parsed data into a database. I can run the script from the events window and pass ("main","directorynamehere") and away the script run looking in the "directorynamehere" folder for the html files and parses them out.
Unfortunately, this is not at all WAF friendly, as you have to manually edit the event for every different folder that she would like parsed, so out came an ASP page. The first ASP page called "Search" asks the usual question of where to look and then when pressing "GO" it passes over to "Launch_VB.asp" which calls RunEX.
As you can see, the RunEx command is shown below.
hs.RunEx "StripDesigns.vb","getmain",Request.Form("HTML_Loc")
According to the event logs, it is attempting to run the VB script, however it returns and "Error 3 - Running script StripDesigns.vb :method not found". I suspect that it is just a configuration issue in passing the parameters, but I am at a loss as to what else to try.
The VB script has been configured as
Function GetMain(ByVal UserDirGroup as string)
and also as
Sub GetMain(ByVal UserDirGroup as string)
with no success either way.
Any thoughts.
I currently have a lengthy VB script that parses out files in a file folder looking for certain data and then pumps this parsed data into a database. I can run the script from the events window and pass ("main","directorynamehere") and away the script run looking in the "directorynamehere" folder for the html files and parses them out.
Unfortunately, this is not at all WAF friendly, as you have to manually edit the event for every different folder that she would like parsed, so out came an ASP page. The first ASP page called "Search" asks the usual question of where to look and then when pressing "GO" it passes over to "Launch_VB.asp" which calls RunEX.
As you can see, the RunEx command is shown below.
hs.RunEx "StripDesigns.vb","getmain",Request.Form("HTML_Loc")
According to the event logs, it is attempting to run the VB script, however it returns and "Error 3 - Running script StripDesigns.vb :method not found". I suspect that it is just a configuration issue in passing the parameters, but I am at a loss as to what else to try.
The VB script has been configured as
Function GetMain(ByVal UserDirGroup as string)
and also as
Sub GetMain(ByVal UserDirGroup as string)
with no success either way.
Any thoughts.
Comment