Hi guys I`m trying to run a remote EXE file via ASP.NET.
When I run this on CMD of the local machine like > D:\CoatingProfileCreator\Creator.exe 4440,"a","b" en its runs well but when I call it on the ASP page like on the code below it says it can not find the file specified
here is my code ..........
Dim Programlocation As String = "\\serv-01\ProfileCreator\Creator.exe Param1," & "Param2" & "," & "Param3"
Dim startInfo As System.Diagnostics.ProcessStartInfo
startInfo =
New System.Diagnostics.ProcessStartInfo(Programlocation)
startInfo.UseShellExecute =
False
startInfo.RedirectStandardInput =
True
startInfo.RedirectStandardOutput =
True
Dim pStart As System.Diagnostics.Process = New Process()
pStart.StartInfo = startInfo
pStart.Start()
pStart.WaitForExit()
pStart.Close()
pStart.Dispose()
en after this I need to call a PDF which is being generated by the exe
YOU MISS 100% CHANCES YOU DONT TAKE