I'm trying to kick off an application within my Programs folder on my web server with this code:
and it's not starting the application but I'm also not getting any errors back from the server. I have made sure that the asp.net user has permissions on the folder, and I can run the application on it's own and it runs fine. Does anyone have a suggestion as to why this process start isnt working?
Thank you,
Doug
Code:
'This subroutine calls the CSV Parser and executes it'
Private Sub StartCSVParse(ByVal CSVParse As String)
Dim process As New Diagnostics.Process
With process
With .StartInfo
.FileName = "ExcelConverter.exe"
.Arguments = ""
.WorkingDirectory = "C:\Program Files\Infrahealth Inc\CSVParser\"
End With
'
.Start()
End With
'This Try is to catch if the application throws any kinds of errors'
Try
Catch Exc As Exception
message2.Text = Exc.Message
End Try
End Sub
Thank you,
Doug
Comment