This is a migrated thread and some comments may be shown as answers.

AspNetHostingPermission error

2 Answers 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 22 Apr 2009, 08:54 PM
Can anyone help me with this error I'm getting when I try to build a site?

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

It's occurring on multiple lines, but here's one of them...

<telerik:radscriptmanager runat="server" />

And

<telerik:radtoolbar runat="server" Skin="WebBlue">

Basically wherever a Telerik control is referenced.

After doing some research it seems like it might have something to do with the fact that I'm working off of a shared drive on a server.  But my research didn't find ways to fix the issue.  I also tried putting <trust level="Full"/> in my web.config file, but that's not helping either.

Anyone have any suggestions?



2 Answers, 1 is accepted

Sort by
0
Accepted
Veselin Vasilev
Telerik team
answered on 23 Apr 2009, 08:41 AM
Hi Matt,

Please check this forum thread for more information / solution.

All the best,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Matt
Top achievements
Rank 1
answered on 23 Apr 2009, 05:42 PM
It works!  Thanks for the great support!
Tags
General Discussions
Asked by
Matt
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Matt
Top achievements
Rank 1
Share this question
or