reacting to AllowPartiallyTrustedCallers attribute

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
11/22/2006 8:57:22 AM
Gravatar
Total Posts 22

reacting to AllowPartiallyTrustedCallers attribute

Anyone else running into the "AllowPartiallyTrustedCallers" issue at Brinkster.com?  Any easy answers?  This is what I was told today:

 

"A security update has been applied to your server that may have affected your ASP.NET 2.0 code. The correct this, your DLLs will need to be modified to use the AllowPartiallyTrustedCallersAttribute class and republished. Please view the following link for more details on this attribute."

 

 

http://forums.brinkster.com/forummessage.asp?id=113605&Forum=23
11/22/2006 9:11:41 AM
Gravatar
Total Posts 18439

Re: reacting to AllowPartiallyTrustedCallers attribute

Hi Craig,

Sounds like the "security update" is that they switched to enforcing Medium Trust from the machine.config on the server.
More and more hosting companies are doing that but its kind of uncool of them to do it without warning ahead.

mojoPortal can be configured to run in Medium Trust http://www.mojoportal.com/mediumtrust.aspx
but you may have to sacrifice some functionality. For example if they aren't willing to install NeatUpload in the GAC you won't be able to use NeatUpload. It can be commented out in web.config to disable it. There are other things that need to be configured differently in Web.config too, you should see comments int here about Medium trust configuration.

Also if you are using a db other than MS SQL, you may not be able to get it to work unless they install the ADO.NET driver in the GAC, like for MySQL it would be the MySQL Connector for .NET that would need to be in the GAC.

Hope it helps,

Joe
11/22/2006 11:15:42 AM
Gravatar
Total Posts 22

Re: reacting to AllowPartiallyTrustedCallers attribute

Do you have a hosting service provider to recommend?
11/22/2006 11:25:18 AM
Gravatar
Total Posts 18439

Re: reacting to AllowPartiallyTrustedCallers attribute

The ones on the hosting page are all worthy of recommendation and none of them enforces Medium Trust.

Joe
11/22/2006 11:29:33 AM
Gravatar
Total Posts 22

Re: reacting to AllowPartiallyTrustedCallers attribute

Awesome.  Thanks.

I just noticed the "Hosting" link in the left nav.  I appreciate the references.

You must sign in to post in the forums. This thread is closed to new posts.