Event Log Permissions
-
Hi, My app needs to write to the event log. It works fine on my machine (Windows XP) - I'm logged in with admin permissions. When I deploy to a Windows Server 2008 machine, it won't raise events because it says it can't find the specified source even though my code is supposed to create the source if it doesn't exist. Any ideas? :)
-
Hi, My app needs to write to the event log. It works fine on my machine (Windows XP) - I'm logged in with admin permissions. When I deploy to a Windows Server 2008 machine, it won't raise events because it says it can't find the specified source even though my code is supposed to create the source if it doesn't exist. Any ideas? :)
-
For writing eventlog, create an applicationpool with rights as LocalSystem and assign this pool to site you have deployed.If still problem lemme know
Cheers!! Brij
Brij wrote:
create an applicationpool with rights as LocalSystem and assign this pool to site you have deployed
Brij, I beleive he is talking about windows application. So there is no concept of Application Pool. ;P
cheers, Abhijit My Recent Article : Beginner's Guide to ASP.NET Application Folder