subhashchy
asked on
windows service failed to start : System.UnauthorizedAccess
HI Experts,
I have created a windows service in C# to monitor disk space and send mail an email once reaching a certain threshold.
When i try to start it , it fails with below error.
-------------------------- -
Services
-------------------------- -
Windows could not start the Diskinfoservice service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.
.
In event logs, i see app crash events :
Fault bucket -1068053370, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: diskmonitoringservice.exe
P2: 1.0.0.0
P3: 503f43e5
P4: mscorlib
P5: 2.0.0.0
P6: 4f8cfd42
P7: 3454
P8: 15a
P9: System.UnauthorizedAccess
P10:
Attached files:
C:\Windows\Temp\WERE7EA.tm p.WERInter nalMetadat a.xml
C:\Windows\Temp\WERE7EB.tm p.hdmp
C:\Windows\Temp\WEREEFD.tm p.mdmp
These files may be available here:
C:\ProgramData\Microsoft\W indows\WER \ReportArc hive\AppCr ash_diskmo nitoringse _a9cb971e6 ad8403c2c5 fccdc652d6 382384311d 0_200ff774
Analysis symbol:
Rechecking for solution: 0
Report Id: 0d16b348-f292-11e1-a5e4-00 259c788e43
Report Status: 0
Hashed bucket: dfd02f95729e5da5fdc26799f4 70d734
Any help would be appreciated.
Thank you.
I have created a windows service in C# to monitor disk space and send mail an email once reaching a certain threshold.
When i try to start it , it fails with below error.
--------------------------
Services
--------------------------
Windows could not start the Diskinfoservice service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.
.
In event logs, i see app crash events :
Fault bucket -1068053370, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: diskmonitoringservice.exe
P2: 1.0.0.0
P3: 503f43e5
P4: mscorlib
P5: 2.0.0.0
P6: 4f8cfd42
P7: 3454
P8: 15a
P9: System.UnauthorizedAccess
P10:
Attached files:
C:\Windows\Temp\WERE7EA.tm
C:\Windows\Temp\WERE7EB.tm
C:\Windows\Temp\WEREEFD.tm
These files may be available here:
C:\ProgramData\Microsoft\W
Analysis symbol:
Rechecking for solution: 0
Report Id: 0d16b348-f292-11e1-a5e4-00
Report Status: 0
Hashed bucket: dfd02f95729e5da5fdc26799f4
Any help would be appreciated.
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
fixed it
Raj