<?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>Core Framework</title><link>http://www.dotnetnuke.com/tabid/795/Default.aspx</link><description>Discussions of the DotNetNuke core framework.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1132689.aspx</link><pubDate>Mon, 05 Dec 2005 17:26:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1132689</guid><dc:creator>Conwy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1132689.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1132689</wfw:commentRss><description>&lt;P&gt;I am WebSecureStores customer and I have the same problem. I am looking for new release.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Re: DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1131582.aspx</link><pubDate>Sun, 04 Dec 2005 05:50:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1131582</guid><dc:creator>lsanderlin</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1131582.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1131582</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;All,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I am yet another Crystal Tech customer with the same line of questions.&amp;nbsp; I understand this issue will be resolved (given a circumvention) with the release of 4.0.1.&amp;nbsp; Who can I contact in order to get this release or at least the date it'll be released?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Luke Sanderlin&lt;/FONT&gt;&lt;/P&gt;</description></item><item><title>Re: DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1121421.aspx</link><pubDate>Wed, 23 Nov 2005 02:13:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1121421</guid><dc:creator>CybrEnergy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1121421.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1121421</wfw:commentRss><description>As far as I know there hasn't been a fix yet.&lt;br&gt;
&lt;br&gt;
Here's a thread on CrystalTech's discussion forum.&lt;br&gt;
&lt;br&gt;
http://www.crystaltech.com/forum/topic.asp?TOPIC_ID=12952&lt;br&gt;
&lt;br&gt;</description></item><item><title>Re: DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1121042.aspx</link><pubDate>Tue, 22 Nov 2005 19:55:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1121042</guid><dc:creator>Ed Word</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1121042.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1121042</wfw:commentRss><description>I am yet another with this security problem on CrystalTech attempting to run DNN 4.0. I have been reading through the posts and reviewing the DNN bug list, where this issue is mentioned as being resolved in 4.0.1. It would appear that 4.0.1 is not yet available, so what have others done to resolve/circumvent this problem?</description></item><item><title>Re: DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1118668.aspx</link><pubDate>Sun, 20 Nov 2005 20:21:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1118668</guid><dc:creator>CybrEnergy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1118668.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1118668</wfw:commentRss><description>I am also a CrystalTech customer and am hoping that this problem with
4.0 can be resolved soon.&amp;nbsp; I am in the process of switching hosts
from WebHost4Life to CrystalTech and seem to be having the problem on
CT and not WH4L.&amp;nbsp; I guess WH4L does not run in medium trust.&lt;br&gt;
&lt;br&gt;
I did notice other errors with WH4L with running 2.0 and 1.1 sites under the same account, but that's a different issue.&lt;br&gt;
&lt;br&gt;</description></item><item><title>Re: DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1108080.aspx</link><pubDate>Wed, 09 Nov 2005 21:49:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1108080</guid><dc:creator>CamberGoose</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1108080.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1108080</wfw:commentRss><description>Charles,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; here is the error I get when I fix the other parts
you mention. I have given the application full user permissions, so I
am not sure why it is doing this.&lt;br&gt;
Error:&lt;br&gt;
&lt;span&gt;&lt;h1&gt;Server Error in '/' Application.&lt;hr&gt;&lt;/h1&gt;

            &lt;h2&gt; &lt;i&gt;Security Exception&lt;/i&gt; &lt;/h2&gt;&lt;/span&gt;

            &lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;

            &lt;b&gt; Description: &lt;/b&gt;The
application attempted to perform an operation not allowed by the
security policy. &amp;nbsp;To grant this application the required permission
please contact your system administrator or change the application's
trust level in the configuration file. &lt;br&gt;&lt;br&gt;

            &lt;b&gt; Exception Details: &lt;/b&gt;System.Security.SecurityException:
Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
failed.&lt;br&gt;&lt;br&gt;

            &lt;b&gt;Source Error:&lt;/b&gt; &lt;br&gt;&lt;br&gt;

            &lt;table bgcolor="#ffffcc"&gt;
               &lt;tr&gt;
                  &lt;td&gt;
                      &lt;code&gt;&lt;/code&gt;&lt;pre&gt;Line 77:                 'save the current config files&lt;br&gt;Line 78:                 If Not Directory.Exists(ApplicationMapPath &amp;amp; backupFolder) Then&lt;br&gt;&lt;font color="red"&gt;Line 79:                     Directory.CreateDirectory(ApplicationMapPath &amp;amp; backupFolder)&lt;br&gt;&lt;/font&gt;Line 80:                 End If&lt;br&gt;Line 81: &lt;/pre&gt;

                  &lt;/td&gt;
               &lt;/tr&gt;
            &lt;/table&gt;

            &lt;br&gt;

            &lt;b&gt; Source File: &lt;/b&gt; D:\inetpub\test\Install\Install.aspx.vb&lt;b&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/b&gt; 79
            &lt;br&gt;&lt;br&gt;

            &lt;b&gt;Stack Trace:&lt;/b&gt; &lt;br&gt;&lt;br&gt;

            &lt;table bgcolor="#ffffcc"&gt;
               &lt;tr&gt;
                  &lt;td&gt;
                      &lt;code&gt;&lt;/code&gt;&lt;pre&gt;[SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral,&lt;br&gt;&amp;nbsp;PublicKeyToken=b77a5c561934e089' failed.]&lt;br&gt;   System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark&amp;amp; stackMark, Boolean isPermSet) +0&lt;br&gt;   System.Security.CodeAccessPermission.Demand() +59&lt;br&gt;   System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) +458&lt;br&gt;   System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) +150&lt;br&gt;   System.IO.Directory.CreateDirectory(String path) +6&lt;br&gt;   DotNetNuke.Framework.Install.InstallApplication() in D:\inetpub\test\Install\Install.aspx.vb:79&lt;br&gt;   DotNetNuke.Framework.Install.Page_Load(Object sender, EventArgs e) in D:\inetpub\test\Install\Install.aspx.vb:358&lt;br&gt;   System.Web.UI.Control.OnLoad(EventArgs e) +99&lt;br&gt;   System.Web.UI.Control.LoadRecursive() +47&lt;br&gt;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953&lt;br&gt;   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154&lt;br&gt;   System.Web.UI.Page.ProcessRequest() +86&lt;br&gt;   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18&lt;br&gt;   System.Web.UI.Page.ProcessRequest(HttpContext context) +49&lt;br&gt;   ASP.install_install_aspx.ProcessRequest(HttpContext context) +29&lt;br&gt;   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154&lt;br&gt;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +64&lt;br&gt;&lt;/pre&gt;

                  &lt;/td&gt;
               &lt;/tr&gt;
            &lt;/table&gt;

            &lt;br&gt;

            &lt;hr&gt;

            &lt;b&gt;Version Information:&lt;/b&gt;&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42&lt;/font&gt;&lt;br&gt;
&lt;br&gt;</description></item><item><title>Re: DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1106599.aspx</link><pubDate>Tue, 08 Nov 2005 22:32:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1106599</guid><dc:creator>cnurse</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1106599.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1106599</wfw:commentRss><description>There is still another niggling issue (after doing those two things) IF
you run in debug mode (seems ok if you browse to the site in your
browser)&lt;br&gt;</description></item><item><title>Re: DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1106278.aspx</link><pubDate>Tue, 08 Nov 2005 19:25:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1106278</guid><dc:creator>CamberGoose</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1106278.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1106278</wfw:commentRss><description>Charles,&lt;br&gt;
&amp;nbsp;&amp;nbsp; thanks for looking into this, I will be in a position to
test this in about 3 hours. Once I get home I will test and let you
know what happened.&lt;br&gt;
&lt;br&gt;
thanks&lt;br&gt;
Alec&lt;br&gt;
&lt;br&gt;</description></item><item><title>Re: DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1106267.aspx</link><pubDate>Tue, 08 Nov 2005 19:20:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1106267</guid><dc:creator>cnurse</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1106267.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1106267</wfw:commentRss><description>I think I have tracked down the error.&amp;nbsp; At least part of it !!&lt;br&gt;
&lt;br&gt;
ASP.NET2 extends the CodeAccess level permisions required to
manage/load the various configuration settings of the web.config
file.&amp;nbsp; &lt;br&gt;
&lt;br&gt;
By default in .NET 1.1, an application could load the configuration
nodes (providers section) under Medium Trust.&amp;nbsp; In .NET 2 under
Medium Trust it checks a requirePermission attribute on the
configuration section declaration - the section at the top of
web.config.&amp;nbsp; For example:&lt;br&gt;
&lt;br&gt;
&amp;lt;section name="data" requirePermission="false"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke"&amp;nbsp; /&amp;gt;&lt;br&gt;
&amp;lt;section name="logging" requirePermission="true"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke"/&amp;gt;&lt;br&gt;
&lt;br&gt;
If they are declared as above then acces to the "data" provider section
is allowed but access to the logging section is not (under Medium
Trust).&lt;br&gt;
&lt;br&gt;
By default in .NET 2 the requirePermission is set to true, therefore we
will need to add the requirePermission="false" attribute to the element.&lt;br&gt;
&lt;br&gt;
This is not documented in msdn at all - in fact if you add the node
intellisense tells you it is not a valid attribute for the element.&lt;br&gt;
&lt;br&gt;</description></item><item><title>Re: DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1106208.aspx</link><pubDate>Tue, 08 Nov 2005 18:52:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1106208</guid><dc:creator>CamberGoose</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1106208.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1106208</wfw:commentRss><description>Charles,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for the reply. I will wait for more
information as you guys test it out in Medium trust. If there is
anything I can do to help, please let me know.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
Alec Whittington&lt;br&gt;
&lt;br&gt;</description></item><item><title>Re: DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1106193.aspx</link><pubDate>Tue, 08 Nov 2005 18:43:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1106193</guid><dc:creator>cnurse</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1106193.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1106193</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="txt4"&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt;&amp;nbsp;&lt;strong&gt;CamberGoose wrote:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="quoteTable"&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="txt4"&gt;First off, I just wanted say thank you to the core team for 3.2 and
4.0. Though I run accross problems when new releases come out all the
time, I still love the product in the end.&lt;br&gt;
&lt;br&gt;
With that said, I must ask a very serious security question:&lt;br&gt;
What does DNN 4.0 need full trust to run? Most shared hosts use Medium
trust levels and impersonation to get around the asp.net security
issues in shared hosting environments. By overriding the machine.config
to allow a site to run at full trust, the site has the ability to do
anything an edmin level user can, am I not correct on this?&lt;br&gt;
&lt;br&gt;
I have been working with the CrystalTech developers and support
personel to determine which part needs the Full trust, but so far we
are coming to blanks.&lt;br&gt;
Why does 3.2 need only medium and it runs fine?&lt;br&gt;
&lt;br&gt;
Sorry guys but this seems to be a big problem and I would really love
to get some answers on this from the core team. CrystalTech offers
their customers an automated install of DNN from their control center
web application, but they will not be able to offer any of the ASP.NET
2.0 based versions unless this can be resolved. &lt;br&gt;
&lt;br&gt;
Please help with this, I know a few people that really want to get this
resolved and so far no posts I have made on this have even been
answered.&lt;br&gt;
&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;
&lt;br&gt;
Not sure is the short answer.&amp;nbsp; &lt;br&gt;
&lt;br&gt;
There is no serious code differences, so it must be that .NET2 changes
some of the CodeAccess Security levels, that we are not aware of.&amp;nbsp;
When porting the code, I must admit we did not check that it still
worked in Medium Trust - kind of assumed that the code would run the
same on .NET2 as .NET 1.1 - after all that is the assurance that we
received from MS - full compatability.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;</description></item><item><title>DNN 4.0 Trust level</title><link>http://forums.asp.net/thread/1106153.aspx</link><pubDate>Tue, 08 Nov 2005 18:22:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1106153</guid><dc:creator>CamberGoose</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1106153.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1106153</wfw:commentRss><description>First off, I just wanted say thank you to the core team for 3.2 and
4.0. Though I run accross problems when new releases come out all the
time, I still love the product in the end.&lt;br&gt;
&lt;br&gt;
With that said, I must ask a very serious security question:&lt;br&gt;
What does DNN 4.0 need full trust to run? Most shared hosts use Medium
trust levels and impersonation to get around the asp.net security
issues in shared hosting environments. By overriding the machine.config
to allow a site to run at full trust, the site has the ability to do
anything an edmin level user can, am I not correct on this?&lt;br&gt;
&lt;br&gt;
I have been working with the CrystalTech developers and support
personel to determine which part needs the Full trust, but so far we
are coming to blanks.&lt;br&gt;
Why does 3.2 need only medium and it runs fine?&lt;br&gt;
&lt;br&gt;
Sorry guys but this seems to be a big problem and I would really love
to get some answers on this from the core team. CrystalTech offers
their customers an automated install of DNN from their control center
web application, but they will not be able to offer any of the ASP.NET
2.0 based versions unless this can be resolved. &lt;br&gt;
&lt;br&gt;
Please help with this, I know a few people that really want to get this
resolved and so far no posts I have made on this have even been
answered.&lt;br&gt;
&lt;br&gt;</description></item></channel></rss>