I recently got my C# module to work(fantastic!!). All was fine and allthough i have seen the MinMax persistance problem before from where i recreated the entire module i was content. Next, I added a record. All still working fine. The next morning when I did a F5 i got
MinMax persistance type of cookie requires a ModuleId
I looked at all the forumns and have done what was suggested but still no luck. here is the main suggestions. It seems like there is no silver bullet for this problem, but any new suggestion would be great
1. Check your module namespaces and make sure that are all in sync (http://forums.asp.net/thread/1142102.aspx)
2. Alter the EditUrl on the Viewxxx.ascx page (http://dnnjungle.vmasanas.net/Forums/tabid/122/forumid/6/threadid/12/scope/posts/Default.aspx)
3. I have even started from scatch as suggested by (http://forums.asp.net/1150834/ShowPost.aspx) using only the templates
4. Lastly i deleted to EditUrl method on the ViewXXX.ascx - but still the problem exist
Here is a log of my error
AssemblyVersion: 04.00.03 Method: DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax FileName: C:\DotNetNuke\Library\Components\Shared\ClientAPI.vb FileLineNumber: 155 FileColumnNumber: 50 PortalID: 0 PortalName: My Website UserID: 1 UserName: host ActiveTabID: 36 ActiveTabName: Home AbsoluteURL: /DotNetNuke_2/Default.aspx AbsoluteURLReferrer: http://localhost/DotNetNuke_2/Home/tabid/36/ctl/Login/Default.aspx ExceptionGUID: 33fad3db-77ab-40bd-8edd-f24ddb44a872 DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider InnerException: MinMax persistance type of cookie requires a ModuleId Message: DotNetNuke.Services.Exceptions.PageLoadException: MinMax persistance type of cookie requires a ModuleId ---> System.Exception: MinMax persistance type of cookie requires a ModuleId at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames) in C:\DotNetNuke\Library\Components\Shared\ClientAPI.vb:line 155 at DotNetNuke.UI.Containers.Visibility.Page_PreRender(Object sender, EventArgs e) in C:\DotNetNuke\Website\Admin\Containers\Visibility.ascx.vb:line 238 at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- StackTrace: Source: Server Name: AROUX-LAPTOP4
| | |
|
|
5/22/2006 3:53:27 PM Module Load Exception host ModuleId: -1; ModuleDefId: -1; FriendlyName: ... |
ModuleId: -1 ModuleDefId: -1 FriendlyName: ModuleControlSource: AssemblyVersion: 04.00.03 Method: System.Web.Compilation.BuildManager.CompileWebFile FileName: FileLineNumber: 0 FileColumnNumber: 0 PortalID: 0 PortalName: My Website UserID: 1 UserName: host ActiveTabID: 36 ActiveTabName: Home AbsoluteURL: /DotNetNuke_2/Default.aspx AbsoluteURLReferrer: http://localhost/DotNetNuke_2/Home/tabid/36/ctl/Login/Default.aspx ExceptionGUID: 627907d7-eabb-4b34-ba7f-6a507e239886 DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider InnerException: c:\DotNetNuke\Website\DesktopModules\ImageLinkBanners\ViewImageLinkBanners.ascx.cs(109): error CS0103: The name 'colImageLinkBannerss' does not exist in the current context Message: DotNetNuke.Services.Exceptions.ModuleLoadException: c:\DotNetNuke\Website\DesktopModules\ImageLinkBanners\ViewImageLinkBanners.ascx.cs(109): error CS0103: The name 'colImageLinkBannerss' does not exist in the current context ---> System.Web.HttpCompileException: c:\DotNetNuke\Website\DesktopModules\ImageLinkBanners\ViewImageLinkBanners.ascx.cs(109): error CS0103: The name 'colImageLinkBannerss' does not exist in the current context at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) in C:\DotNetNuke\Library\Components\Skins\Skin.vb:line 466 --- End of inner exception stack trace --- StackTrace: Source: Server Name: AROUX-LAPTOP4 | | |