I have published a new web site that uses GoDiagram. It is a new version of another site that I published to a different hosting service, and everything is almost an exact duplicate of the original site. The original site works perfectly, and the new site works on my local machine. But, when I try to access a page on the new site that contains a goView object, I get the following error:
System.Security.SecurityException: Request for the permission of type
‘System.Security.Permissions.SecurityPermission, mscorlib, Version=126.96.36.199,
Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.
The message goes on to say where the failure occured, such as:
at Northwoods.GoWeb.GoShape.GetPenInfo(Pen p)
And then it gives this information:
The action that failed was: InheritanceDemand
The type of the first permission
that failed was: System.Security.Permissions.SecurityPermission
The Zone of the
assembly that failed was: MyComputer
That last line tells me that when I compiled my code, or when I did the “Build Runtime Licenses” bit, I did something wrong.
Any ideas what the problem might be?
Thanks for any help you can provide.
Oh Yeah…I am using version 2.6.2 (I updated my license recently but have not upgraded the implementations in my code yet, I am waiting for a less hectic time to do that, so I can test, etc).