[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

11/04/2009 at 03:50PM PST, ID: 24873033 | Points: 500
[x]
Attachment Details

System.ComponentModel.Win32Exception: Access is denied

Asked by Zainm in Application Servers, IT Administration, Scripting Languages

Hi,

I am recieving the following error message when loging off from a custom .net application.

System.ComponentModel.Win32Exception: Access is denied
   at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
   at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId)
   at System.Diagnostics.Process.get_Modules()
   at System.Diagnostics.Process.get_MainModule()
   at System.Diagnostics.Process.get_ProcessName()
   at MDTablet.UserInterface.MDTMain.btnLogoff_Click(Object sender, EventArgs e)

This works fine if the user is an administrator, but if it is a user with only use rights loging off from the application fails. I don't have access to the code, so if its a premission issue any tips would be helpful

Thanks
[+][-]11/17/09 11:41 AM, ID: 25843282

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625