Hello, I hope someone can help with this one. It really has me scratching my head. I have written a module that runs perfectly on my development machine and also on a production server. Both of those machines are running 04.09.02. When I try to install the Private Assembly version of my module on 04.09.01 I get the following error:
DotNetNuke.Services.Exceptions.ModuleLoadException: e:\hosting\member\comsite02\dnn\DesktopModules\csClassifieds\Classifieds.ascx(9): error BC30456: 'Page' is not a member of 'ASP.desktopmodules_csclassifieds_classifieds_ascx'. ---> System.Web.HttpCompileException: e:\hosting\member\comsite02\dnn\DesktopModules\csClassifieds\Classifieds.ascx(9): error BC30456: 'Page' is not a member of 'ASP.desktopmodules_csclassifieds_classifieds_ascx'. 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) --- End of inner exception stack trace ---
The line it is erroring out on is simply: If not page.isPostback then
Does anyone know of any reason why this may occur? I am wondering if it has something to do with the compiled DLL files referencing something in the DNN build that changes between versions?? But I am just grasping at straws...