tonyma
06-02-2004, 12:43 PM
I am running Flash generator via process from a web service that calls a flash template from a networked machine(RIDDLER). The process is not inheriting the impersonated user from the ASPNET web.config file and throws off an error not allowing me to access files accross servers.
Code as follow:
Dim StartInfo As System.Diagnostics.ProcessStartInfo = New System.Diagnostics.ProcessStartInfo("C:\Program Files\Macromedia\Generator 2\generate.exe")
With StartInfo
.Arguments = "-swf c:\intro7.swf \\riddler\inetpub\intro6.swt"
.CreateNoWindow = true
.UseShellExecute = false
.RedirectStandardError = true
End With
Dim myProcess As System.Diagnostics.Process = New System.Diagnostics.Process()
myProcess.StartInfo = StartInfo
myProcess.Start()
Code as follow:
Dim StartInfo As System.Diagnostics.ProcessStartInfo = New System.Diagnostics.ProcessStartInfo("C:\Program Files\Macromedia\Generator 2\generate.exe")
With StartInfo
.Arguments = "-swf c:\intro7.swf \\riddler\inetpub\intro6.swt"
.CreateNoWindow = true
.UseShellExecute = false
.RedirectStandardError = true
End With
Dim myProcess As System.Diagnostics.Process = New System.Diagnostics.Process()
myProcess.StartInfo = StartInfo
myProcess.Start()