Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I am installing the window service I am getting this error:
The source was not found, but some or all event logs could be searched. Inaccessible logs: Security."

How to resolve this error?
Posted
Updated 3-Aug-10 21:41pm
v3

1 solution

Google says:
Follow the steps below to fix the problem:
1. Start -> Run -> regedit.exe
2. Navigate to My Computer > HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog
3. Right click this key, select Permissions, and grant the ASPNET account read/write permissions as described above. Note that for the "inaccessible" logs (ie. Security, Virtual Server), you'll also need to grant read access, as permissions have been set to not inherity from the parent key.
4. Restart IIS (start -> Run -> iisreset)
5. Go in Control Panel -> Administrative Tools -> Computer Management -> Local Users and Groups
6. Select Administrator Group -> Right Click -> Add to Group Users "Network Service".

Link referred.[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900