|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET 2.0 - Security Issue with Win2k3 Visual Basic 2005 appapplication we've recently created using Visual Basic 2005. The application works fine on some of our systems, but on others it gives us: "Application attempted to perform an operation not allowed by the security policy" The error occurs whenever we try and read keys from the registry or perform File system read operations. The application has been created as a Full trust application. The user is a member of the local administrator group so it has full rights to the registry and file system. We don't have the .NET 2.0 SDK installed for space reasons so I can't use the config tool to debug this. All machines are running Windows 2003 SP1 (x64). Everything I read on this on the net seems to refer to ASP code but this is a VB app. Anyone have any ideas? Thanks in advance, -Rob Given the pretty sparse info you present - it can be a thousand things.
I am not even sure that it is a CAS exception; could be an OS exception you are seeing. Provide some error log information from the EventLog and potential log-files to assist insight. -- Show quoteHide quotergds. /Claus Konrad "barabel" wrote: > I am trying to figure out some strange behavior we are seeing with an > application we've recently created using Visual Basic 2005. > > The application works fine on some of our systems, but on others it gives us: > > "Application attempted to perform an operation not allowed by the security > policy" > > The error occurs whenever we try and read keys from the registry or perform > File system read operations. > > The application has been created as a Full trust application. The user is a > member of the local administrator group so it has full rights to the registry > and file system. > > We don't have the .NET 2.0 SDK installed for space reasons so I can't use > the config tool to debug this. > > All machines are running Windows 2003 SP1 (x64). > > Everything I read on this on the net seems to refer to ASP code but this is > a VB app. Anyone have any ideas? > > Thanks in advance, > > -Rob
Creating MSI for installing .NET security policies
Help me to understand Code Access Security. I don't get it. Help me to understand ?? Effective FileSystemRights for a WindowsIdentity??? The remote server returned an error: (403) Forbidden in webrequest Which encryption type ???? CAS and Strong Named EntLib 2.0 Assemblies Any Obfuscator can hide the Key & iv? Why am I not trusted? IL code fails with VerificationException |
|||||||||||||||||||||||