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

[Solved] Medium Trust

6 Answers 132 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jaymie
Top achievements
Rank 1
Jaymie asked on 02 Sep 2009, 08:20 AM
Is there a list of controls that don't work in a Medium Trust environment?
My host company are telling me that the reason my site is coming across security errors is because of the RadGrid I have on my page...

6 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 02 Sep 2009, 08:34 AM
Hello Jaymie,

Thank you for contacting us.

Please refer to this help article for details on the matter.

In addition, please note that RadGrid's PDF export doesn't support medium trust because its engine uses Environment.GetEnvironmentVariable() method to get the temporary directory. I'm afraid that I have no to-the-point suggestion for you when running on shared hosting.

Let me know if you need more information.

Greetings,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jaymie
Top achievements
Rank 1
answered on 02 Sep 2009, 08:45 AM
Hi,

thanks for your response. I had already seen that article though :)
I am using 4 different controls in my site:

The RadGrid,
The RadStripMenu,
The RadMultiPage and
The RadEditor.

None of these controls have export enabled or anything that will interfere with file io, etc yet my host tell me that these controls are causing the security permission issues.

Another note, is that my site is deployed in a sub directory not a virtual directory. Does this make a difference?
0
Paul
Telerik team
answered on 02 Sep 2009, 09:52 AM
Hi Jaymie,

Did you recycle the web application after changing the trust level? Exactly which version of the RadControls for ASP.NET AJAX are you using? We had some trust issues reported in version 2009.1.527 and they were fixed for version 2009.2.701. Are you using the default medium trust security settings or have you added some custom policies? If possible, check the web server's application event log and see if there are more details about the exception(s) (stack trace). Finally, you can open a support ticket and send us your web.config file so we can run a test application here and try to reproduce the problem(s).

Greetings,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Dave
Top achievements
Rank 2
answered on 30 Sep 2009, 03:50 PM
So, based on the response it sounds like the answer is, if you cannot get full trust, you cannot fully utilize the Telerik products.  I am using a shared hosting environment, and have to tell my clients they have to FTP files instead of using the upload manger.  Not the end of the world, but not the best solution possible.
Could Telerik make a RadUploader Lite or something that did not require full trust?
Dave
0
Paul
Telerik team
answered on 01 Oct 2009, 06:28 AM
Hello Dave,

Yes, there are some limitations related to trust level and I think we did our best to explain them in the documentation. As for RadUpload, you can check this help article.

Greetings,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Dave
Top achievements
Rank 2
answered on 01 Oct 2009, 10:50 AM
Thanks for the reply.
Using FTP to upload files is not that big a deal. Overall, the RadEditor is still by far the best option out there.

DAVE
Tags
General Discussions
Asked by
Jaymie
Top achievements
Rank 1
Answers by
Paul
Telerik team
Jaymie
Top achievements
Rank 1
Dave
Top achievements
Rank 2
Share this question
or