<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Microsoft Application Blocks</title><link>http://forums.asp.net/122.aspx</link><description>Discuss the various Patterns &amp; Practices Application Blocks for ASP.NET 1.x.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: HELP  Permissions error has me stumped</title><link>http://forums.asp.net/thread/1402265.aspx</link><pubDate>Mon, 18 Sep 2006 13:22:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1402265</guid><dc:creator>par.pra.mukh</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1402265.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=122&amp;PostID=1402265</wfw:commentRss><description>&lt;p&gt;Hi I have also faced the same problem with Enterprise Library for .net 1.1.&lt;/p&gt;&lt;p&gt;It is also giving the SecurityException when I deployed my application in the hosting environment.&lt;/p&gt;&lt;p&gt;I have written mails to some great guys around Microsoft but they have given some answer that hardly solve the problem.&lt;/p&gt;&lt;p&gt;It&amp;#39;s about CAS (Code Access Security). Enterprise library app. blocks are given the SecurityPermission and EnvironmentPermission attributes. But in the hosting environment they are not given the required permissions.&lt;/p&gt;&lt;p&gt;That&amp;#39;s the problem.&lt;/p&gt;&lt;p&gt;So either you can remove those attributes from the assemblyinfo.cs files of individual app. blocks or ask your hosting partner to grant those permissions to the required assemblies.&lt;/p&gt;&lt;p&gt;Both the solutions are not logical so I have already written a wrapper assembly which implements the classes of enterprise library in simple ado.net.&lt;/p&gt;&lt;p&gt;If you have any other work-around let me know.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: HELP  Permissions error has me stumped</title><link>http://forums.asp.net/thread/1375540.aspx</link><pubDate>Sat, 19 Aug 2006 23:09:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1375540</guid><dc:creator>vcsjones</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1375540.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=122&amp;PostID=1375540</wfw:commentRss><description>Are you on a shared hosting environment, or a hosting environment at all?</description></item><item><title>HELP  Permissions error has me stumped</title><link>http://forums.asp.net/thread/1375487.aspx</link><pubDate>Sat, 19 Aug 2006 18:43:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1375487</guid><dc:creator>JayWallace</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1375487.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=122&amp;PostID=1375487</wfw:commentRss><description>I am getting this error when I try to build my site&lt;br /&gt;&lt;br /&gt;Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Caching.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It seems my permissions for this assembly arent set correctly&amp;nbsp; but I cant seem to figure out how to correct this. Has anyone dealt with this before??&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>