Solved

Windows service not allow to shut down pc

Posted on 2007-11-29
4
227 Views
Last Modified: 2010-04-15
I have windows service crated in C#
I am showing form through it, which updates the user about changes done by service.
But my problem is that if my service is running am not able to shut down my pc
My operating system is windows xp
0
Comment
Question by:RETAILREALM
  • 3
4 Comments
 
LVL 9

Accepted Solution

by:
the_b1ackfox earned 500 total points
ID: 20380403
I did this once before.  Is your service doing anything with the close event or closing event?
0
 

Author Comment

by:RETAILREALM
ID: 20380532
No
0
 
LVL 9

Expert Comment

by:the_b1ackfox
ID: 20380542
does the user profile have admin access to shut down window services?
0
 
LVL 9

Expert Comment

by:the_b1ackfox
ID: 20414460
I think we need more information to diagnose whats going on with your program.  
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question