Message 1 of 3

Not applicable
03-08-2011
01:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I get the following error when I try to call a form using ShowModalDialog(MyForm):
Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
I've tried different syntax. I've even rebuilt my project from scrap (because this is a conversion of a VBA module... it had a sloppy start). Nothing helps.
I've never had so many problems trying to program anything in the last 30 years as I have run into with AutoCAD's .Net API.
If I wasn't already bald, I would be tearing my hair out!
Please, help me or shoot me. Either choice would be a relief at this point.
Solved! Go to Solution.