Enterprise Library 2.0 Permissions error.

Hey guys,

I have a site that uses the Enterprise Library 2.0 which is having trouble compiling on Jodohost. I put in a ticket QWY-32264-964

but wanted to leave a message here as well because it has been discussed by 'Daze' a couple months ago.

Basically, Ent Lib needs a certain permission level to perform and it apparently isn't getting it.

Thanks for looking into it,

Brent
 
bump...

As with some others, Live Chat said my ticket would be looked at and still no response. I just want to be sure my ticket get's some attention today.

Thanks,

Brent
 
In case anybody in the future is looking into this issue. ASP.NET 2. 0 runs in medium trust by default. Enterprise Library 2.0 needs high trust to load it's dependent assemblies.

Jodohost has it setup so you cannot override the trust level in your web.config which means that you cannot use Enterprise Library 2.0 in your applications you host here.

For those that don't know, Enterprise Library is a set of assemblies that encapsulate Microsofts best practices for Data Access, Exception Handling, etc. Microsoft suggests that you use them in your applications. So, I'm going to keep campaigning to get Jodohost to allow for the trust override so I can keep my customers and so that anybody hosted or reselling here in the future can utilize the full set of tools provided for the .NET Framework 2.0.

I hope after Jodo catches up with it's service requests they'll take another look at this issue and see that's important to obtaining and retaining enterprise level clients.

Thanks,

Brent
 
If that's the case, you should have a disclaimer that you can't host Ent Lib 2.0 applications at least until somebody figures out how to do it without overriding the trust levels.

1.1 operated at high-trust and they just changed the deftault to operate at medium trust. So if high trust is a problem then maybe have a disclaimer that all 1.1 hosted sites are a security threat if that's the case.

As for me, I'm moving my biggest client to another company that has allowed me to host the Ent Lib.
 
Brent,

I am sorry but ASP.NET 2.0 is too powerful to allow all features to be enabled, the developers of Enterprise Library do not design with shared hosting in mind, but dedciated servers designed specifically for applications being written.
 
Stephan,

Thanks for responding and I understand the issue here. I was just caught a little off guard after spending 3 months upgrading an application from 1.1 to 2.0 for it not to work when I load it for client testing. The applications I write usually get spun off onto dedicated servers eventually and this is the first time I've run into this situation with Jodohost. The service here has always been excellent.

Please have a sales person get in touch with me with the most affordable dedicated, managed solution that would allow me to host with Ent Lib 2.0, Win 2003 , and Sql Server. I'll try to sell the client.

Thanks,

Brent
 
Hello Brent,

Thanks, I will talk to sales and see what we can do for you :)

I understand that the "lockdown" done on ASP.NET 2 and cause some issues, but overall the benefits far outweigh the loss of functionality(for a SHARED enviroment)
 
Just because it is by MS does not mean it won't do some "deadly" things in a shared enviroment, I will research the options for adding to the GAC, but I can't promise anything there.

Wow, trying to search the EL 2.0 forums just sent me into a ms passport loop saying their site is not part of password network, and I can not even go to gotdotnet.com at all now :(
 
Stephen,

Thanks! I'm not sure if you've used the EL 2.0 or not, but it is pretty kick-butt ...

I work for a company that makes websites, so I have full trust ... where I've been using EL for a while now ... this site with JODO is one for the community I live in ... so I just went at it with my usual methods, and was surprised when I got the axe!

I hope you guys can put EL dll's in the GAC.

Thanks,
-Blieb
 
This is an old thread but I remembered it when I received this from the EntLib announcements list a few days ago.

Cheers
Ross

http://www.gotdotnet.com/codegallery/customization/uploadedhtmlpage.aspx?FileID=f744c82e-1c16-4ca3-9e70-bbedfecb4d36&id=295a464a-6072-4e25-94e2-91be63527327&flg=1

Patch 2554 for EntLib Jan 2006 is now available in the Downloads section. Applications that are built using the Enterprise Library - January 2006 require use of the full trust security level. Applying patch 2554 to the source allows applications to run under partial trust scenarios, for example, in a hosted ASP.NET environment. This patch is only needed for users wishing to use Enterprise Library under partial trust - there is no need to apply this patch if you are only running under full trust.
 
Back
Top