|
Rank: Newbie Groups: Member
Joined: 1/9/2008 Posts: 5
|
I changed my hosting to Network Solutions, but the AJAXUploader doesn't work. When I try to upload a file, the following message appears:
"EO.Web Controls Client Side Debug Message: Your server is running under partial trust. EO.Web.AJAXUploader does not support partial trust. Please check the trust level set in your web.config file or by your hosting company.
You can turn off this message by setting EO.Web.Runtime.DebugLevel to 0 (Not recommended for debug build)."
Here the response from Network Solutions:
"The script that is generating an error is not coded to be run under medium trust. When coding your ASP.NET scripts be sure they are able to be run under medium trust as this is the highest level of security our server supports."
What can I do in order to use AJAXUploader with NetSol, under medium trust level, or how can I change the web.config to use the component?
Thank you.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, Unfortunately there is absolutely nothing you can do in this case, your hoster is the only one that can resolve this issue (sorry about that!). In fact we are not aware of any AJAX uploader component on the market that can run with medium trust. Because uploading progress is not something supported by ASP.NET, so All AJAX uploader either uses non-public internal ASP.NET interface, which requires full trust, or work with IIS directly, which not only requires full trust, but also requires direct access to the server because you will have to configure your IIS directly. Please see the following post for more details: http://www.essentialobjects.com/forum/postst2740_EOWeb-AJAXUploader-does-not-support-partial-trust.aspxThanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/9/2008 Posts: 5
|
Hi, I solved the problem with a modification to web.config file (ASP.NET), and now I can upload files again.
<configuration> ... <system.web> <securityPolicy> <trustLevel name="Full" policyFile="internal"/> </securityPolicy> <trust level="Full" originUrl=""/> </system.web> ... </configuration>
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Great to hear that it works for you. Yes. You can do that if you have control over your server. However please keep in mind that for almost all hosting companies, they configure your server to medium trust so that you can not use full trust --- otherwise they won't even bother to restrict their trust level. The fact that you are able to change it may indicate that they made a mistake on their end. Once they correct that, you will not be able to have full trust.
Of course, if you have administrative privilege on that server, then you can do anything you want and whatever your hosting company does no longer matters.
Thanks!
|
|