Question NoSecurityChanges flag error when adding items in ToolBox

gentlegiant

New member
Joined
Sep 28, 2010
Messages
1
Programming Experience
3-5
Hi,

I try to add .NET items in my ToolBox (choose items...) by browsing. When I click Open, I get this message:

"The security state of an AppDomain was modified by an AppDomainManager configured with the NoSecurityChanges flag."

I work with VB 2010 and Windows 7 - 64 bits

Thanks for help
 
Same Issue

I had the same issue occur to me yesterday and have tried all day to resolve it. The thing is I do not have any of the standard microsoft controls in my toolbox anymore. I still have some devexpress and crystal reports menus but none relating to forms controls. When I try to manually load the dll's I get this that error. I have tried uninstalling the .net framework 4 and reinstalling. Uninstalling visual studio 2010 pro and reinstalling, and I have removed everything I installed yesterday (had installed SAP Crystal Reports for visual studio 2010 and the runtime).

I have tried the fix
VB.NET:
<legacyCasPolicy enabled="true"/> in the app config, devenv.exe.config, and .net framework 4/config/machine.config fix.
I also tried the fix
VB.NET:
<GenerateResourceNeverLockTypeAssemblies>true<GenerateResourceNeverLockTypeAssemblies>
Have you found any resolution to the issue.
 

Latest posts

Back
Top