Last post Dec 28, 2005 01:27 PM by PScarlett
Dec 22, 2005 11:13 AM|jronquil|LINK
I am using DNN3 3.2.1. I jus created a module a tried to run add it on my site but it generates this error:
" MinMax persistance type of cookie requires a ModuleId"
Does anyone know why this occurs?
Dec 22, 2005 02:20 PM|davidbarrett|LINK
Dec 22, 2005 02:50 PM|thecrispy1|LINK
Dec 24, 2005 09:28 AM|Mariette|LINK
Dec 25, 2005 04:52 AM|thecrispy1|LINK
When you say delete the resx files, do you mean the localization ones in App_LocalResources or do you mean the ones matching the module controls in the module root?
I have a 3.2.0 that I started to see this one so I upgraded to 3.2.2, in dev enviroment. The only thing which made it go away was compiling the dotnetnuke.controls.sln.
Dec 25, 2005 06:21 AM|Mariette|LINK
I was able to reproduce the problem with the modules I already mentioned. When I delete all the resx files in C:\Inetpub\wwwroot\Dotnetnuke\DesktopModules\Bonosoft - Multi Page content\App_LocalResources the error goes away. The same is valid for Inventua
Side-Menu and Inventua Googlesearch. All running on .Net 2.0. These errors do not appear under .Net 1.1.
A clean install of DNN 3.2.2. does not create .resources files in C:\Inetpub\wwwroot\Dotnetnuke\App_GlobalResources that cause an upgrade from 3.1.1. to fail so I was not able to reproduce that problem. If you want me to do install 3.1.1 and then upgrade
to 3.2.2. I can do that too.
Dec 28, 2005 04:49 AM|anthony.glenwright|LINK
I got this exact error when I tested DNN 3.2.0 with ASP.NET 2.0, which I tested as a result of your post in the Inventua forums. This error is actually just a follow-on side effect of the "real" error, which is a "ResX input is not valid. Cannot find valid
"resheader" tags for the ResX reader and writer type names" (have a look in your log viewer to see these).
The error happens because DNN 3.2 ships with a web.config that is appropriate for ASP.NET 1.1. Adding this to web.config fixed the problem.
<compilation debug="false" strict="false">
<remove extension=".resx" />
<remove extension=".resources" />
<add assembly="Microsoft.VisualBasic, Version=22.214.171.124, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.DirectoryServices, Version=126.96.36.199, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Design, Version=188.8.131.52, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Management, Version=184.108.40.206, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<!-- register your app_code subfolders to generate granular assemblies during compilation
<add directoryName="sub-directory name"/>
Dec 28, 2005 05:09 AM|Mariette|LINK
Thanks, that worked but the Filemanager in DNN 3.2.2 on .Net 2.0 does not work. It does not show any folders and gives an error 'Object required' in the left bottom corner of IE. When you click the refresh icon in the file manager this happens:
A critical error has occurred.
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes,
this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback
or callback data for validation.
Dec 28, 2005 07:17 AM|anthony.glenwright|LINK
I got around that one in web.config, too. Find the <pages> node, and add enableEventValidation="false", like this:
<pages validateRequest="false" enableViewStateMac="true" enableEventValidation="false" />
Dec 28, 2005 07:20 AM|anthony.glenwright|LINK
Dec 28, 2005 07:34 AM|Mariette|LINK
Dec 28, 2005 01:27 PM|PScarlett|LINK
I also am having problems here. When adding a module to a new page. It seems all the solutions provided have not corrected the problem. I am working in 4.0.2 form the starter kit using VS 2005 pro.
I unchecked the friendly URL feature and I no longer had the problem...
hope this helps