473,385 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

What level does a user need to be to write to event log?

I have a .NET Win app that writes to the event log. I'm finding that
certain user's laptops errors when trying. I'm thinking its because they're
not admin on their PC (or maybe at least "power" use).

Anybody know for sure?

Thanks,
Ron
Aug 17 '06 #1
4 1100
It appears that only admins can do it:
http://www.developer.com/net/net/article.php/1370771

You could also try and put the app as a system account or a network account.
Or you could even try to create a new login and use the credentials for it
to write to the event viewer.

"Ronald S. Cook" wrote:
I have a .NET Win app that writes to the event log. I'm finding that
certain user's laptops errors when trying. I'm thinking its because they're
not admin on their PC (or maybe at least "power" use).

Anybody know for sure?

Thanks,
Ron
Aug 17 '06 #2
Theres a good read here that will show you how to elevate your apps
priveleages

http://www.eggheadcafe.com/articles/20020418.asp
--
--
Regards

John Timney (MVP)
"Ronald S. Cook" <rc***@westinis.comwrote in message
news:uY**************@TK2MSFTNGP03.phx.gbl...
>I have a .NET Win app that writes to the event log. I'm finding that
certain user's laptops errors when trying. I'm thinking its because
they're not admin on their PC (or maybe at least "power" use).

Anybody know for sure?

Thanks,
Ron

Aug 17 '06 #3
Hi,

What errors are you getting?

If you read/post the text of the exception you may know what failed.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Ronald S. Cook" <rc***@westinis.comwrote in message
news:uY**************@TK2MSFTNGP03.phx.gbl...
>I have a .NET Win app that writes to the event log. I'm finding that
certain user's laptops errors when trying. I'm thinking its because
they're not admin on their PC (or maybe at least "power" use).

Anybody know for sure?

Thanks,
Ron

Aug 17 '06 #4
All local accounts have write privileges to the Application log, what log
are you writing to and what kind of exception do you get?

Willy.

"Ronald S. Cook" <rc***@westinis.comwrote in message
news:uY**************@TK2MSFTNGP03.phx.gbl...
|I have a .NET Win app that writes to the event log. I'm finding that
| certain user's laptops errors when trying. I'm thinking its because
they're
| not admin on their PC (or maybe at least "power" use).
|
| Anybody know for sure?
|
| Thanks,
| Ron
|
|
Aug 23 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
1
by: José Joye | last post by:
I know, this kind of question has already been asked. However, I could not find an answer related to the minimal privilege required to be able to create a new event Source in the appplication event...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
8
by: Midnight Java Junkie | last post by:
Dear Colleagues: I feel that the dumbest questions are those that are never asked. I have been given the opportunity to get into .NET. Our organization has a subscription with Microsoft that...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Languageâ€, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
9
by: Gummy | last post by:
Hello, I created a user control that has a ListBox and a RadioButtonList (and other stuff). The idea is that I put the user control on the ASPX page multiple times and each user control will...
11
by: antonyliu2002 | last post by:
I know that this has been asked and answered thousands of times. As a matter of fact, I know that I need to say If Not Page.IsPostBack Then 'Do something End If for things that needs to be...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.