New Posts New Posts RSS Feed: Inheritance security rules violated
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Inheritance security rules violated

 Post Reply Post Reply
Author
dcsoft View Drop Down
Newbie
Newbie


Joined: 20-Jun-2010
Location: Pleasanton, CA
Posts: 3
Post Options Post Options   Quote dcsoft Quote  Post ReplyReply Direct Link To This Post Topic: Inheritance security rules violated
    Posted: 07-Jan-2011 at 8:12pm
Thanks much for the reply, Josh.  It's exactly what I needed to know.  :-)

-- David
Back to Top
JoshO View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Location: United States
Posts: 86
Post Options Post Options   Quote JoshO Quote  Post ReplyReply Direct Link To This Post Posted: 07-Jan-2011 at 8:01pm

I agree with you 100%, deploying on shared hosting providers is very frustrating. I have only successfully deployed to DiscountASP.net shared hosting. See this post - http://www.ideablade.com/forum/forum_posts.asp?TID=1434&KW=partial+trust&PID=5241&title=deploying-on-my-local-iis#5241

We use dedicated and virtual dedicated servers from godaddy.com and maximumasp.com as well as our own servers.
 
Basically, DevForce currently requires "full trust" and the last time I tried, so do Silverlight apps using .NET RIA Services. I am the "IT guy" so I don't know if we plan on offering a "stripped down" down version of DevForce that will operate under "medium trust" or "partial trust" security especially since there are hosting providers that specialize in .NET deployments and support full trust.
Back to Top
dcsoft View Drop Down
Newbie
Newbie


Joined: 20-Jun-2010
Location: Pleasanton, CA
Posts: 3
Post Options Post Options   Quote dcsoft Quote  Post ReplyReply Direct Link To This Post Posted: 07-Jan-2011 at 8:09am
Hello, I am using DevForce 2010 6.0.7.0.  I am trying to deploy the standard DevForce Silverlight Business Application (JetPack Theme).  My ISP is OrcsWeb Shared Business Hosting plan.  

After a few rounds with tech support, the Silverlight app now successfully appears in a browser.  However, an IdeaBlade popup appears (almost illegible due to color choices) that says point browser to http://<mysite>/EntityService.svc for further debug info.  The browser shows:

---

Server Error in '/' Application.

Inheritance security rules violated while overriding member:
'IdeaBlade.Core.TracePublisher.InitializeLifetimeService()'. Security
accessibility of the overriding method must match the security accessibility
of the method being overriden.

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.TypeLoadException: Inheritance security rules
violated while overriding member:
'IdeaBlade.Core.TracePublisher.InitializeLifetimeService()'. Security
accessibility of the overriding method must match the security accessibility
of the method being overriden.

---

Searching the existing posts, I found this similar (though not identical) one:  http://www.ideablade.com/forum/forum_posts.asp?TID=1814

My first attempt was to add <trust level="Full" legacyCasModel="true" /> but due to the isp being a shared hosting plan, they do not allow full trust.  So is there a way for DevForce to operate on a partial trust basis and resolve this error?

Thanks,
David

PS I have examined a few ISP's (all with shared hosting plans) and must say I am dumbfounded they don't have a FAQ or step by step instructions on how to deploy a standard Silverlight app to their sites.  They say issues don't come up enough to justify the time to put a FAQ together.  Yet, I don't see how anyone can deploy Silverlight apps to these hosts without a lot of tech support.  It is one issue after another for me.  So is there any secret to how you all deploy your public facing Silverlight sites??

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down