..not trusted: & ..SecurityException occured . . .

..not trusted: & ..SecurityException occured . . .

Anonymous
Not applicable
633 Views
3 Replies
Message 1 of 4

..not trusted: & ..SecurityException occured . . .

Anonymous
Not applicable
I'm new to .NET and in poking around some samples and writing simple things
I started to get
these annoying messages:
1. When I open a project (in VS2008) I get a warning dialog stating "The
project location is
not trusted: . . ." I hit OK and move on.
2. If I try to repeat a .net command in the debugger I get another VS
warning dialog stating
"An exception of type 'System.Security.SecurityException' occured in
AdWindows.dll but
was not handled in user code" It then goes on: "Additional info . . .
Request for the permission
of the type 'System.Security.Permissions.SecurityPermission, mscorlib,
Version . . . failed."
3. Autocad threw me a warning "Application attempted to perform an
operation not allowed
by the security policy. . . ."

Obviously I've got some configuration setting to adjust - but I have no idea
what, where or how
to do it.

Any ideas would be appreciated.

Thanks,

Scott
0 Likes
634 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Is the project and the assembly built from it on the local system?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD 2000 through 2009

http://www.acadxtabs.com

Introducing AcadXTabs 2010:
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm


"Scott McFarren" wrote in message
news:6172367@discussion.autodesk.com...
I'm new to .NET and in poking around some samples and writing simple things
I started to get
these annoying messages:
1. When I open a project (in VS2008) I get a warning dialog stating "The
project location is
not trusted: . . ." I hit OK and move on.
2. If I try to repeat a .net command in the debugger I get another VS
warning dialog stating
"An exception of type 'System.Security.SecurityException' occured in
AdWindows.dll but
was not handled in user code" It then goes on: "Additional info . . .
Request for the permission
of the type 'System.Security.Permissions.SecurityPermission, mscorlib,
Version . . . failed."
3. Autocad threw me a warning "Application attempted to perform an
operation not allowed
by the security policy. . . ."

Obviously I've got some configuration setting to adjust - but I have no idea
what, where or how
to do it.

Any ideas would be appreciated.

Thanks,

Scott
0 Likes
Message 3 of 4

arcticad
Advisor
Advisor
This was asked over here

http://discussion.autodesk.com/forums/thread.jspa?messageID=6113896䩨
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 4 of 4

Anonymous
Not applicable

Thanks Tony - I was trying to play with this stuff
on my machine AND

our server.  Once we get CasPol figured out
maybe we can get away with it,

but for now I'm keeping everything
local.

 


No - the other inquiry wasn't me. But thanks for
the leads guys - we are

making more progress with this
stuff.

 

Scott
0 Likes