We have a DNN site we designed for a client a little while back and they came back with some basic changes they wanted to see to the Forum, one of which was to display Avatars in the members list, the version of the Forum we installed was 04.04.03 (not the source module) ..
So what I did was install DNN locally, same version as the one our client is using.. then I installed the Forum 04.04.03 source module and started tweaking it as they requested.
When I finished, I took the modified ascx file and the new compiled assembly dll and uploaded them to the live site, when I did that.. it did not work... instead I received the error you see below.
DotNetNuke.Services.Exceptions.ModuleLoadException: F:\inetpub\site-dev\DesktopModules\Forum\Forum_Container.ascx(3): error BC30451: Name 'ForumConfig' is not declared. ---> System.Web.HttpCompileException: F:\inetpub\site-dev\DesktopModules\Forum\Forum_Container.ascx(3): error BC30451: Name 'ForumConfig' is not declared. at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() 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.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
The moment I put the original "DotNetNuke.Modules.Forum.dll" back in the bin folder, the forum loads normally ..
I've not done any dotnet development in a few years, and I've never done any DNN development before so I don't doubt I'm doing something entirely wrong, all I know is that my modifications work locally ..
Any tips? or any more information needed?