Thursday, August 21, 2008

Fixing: Access to the path 'Global\.net clr networking' is denied

Fixing: Access to the path 'Global\.net clr networking' is denied


Description: The problem occurred in an application that leverages 'WindowsFormsApplictionBase' to create a singleton application. It occurs when logged in as 'Guest'


Resolution: We test for 'Guest' and display a form stating the application must be run with a non Guest account. Guest is severely restricted.


Comments: The application "Shared View" does not display this problem when log in as the Guest account. Since "Shared View" was deployed as a ClickOnce, it likely is using 'WindowsFormsApplictionBase'. It is possible they are using Impersonation to give the code a different execution context.

No comments: