Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2007-02-06 : 23:16:59
|
Do u know pls why this code doesn't execute my batchFile.exe? what am I missing?Thank you System.Diagnostics.Process p=new System.Diagnostics.Process(); p.StartInfo.WindowStyle=ProcessWindowStyle.Maximized; p.StartInfo.FileName=@"c:\dev\myFolder\myBatchFile.exe"; p.StartInfo.UseShellExecute = false; p.Start(); p.WaitForExit();Thank you |
|
jezemine
Master Smack Fu Yak Hacker
2886 Posts |
Posted - 2007-02-07 : 02:39:20
|
is p.Start() throwing an exception? if so, what's the message? www.elsasoft.org |
|
|
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2007-02-07 : 09:54:23
|
weird, I can't even execute:System.Diagnostics.Process.Start("Notepad.exe");And i can t debug, it says i have no permission to debug |
|
|
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2007-02-07 : 11:46:30
|
just to let you know the machine I have is a domain controler: ABCD.net and i have the iis application is on the local machine called ABC. Both machines are the same physically. |
|
|
Vinnie881
Master Smack Fu Yak Hacker
1231 Posts |
Posted - 2007-02-08 : 03:51:13
|
I ran into this before, VB.net does not like to run on a domain controller, you need to make some modifications before you can debug. follow these instuctions.http://support.microsoft.com/default.aspx?scid=kb;en-us;827559&Product=aspnet |
|
|
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2007-02-23 : 14:28:06
|
guess what guys, weird, but adding the localhost in the trusted domains in advanced in explorer options fixes the problem, weird but it works. i found the fix in a blog:) |
|
|
|
|
|