CodePlexProject Hosting for Open Source Software
I have a big problem with logging on win 2008 server. My app just doesn´t logg anything on win 2008 event viewer. I googled a bit and found that the solution was in here http://support.microsoft.com/kb/323076 .
Well ...the thing is, i am no system administrator and now o need to be able to read and set permissions on my Log. Does anyone know about an utiliy for doing this?
The log name is SIGAS and them source is SIGASWeb
As also stated in one of our FAQ -
Why are messages not logged?
When deploying your application, you should include an installer class to create your event sources. For development, a quick solution is to use Windows PowerShell. Run an elevated PowerShell process, and use a command somthing like this: "new-eventlog
-source MyApp -logname Application".
As for the installer class refer to this site -
http://msdn.microsoft.com/en-us/library/k1wask0c(v=VS.100).aspx. Hope this helps.
Global Technologies and Solutions
Well...thanks for the response
My app is a web app, and so there are no installation classes.
I already done what the faq said and still nothing.....
I dont know what to ask more ........i am going to see if i find a working example
You're going to need to run some code from an administrator account to set this up. Typically this is done by creating an MSI to install the web app and having your admin install it. You can also do it from the command line using Powershell pretty easily
- but again, you need admin permissions to do it. Do you have the admin permissions, or can you get help from someone who does?
I just solved my problem....re-created the source and log, rebooted the development server and.....voilá
Thanks just the same
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.