Click here to Skip to main content
15,890,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Loading bulky XML into dataset Pin
Dave Kreskowiak25-Nov-04 5:19
mveDave Kreskowiak25-Nov-04 5:19 
Generalserver.mapPath Pin
pyb24-Nov-04 17:31
pyb24-Nov-04 17:31 
GeneralRe: server.mapPath Pin
Dave Kreskowiak25-Nov-04 5:17
mveDave Kreskowiak25-Nov-04 5:17 
GeneralDatabase Management in VB.net Pin
fibman24-Nov-04 13:50
fibman24-Nov-04 13:50 
GeneralRe: Database Management in VB.net Pin
Chaos Machine25-Nov-04 15:52
Chaos Machine25-Nov-04 15:52 
GeneralRequested Registry Access is Not Allowed Pin
KreativeKai24-Nov-04 9:09
professionalKreativeKai24-Nov-04 9:09 
GeneralRe: Requested Registry Access is Not Allowed Pin
Dave Kreskowiak24-Nov-04 10:37
mveDave Kreskowiak24-Nov-04 10:37 
GeneralRe: Requested Registry Access is Not Allowed Pin
KreativeKai29-Nov-04 8:42
professionalKreativeKai29-Nov-04 8:42 
I'm writing to the "Application" log as a standard user with the following code:

Dim EventLogMessageSys As New System.Diagnostics.EventLog
Dim strMachineName As String
strMachineName = System.Environment.MachineName
EventLogMessageSys.MachineName = strMachineName
EventLogMessageSys.Source = “TestApp”
EventLogMessageSys.Log = "Application"
EventLogMessageSys.WriteEntry("Testing", EventLogEntryType.Information)

The app fails on the WriteEntry and the exception that is thrown is "Requested Registry Access is Not Allowed".

I think it was true with Windows 2000 and prior that you could write to the application log, but with Windows XP Pro SP1 I'm not experiencing the same behavior.

XP seems to be more sophisticated with the security. As I said in my original post, I was hoping there might be a Permission Set tweak that you can perform on any machine that the app will run. If you can set permissions for a specific machine or sign-on to have higher rights, the app might run.

Does anyone have any feedback regarding Permission Sets and Framework Security that might help. Thanks Dave for your feedback. Have you had success with standard users writing to the app config in XP? Confused | :confused:

Lost in the vast sea of .NET
GeneralRe: Requested Registry Access is Not Allowed Pin
KreativeKai9-Dec-04 8:45
professionalKreativeKai9-Dec-04 8:45 
GeneralVBScript for automating USB installation Pin
Bri4hire24-Nov-04 8:03
Bri4hire24-Nov-04 8:03 
GeneralRe: VBScript for automating USB installation Pin
Dave Kreskowiak24-Nov-04 10:33
mveDave Kreskowiak24-Nov-04 10:33 
GeneralRe: VBScript for automating USB installation Pin
Anonymous24-Nov-04 13:22
Anonymous24-Nov-04 13:22 
GeneralRe: VBScript for automating USB installation Pin
Dave Kreskowiak24-Nov-04 15:29
mveDave Kreskowiak24-Nov-04 15:29 
GeneralUpdating dataadapter error Pin
ccotton33324-Nov-04 7:34
ccotton33324-Nov-04 7:34 
GeneralRemoting Problems ... Pin
Paebbels24-Nov-04 6:23
Paebbels24-Nov-04 6:23 
GeneralRe: Remoting Problems ... Pin
Paebbels25-Nov-04 9:08
Paebbels25-Nov-04 9:08 
QuestionExecute string command? Pin
sundayschool24-Nov-04 2:32
sundayschool24-Nov-04 2:32 
AnswerRe: Execute string command? Pin
Pablo.ar24-Nov-04 2:50
Pablo.ar24-Nov-04 2:50 
GeneralRe: Execute string command? Pin
sundayschool24-Nov-04 6:40
sundayschool24-Nov-04 6:40 
GeneralRe: Execute string command? Pin
Dennis C. Dietrich24-Nov-04 7:03
Dennis C. Dietrich24-Nov-04 7:03 
GeneralRe: Execute string command? Pin
Dave Kreskowiak24-Nov-04 10:26
mveDave Kreskowiak24-Nov-04 10:26 
GeneralRe: Execute string command? Pin
Pablo.ar25-Nov-04 2:39
Pablo.ar25-Nov-04 2:39 
GeneralRe: Execute string command? Pin
Dave Kreskowiak25-Nov-04 5:14
mveDave Kreskowiak25-Nov-04 5:14 
GeneralRe: Execute string command? Pin
Dennis C. Dietrich25-Nov-04 5:56
Dennis C. Dietrich25-Nov-04 5:56 
QuestionQuery Parser in VB? Pin
.NetRams24-Nov-04 0:49
.NetRams24-Nov-04 0:49 

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.