Click here to Skip to main content
15,886,963 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
General.net datagrid column editing Pin
sxsunda25-Nov-04 19:06
susssxsunda25-Nov-04 19:06 
GeneralRequested Registry Access is Not Allowed Pin
KreativeKai24-Nov-04 9:07
professionalKreativeKai24-Nov-04 9:07 
GeneralRe: Requested Registry Access is Not Allowed Pin
The Man from U.N.C.L.E.2-Dec-04 1:46
The Man from U.N.C.L.E.2-Dec-04 1:46 
GeneralRe: Requested Registry Access is Not Allowed Pin
KreativeKai2-Dec-04 2:40
professionalKreativeKai2-Dec-04 2:40 
GeneralRe: Requested Registry Access is Not Allowed Pin
The Man from U.N.C.L.E.2-Dec-04 3:13
The Man from U.N.C.L.E.2-Dec-04 3:13 
GeneralRe: Requested Registry Access is Not Allowed Pin
The Man from U.N.C.L.E.2-Dec-04 22:37
The Man from U.N.C.L.E.2-Dec-04 22:37 
GeneralRe: Requested Registry Access is Not Allowed Pin
The Man from U.N.C.L.E.2-Dec-04 23:47
The Man from U.N.C.L.E.2-Dec-04 23:47 
GeneralRe: Requested Registry Access is Not Allowed Pin
KreativeKai9-Dec-04 8:09
professionalKreativeKai9-Dec-04 8:09 
I received notification on your original response with the code samples via e-mail, but after that message I was not notified and didn't see the additional info you posted... Sorry.

I did however plan to follow-up with what we found:

1) Security is the hitch when a standard client tries to write to the registry. The app searches for the eventsource and when it cannot find it, tries to create one. Due to the rights, it fails and causes our error.

2) We have a class that we wrote for use in our shop, which can be referenced in any program, and if called, can display a message box, write to the eventlog and e-mail, depending what parameters are set. We took a sample of the code you posted and we check if the event source is there. If not, we try to create the event source. If the create fails we notify the client that they need to call us and run a process we call DeployEventSource.

3) We wrote an app (DeployEventSource) which creates the eventsource and is basically setup to be installed by our team with admin or power user rights. We wanted to try to to eliminate as much maintenance as possible and I believe we accomplished this goal. Since our class above writes to a source name that we keep consistent, and our install / create source program creates a source with the same name, we only have to run the install app when someone gets a new machine or system reload. If profiles change with terminations / new hires, we do not have to keep reinstalling or hacking a registry setting. Also we can create several apps that run on this pc which uses our class to write to the eventlog, and as long as the eventsource was created once, it will work for all apps.

You pointed us in the right direction and I really appreciate all your help and continued testing.

Thanks again!!
KreativeKai

Lost in the vast sea of .NET
GeneralOleDbDataReader + Excel Pin
dvd0024-Nov-04 4:49
dvd0024-Nov-04 4:49 
QuestionGlobal CBT in .NET? Pin
Hadi Fakhreddine23-Nov-04 22:57
Hadi Fakhreddine23-Nov-04 22:57 
GeneralChanging URI's dynamically for web service clients Pin
burrifro7923-Nov-04 15:36
burrifro7923-Nov-04 15:36 
GeneralLotus NOtes Pin
rogerruiz23-Nov-04 10:01
rogerruiz23-Nov-04 10:01 
GeneralRe: Lotus NOtes Pin
Kevin McFarlane26-Nov-04 5:07
Kevin McFarlane26-Nov-04 5:07 
GeneralRe: Lotus NOtes Pin
rogerruiz26-Nov-04 7:39
rogerruiz26-Nov-04 7:39 
GeneralRe: Lotus NOtes Pin
Kevin McFarlane26-Nov-04 8:44
Kevin McFarlane26-Nov-04 8:44 
GeneralRe: Lotus NOtes Pin
rogerruiz26-Nov-04 8:47
rogerruiz26-Nov-04 8:47 
GeneralRe: Lotus NOtes Pin
Kevin McFarlane26-Nov-04 10:44
Kevin McFarlane26-Nov-04 10:44 
GeneralMicrosoft 2003 Toolkit Pin
sweep12322-Nov-04 5:59
sweep12322-Nov-04 5:59 
QuestionHow to manage two apps Pin
Jack_pt21-Nov-04 1:50
Jack_pt21-Nov-04 1:50 
AnswerRe: How to manage two apps Pin
DavidNohejl21-Nov-04 4:27
DavidNohejl21-Nov-04 4:27 
GeneralRe: How to manage two apps Pin
Jack_pt21-Nov-04 15:53
Jack_pt21-Nov-04 15:53 
GeneralRe: How to manage two apps Pin
Anonymous21-Nov-04 17:59
Anonymous21-Nov-04 17:59 
GeneralRe: How to manage two apps Pin
DavidNohejl22-Nov-04 1:35
DavidNohejl22-Nov-04 1:35 
AnswerRe: How to manage two apps Pin
Luis Alonso Ramos21-Nov-04 15:56
Luis Alonso Ramos21-Nov-04 15:56 
AnswerRe: How to manage two apps Pin
benjymous21-Nov-04 23:01
benjymous21-Nov-04 23:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.