June 19, 2008 at 4:56 am
Hello Experts, How can I Prevent The Stopping of SQlServiceAgent or other services related to SqlServer from my Application OR how can i audit it ,,,, and that FOR:
🙂 First, i want my application prevent the stopping of the SQL Services.
🙂 Second, if the first way impossible i want my C# application audit the SQL Services which responsible for the working of SQL-Server So when the Service of SQL begin Stopped my application Know about that Save the Data and Close the Application ,may be the user close the stops the service of sql while the application run So of course an exception will throwed and the Application lose important Data.
i think that this problem happened alot of times So i ask our experts what the solution of this Important Issue,,,,,,,,,,,,,,,
YoU CaN't LoSe WhAt YoU NeVeR HaD;)
June 19, 2008 at 6:11 am
Make sure that the users who use the appliction don't have rights to stop services (not SQL permissions, windows level permissions). Make sure no one but the server admins can stop the services.
How are the services been stopped?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 19, 2008 at 6:47 am
So the two ways are impossible
YoU CaN't LoSe WhAt YoU NeVeR HaD;)
June 19, 2008 at 6:49 am
I'll be wait for any solutions
YoU CaN't LoSe WhAt YoU NeVeR HaD;)
June 19, 2008 at 6:52 am
Mscode_Pro (6/19/2008)
So the two ways are impossible
What ways are impossible?
I'll be wait for any solutions
Be patient. We're all volunteers here. We're not paid to answer forum questions.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply