Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > [ASP.NET - C#] Far partire un processo sul server
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Bloody
ex universitaria

User info:
Registered: Jan 2003
Posts: 1939 (0.23 al dì)
Location: milano trasferta
Corso: informatica
Anno: dottora :)
Time Online: 49 Days, 2:18:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[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();


Lo stesso codice, sul pc di un collega, funziona: mi viene da pensare che sia un problema di configurazione.
Per ora ho impostato su machine.config, nel tag "processModel" gli utenti userName="SYSTEM" e password="AutoGenerate", e aggiunto il tag <identity impersonate="true" /> al file web.config del mio processo.

Ho provato sia a far partire "notepad" con lo stesso codice, oppure a farlo eseguire da un web service invece che da una web application, ma non succede niente.

Qualcuno ha suggerimenti ? (Anche modi alternativi per far partire l'applicazione sono ben accetti..)

__________________
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.

05-05-2006 08:11
Click Here to See the Profile for Bloody Click Here to See the Blog of Bloody Click here to Send Bloody a Private Message Find more posts by Bloody Add Bloody to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bloody
ex universitaria

User info:
Registered: Jan 2003
Posts: 1939 (0.23 al dì)
Location: milano trasferta
Corso: informatica
Anno: dottora :)
Time Online: 49 Days, 2:18:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

nessuno ha suggerimenti ? :sad:

__________________
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.

08-05-2006 13:52
Click Here to See the Profile for Bloody Click Here to See the Blog of Bloody Click here to Send Bloody a Private Message Find more posts by Bloody Add Bloody to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
yeah
.grande:maestro.

User info:
Registered: Nov 2003
Posts: 1644 (0.20 al dì)
Location: Cologno Monzese
Corso: Informatica Magistrale
Anno: II
Time Online: 12 Days, 21:36:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non sono un esperto di queste tecnologie, dai membri dell'eccezione non riesci a ricavare qualche info utile?

[edit] O avevi già guardato lì?

__________________
?

Last edited by yeah on 08-05-2006 at 20:53

08-05-2006 19:20
Click Here to See the Profile for yeah Click here to Send yeah a Private Message Find more posts by yeah Add yeah to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bloody
ex universitaria

User info:
Registered: Jan 2003
Posts: 1939 (0.23 al dì)
Location: milano trasferta
Corso: informatica
Anno: dottora :)
Time Online: 49 Days, 2:18:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma si può, per una configurazione errata di iisadmin... :wall:
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.

Last edited by Bloody on 19-05-2006 at 23:22

19-05-2006 19:55
Click Here to See the Profile for Bloody Click Here to See the Blog of Bloody Click here to Send Bloody a Private Message Find more posts by Bloody Add Bloody to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 00:50.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.104 seconds (39.62% PHP - 60.38% MySQL) con 24 query.