Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2006

Tip: Looking for answers? Try searching our database.

C# windows service freezes on System.Diagnostics.Process.Start(info)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel - 31 May 2006 21:46 GMT
C# windows service freezes on System.Diagnostics.Process.Start(info)

When I launch PSCP from a C# windows service and launch pscp 0.53 there are
no issues. but when I use C# windows service to launch pscp 0.58 C# freezes
in System.Diagnostics.Process.Start(info)? pscp 0.58 works fine at command
line, but causes C# to freeze on ystem.Diagnostics.Process.Start(info) also
i noticed that the pscp process does not show in taske manager while
ystem.Diagnostics.Process.Start(info) is hanging. Reguardless of the
implementation of PSCP, how can ystem.Diagnostics.Process.Start(info) ever
freeze while the target exe is not loaded in task manager?
William Sullivan - 02 Jun 2006 14:11 GMT
Probably a user rights issue.  Your service is attempting to run the program
under a different account than you are.  The new version may have issues
running under a more restricted account.  Try to run the service under a user
account and see if it works.  If it does, you at least know where the issue
is (the solution isn't running under a user account, btw).

> C# windows service freezes on System.Diagnostics.Process.Start(info)
>
[quoted text clipped - 6 lines]
> implementation of PSCP, how can ystem.Diagnostics.Process.Start(info) ever
> freeze while the target exe is not loaded in task manager?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.