>Hi all,
>
>Would anyone have any ideas what might cause this error on a web application?
>
>
>[SecurityException: That assembly does not allow partially trusted callers.]
> AppWeb..ctor() +0
> ASP.global_asax.Application_Start(Object sender, EventArgs e) +19
>
>
>It appears to be connected with the constructor of AppWeb and here is what is in there:
>
>/// <summary>
>/// Constructor
>/// </summary>
>public AppWeb()
>{
> // Set the ApplicationName property
> ApplicationName = "Pacifica Systems Support Portal";
>
> // Set the default Access level for secured items - Need to change this later to ReadOnly
> DefaultSecurityAccessLevel = mmSecurityAccessLevel.Full;
> // Set the default Role access
> UseMostPrivilegedRoleAccess = true;
>
> this.InitializeComponent();
>}
>
>
>
>This is a MM application. I wouldn't think setting properties would cause an exception. Any thoughts or ideas?
>Thanks
>Tim
Update: A google search points to some assmeblies needing to have "AllowPartiallyTrustedCallersAttribute" set in order to work in an environment other than FullTrust website setting. I just checked with godaddy and they do not have the shared website server in FullTrust mode and cannot change it. Even some of the DotNet assemblies do not have this attribute set. I am not sure which assembly would be the cause nor do I have an incling of how to track down which one it is. If I knew I could either fix it or see if I can do without it.
Any help appreciated. You can see the stack trace at
www.pacifica-systems.com/supportps: How do you make a link in here actually be a link?
Thanks
Tim
Timothy Bryan