![]() |
Show 150 posts per page |
.dsy:it. (http://www.dsy.it/forum/)
- Tech (http://www.dsy.it/forum/forumdisplay.php?forumid=189)
-- [ASP.NET - C#] Far partire un processo sul server (http://www.dsy.it/forum/showthread.php?threadid=25478)
[ASP.NET - C#] Far partire un processo sul server
Ho un problema mentre scrivo una web application con il framework .NET , con il linguaggio c#.
Sto ricevendo un'eccezione di nome System.InvalidOperationException mentre cerco di cominciare un processo sul mio server, tramite un oggetto di classe Process.
L'eccezione viene lanciata e subito "presa", la vedo dal debugger perchè il processo non parte.
Il codice che uso di prova è
code:
Process p = new Process(); p.StartInfo.FileName = "pdfcreator.exe"; string indirizzo = up+filename; p.StartInfo.Arguments = "-PF""+up+filename+"""; p.StartInfo.UseShellExecute=true; p.EnableRaisingEvents = true; p.Start();
__________________
I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.
nessuno ha suggerimenti ? ![]()
__________________
I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.
Non sono un esperto di queste tecnologie, dai membri dell'eccezione non riesci a ricavare qualche info utile?
[edit] O avevi già guardato lì?
__________________
?
ma si può, per una configurazione errata di iisadmin... 
http://support.microsoft.com/defaul...kb;en-us;555134
vabè l'importante è che abbia risolto 
__________________
I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.
| All times are GMT. The time now is 13:02. | Show all 4 posts from this thread on one page |
Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.