<?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>DotNetNuke</title><link>http://www.dotnetnuke.com/tabid/795/Default.aspx</link><description>Discussions of DotNetNuke for ASP.NET 1.x and above.  &lt;a href="http://www.dotnetnuke.com/" target="_blank"&gt;DNN Home&lt;/a&gt; &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=105&amp;c=25" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1167944.aspx</link><pubDate>Fri, 13 Jan 2006 20:49:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1167944</guid><dc:creator>jparmar</dc:creator><author>jparmar</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1167944.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1167944</wfw:commentRss><description>&lt;p&gt;I upgraded to version 4.02.&amp;nbsp; Had some problems durring install and then could not login to my host account becuase the machinekeys had changed in the web.config file.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I got that sorted all out but still can not upload anything to the site.&amp;nbsp; Could it be folder permissions?&amp;nbsp; I added an IUSR_WebserverName and gave it write permissions but still no luck.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;HELP&lt;/p&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1166962.aspx</link><pubDate>Thu, 12 Jan 2006 23:50:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1166962</guid><dc:creator>anthony.glenwright</dc:creator><author>anthony.glenwright</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1166962.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1166962</wfw:commentRss><description>Have you downloaded/installed DNN 4.0.2?&amp;nbsp; This version fixed the issue for me.</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1166926.aspx</link><pubDate>Thu, 12 Jan 2006 22:56:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1166926</guid><dc:creator>jparmar</dc:creator><author>jparmar</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1166926.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1166926</wfw:commentRss><description>&lt;p class=MsoNormal&gt;I made the changes to the web.config file and the "Invalid postback or callback argument" error has disappeared however I am still not able to upload files of any sort including modules.&amp;nbsp; &lt;/p&gt;
&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span&gt;&lt;o:p&gt;&lt;font face="Times New Roman" size=3&gt;Any idea.&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span&gt;&lt;o:p&gt;&lt;font face="Times New Roman" size=3&gt;&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span&gt;&lt;o:p&gt;&lt;font face="Times New Roman" size=3&gt;I am usind dnn4&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1133590.aspx</link><pubDate>Tue, 06 Dec 2005 11:24:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1133590</guid><dc:creator>WayneHoulden</dc:creator><author>WayneHoulden</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1133590.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1133590</wfw:commentRss><description>&lt;P&gt;It seems to be related to the size of the zip file - I uploaded smaller module zips without a problem.&lt;/P&gt;
&lt;P&gt;Change (or add) the attibute requestLengthDiskThreshold="8192" to httpruntime in the web.config - that seems to fix the problem.&lt;/STRONG&gt;&lt;/P&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1114141.aspx</link><pubDate>Wed, 16 Nov 2005 00:34:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1114141</guid><dc:creator>robaxx</dc:creator><author>robaxx</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1114141.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1114141</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;RMASSEY1 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;Nice the &lt;STRONG&gt;requestLengthDiskThreshold="8192"&lt;/STRONG&gt;&amp;nbsp; fixed my problem also.&amp;nbsp; I did manage to figure out the other problem.&amp;nbsp; It shows up in a few posts as well.&amp;nbsp; I thought I would post the solution here also.&lt;BR&gt;&lt;BR&gt;In the page level options of the web.config file add &lt;STRONG&gt;enableEventValidation="false"&lt;/STRONG&gt;.&amp;nbsp; This was a last minute add to the DOTNET 2.0 release.&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;&lt;FONT face=Verdana size=2&gt;Brilliant! This is the solution. All three things that did not work now work... uploading modules, creating folders and uploading files.&lt;BR&gt;&lt;BR&gt;Well done... pin this to the top of the forum if it is confirmed to be the full fix.&lt;BR&gt;Rob&lt;/FONT&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1114020.aspx</link><pubDate>Tue, 15 Nov 2005 22:35:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1114020</guid><dc:creator>RMASSEY1</dc:creator><author>RMASSEY1</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1114020.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1114020</wfw:commentRss><description>Nice the &lt;STRONG&gt;requestLengthDiskThreshold="8192"&lt;/STRONG&gt;&amp;nbsp; fixed my problem also.&amp;nbsp; I did manage to figure out the other problem.&amp;nbsp; It shows up in a few posts as well.&amp;nbsp; I thought I would post the solution here also.&lt;BR&gt;&lt;BR&gt;In the page level options of the web.config file add &lt;STRONG&gt;enableEventValidation="false"&lt;/STRONG&gt;.&amp;nbsp; This was a last minute add to the DOTNET 2.0 release.&lt;BR&gt;&lt;BR&gt;In the Web.Config file locate this section and add&amp;nbsp; &lt;FONT color=#ff0000&gt;enableEventValidation="false".&lt;/FONT&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- page level options --&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;pages validateRequest="false" enableViewStateMac="true" &lt;FONT color=#ff0000&gt;enableEventValidation="false"&lt;/FONT&gt;&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;namespaces&amp;gt;&lt;BR&gt;&lt;BR&gt;Here is the link to Microsofts class library reference on this property.&lt;BR&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/system.web.ui.page.enableeventvalidation.aspx"&gt;http://msdn2.microsoft.com/en-us/library/system.web.ui.page.enableeventvalidation.aspx&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1113794.aspx</link><pubDate>Tue, 15 Nov 2005 20:12:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1113794</guid><dc:creator>dstgroup</dc:creator><author>dstgroup</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1113794.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1113794</wfw:commentRss><description>I tried a quick work around by saving to Session state instead of the
DataCache. This failed as well, so I quess there must be some
serialization going on there as well. And in hind sight, even if it did
work, some of the providers for session state such as the SqlProvider
definantly will serialize objects if used. &lt;br&gt;
&lt;br&gt;
The only thing I can
think of, is to save the file stream every time cmdAdd_Click is called.
So instead of saving the HttpInputControl to the DataCache, you
serialize the file itself. First, this would work for both 1.1 and 2.0
versions of DNN. And as an added benefit, the entire serialized object
will not be saved, just the file itself, so there may be performance
gains this way.&lt;br&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1113613.aspx</link><pubDate>Tue, 15 Nov 2005 17:55:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1113613</guid><dc:creator>cathal</dc:creator><author>cathal</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1113613.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1113613</wfw:commentRss><description>&lt;P&gt;Thank you for continuing to look for this Geoff, you efforts are much appreciated. Your explanation ties in with what I've found so far (though you've drilled down further). The htmlinputfilecontrol serialization also explains why files dropped in the install subfolders work ok. &lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Cathal&lt;/P&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1113581.aspx</link><pubDate>Tue, 15 Nov 2005 17:34:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1113581</guid><dc:creator>dstgroup</dc:creator><author>dstgroup</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1113581.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1113581</wfw:commentRss><description>I believe I’ve figured out why the “Cannot access a closed file.” bug
is being thrown. It is due to changes in the Framework 2.0 as well as
how DNN handles multi file uploads. ASP.Net 1.1 handled uploaded files
but streaming them all to memory. This caused problems for some sites
that needed to handle high volumes of uploaded data. &lt;br&gt;
&lt;br&gt;
In 2.0, if files are larger than the value specified in the
“requestLengthDiskThreshold” property of the HttpRuntime object, the
file is cached to disk.&amp;nbsp; This can be set in the webconfig file and
the default is 80kb, although the documentation incorrectly states that
it is 256kb. The cached file is created several directories below the
“ASP.NET Temporary Files\” folder, in a directory named “uploads”. It
is created with the FileOptions.DeleteOnClose bit set which causes it
to be deleted when the stream is closed. &lt;br&gt;
&lt;br&gt;
DotNetNuke handles multiple file uploads by “storing the Input
HtmlInputFile control” in the DataCache when the “Add” button is
clicked. When this happens, the HtmlInputFile control is serialized
which causes the underlying stream to close, and therefore the file to
be deleted. When the user clicks upload, the DataCache deserializes the
HtmlInputFile control. When the underlying stream is accessed the error
is thrown because not only is the stream closed, the file it uses has
been deleted.&lt;br&gt;
&lt;br&gt;
I’m not sure what the correct fix for this is, but storing it in the
DataCache is the wrong route for 2.0, even though it was the correct
thing to do in 1.1. I’m going to try a couple of things and I’ll let
everyone know what I find. &lt;br&gt;
&lt;br&gt;
&lt;br&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1113214.aspx</link><pubDate>Tue, 15 Nov 2005 12:30:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1113214</guid><dc:creator>adb040672</dc:creator><author>adb040672</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1113214.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1113214</wfw:commentRss><description>This worked. Thank you. Hopefully this has helped other users as well. Great job Will.&lt;BR&gt;&lt;BR&gt;Thanks&lt;BR&gt;&lt;BR&gt;Andrew &lt;BR&gt;Baltimore, MD&lt;BR&gt;&lt;BR&gt;&lt;img src="/emoticons/emotion-2.gif" alt="Big Smile [:D]" /&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1112577.aspx</link><pubDate>Mon, 14 Nov 2005 21:18:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1112577</guid><dc:creator>tazzman</dc:creator><author>tazzman</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1112577.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1112577</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;nettech 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;
&lt;P&gt;Add this to your web.config to fix the problem.&amp;nbsp; It should be around line 194 in your web.config.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" &lt;STRONG&gt;requestLengthDiskThreshold="8192"&lt;/STRONG&gt; /&amp;gt;&lt;BR&gt;&lt;BR&gt;I'm not sure if this is the best fix, but it does enable you upload and install.&lt;BR&gt;&lt;BR&gt;This is the article I found that talks about this new property.&lt;BR&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/h2e8928c"&gt;http://msdn2.microsoft.com/en-us/library/h2e8928c&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Hope this helps,&lt;BR&gt;Will&lt;/P&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;You rock this works if&amp;nbsp;I use only the&amp;nbsp;install zip files for the modules. If&amp;nbsp;I use the install with source I get errors</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1112328.aspx</link><pubDate>Mon, 14 Nov 2005 17:49:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1112328</guid><dc:creator>dstgroup</dc:creator><author>dstgroup</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1112328.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1112328</wfw:commentRss><description>After shutting down every unecessary service on my computer including
AV scanners etc, the problem persited. So I did some more work with
Reflector and Filemon. It seems that deep down
in the framework, the temporary file created when the uploaded file
exceeds the RequestLengthDiskThreshold has the
FileOptions.DeleteOnClose bit set. I can see the file get created and
read from. Then for some reason the ASP.NET worker process calls close
on the file, and it is deleted. Then it tries to read from the stream
when DNN tries to save the stream, but of course it is no longer there
and the error shows it's ugly head. Now if I can figure out what the
heck is closing the file. Anyone have any ideas? Does DNN have an
httpmodule\httpHandler or something that would modify uploaded streams?&lt;br&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1111662.aspx</link><pubDate>Mon, 14 Nov 2005 00:10:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1111662</guid><dc:creator>dstgroup</dc:creator><author>dstgroup</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1111662.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1111662</wfw:commentRss><description>I did some digging using Reflector, and the default is actually 80K not
256 bytes as stated in the docs. The temp file created on disk by the
framework resides in the Temporary ASP.NET directory. I'm going to look
at anything that may be affecting this from working properly such as AV
scanners etc. I'll let everyone know.&lt;br&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1111538.aspx</link><pubDate>Sun, 13 Nov 2005 20:13:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1111538</guid><dc:creator>cathal</dc:creator><author>cathal</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1111538.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1111538</wfw:commentRss><description>&lt;P&gt;That does work, but I'm not so sure it's the final solution, as all that value does is determine how much is worked with in memory, and how much is transferred to disk. At the minute we're getting the default, which is 256 bytes, so it means that most of the content is streamed to disk. Changing the value as indicated just makes it work as it did in asp.net 1.1 i.e. steam to ram. I think that may be something else at the root of this problem (it could even be a permissions problem - as i'm not sure where the stream goes when it's transferred to disk i.e. if it goes to c:\winnt\temp&amp;nbsp; users maynot have write access to that folder), but Will's solution will work in the interim whilst we try to get to the root of this problem.&lt;BR&gt;&lt;BR&gt;Cathal&lt;/P&gt;</description></item><item><title>Re: DNN 4.0 Module upload issue</title><link>http://forums.asp.net/thread/1111536.aspx</link><pubDate>Sun, 13 Nov 2005 20:11:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1111536</guid><dc:creator>mikeh36</dc:creator><author>mikeh36</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1111536.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=90&amp;PostID=1111536</wfw:commentRss><description>Will, I"ve said it before, I'll say it again. "You Da Man!!!"&lt;img src="/emoticons/emotion-22.gif" alt="Beer [B]" /&gt;</description></item></channel></rss>