Welcome Guest Search | Active Topics | Sign In | Register

AjaxUploader & GoDaddy shared hosting Options
alpStock
Posted: Monday, February 11, 2008 11:37:29 PM
Rank: Newbie
Groups: Member

Joined: 1/25/2008
Posts: 1
We just bought your product, integrated the AjaxUploader into our website (for file uploads), tested locally, and everything worked fine. However, when we uploaded the code to the web host (GoDaddy.com), we get the following error:

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.


The example page is here: http://www.outloudstock.com/upload/. I searched your forums (and GoDaddy's) for any topics on hosting the EO suite of components on GoDaddy's shared hosting enviornment...but didn't find anything.

Is there anything I can do to use EO w/ GoDaddy?
eo_support
Posted: Tuesday, February 12, 2008 6:48:56 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

AJAX Uploader access some features provided by ASP.NET that has explicitly marked by MS requring full trust (It's not just ours, all ASP.NET AJAX Uploaders do). So unless the application is running under full trust, it won't be able to access those features and thus won't function. That's why we have such code to check this and throw out an error when that occurs. This only apply to AJAX Uploader, other controls in our suite does not have this restriction.

The only way that we know about is to get your application to run under full trust. Most web hosting company gives full trust to their client's application because many web applications, especially big applications employs a number of third parties controls, many of them, especially those come from the age of classic ASP and COM, are written in unmanaged code. Those require full trust.

So I would recommend you try to talk with GoDaddy and see if they can relax the permission for you. If not, you might have to consider hosting somewhere else, or only hosting the upload part on a different server. Sorry about that!

Thanks
Ellen
Posted: Thursday, April 23, 2009 6:15:05 PM
Rank: Newbie
Groups: Member

Joined: 4/23/2009
Posts: 4
Hi, I'm looking into using the AJAX uploader and am anticipating the same problem, as my host is medium trust and won't make any exceptions. I'm very interested to see how alpStock resolved the issue, as the link in his post seemed to work fine?

If changing host is the only way, then I guess I'm looking for suggestions of someone who offers full trust with SQL Server 2005 - preferably UK based?

Many thanks
Ellen
Posted: Thursday, April 23, 2009 6:18:15 PM
Rank: Newbie
Groups: Member

Joined: 4/23/2009
Posts: 4
PS I found another link to this page which indicated more info on how to configure around this problem, but the link seems broken? http://www.essentialobjects.com/Go.aspx?id=1001
eo_support
Posted: Thursday, April 23, 2009 6:40:27 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This is the page that the broken link supposes to point to:

http://doc.essentialobjects.com/library/1/installationanddeployment/partial_trust.aspx

However it probably won't help you because if it is set by your hoster, then there should be absolutely no way for you to get around it. Otherwise it would be a security hole.

Thanks!
Ellen
Posted: Friday, April 24, 2009 4:27:39 AM
Rank: Newbie
Groups: Member

Joined: 4/23/2009
Posts: 4
Thanks for your quick reply. Now I'm really confused! The link you provided seems to say that partial trust is supported by EO, with some extra config steps. But as you say, it shouldn't be possible to configure a security level higher than the one set by the host, so I don't understand when this would be useful. So is the answer that the EO upload component does not support partial trust?

I suspect this is the case and so would still be interested in anyones suggestions for a UK based 'full trust' host?

Thanks
eo_support
Posted: Friday, April 24, 2009 8:33:47 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

I believe the vast majorities are running full trust. Godaddy is one of the few that runs partial trust.

As for the security levels, it applies to all other controls but the uploader. The uploader always requires full trust to run. We should have pointed this out in our previous reply and in the documentation. Sorry about that!

Thanks!
Ellen
Posted: Wednesday, April 29, 2009 4:40:30 AM
Rank: Newbie
Groups: Member

Joined: 4/23/2009
Posts: 4
Thanks for this information, which does clarify the situation.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.