This is a list of common errors that you may see when using Smart-Thinker modules.
Problem 1) Occurs after uninstallation of a Smart-Thinker module.
An error has occurred.
DotNetNuke.Services.Exceptions.ModuleLoadException: ? ---> System.IO.FileNotFoundException: ? File name: "SmartThinker.DNN.Modules.ModuleFramework" at SmartThinker.DNN.Modules.HomePage.SmartThinkerHPBar.LoadSystemControlPanel() at SmartThinker.DNN.Modules.HomePage.SmartThinkerHPBar.Page_Load(Object sender, EventArgs e) in C:\SmartThinker\WebSites\dumbTV Project\DotNetNuke_3.0.12\DesktopModules\SmartThinker.HomePage\SmartThinkerHPBar.ascx.cs:line 136 === Pre-bind state information === LOG: DisplayName = SmartThinker.DNN.Modules.ModuleFramework, Version=1.0.2133.24110, Culture=neutral, PublicKeyToken=null (Fully-specified) LOG: Appbase = file:///C:/SmartThinker/WebSites/dumbTV Project/DotNetNuke_3.0.12 LOG: Initial PrivatePath = bin Calling assembly : SmartThinker.DNN.Modules.HomePage, Version=1.0.1.24348, Culture=neutral, PublicKeyToken=null. === LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Post-policy reference: SmartThinker.DNN.Modules.ModuleFramework, Version=1.0.2133.24110, Culture=neutral, PublicKeyToken=null LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dotnetnuke/a889ac6f/1c52863b/SmartThinker.DNN.Modules.ModuleFramework.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dotnetnuke/a889ac6f/1c52863b/SmartThinker.DNN.Modules.ModuleFramework/SmartThinker.DNN.Modules.ModuleFramework.DLL. LOG: Attempting download of new URL file:///C:/SmartThinker/WebSites/dumbTV Project/DotNetNuke_3.0.12/bin/SmartThinker.DNN.Modules.ModuleFramework.DLL. LOG: Attempting download of new URL file:///C:/SmartThinker/WebSites/dumbTV Project/DotNetNuke_3.0.12/bin/SmartThinker.DNN.Modules.ModuleFramework/SmartThinker.DNN.Modules.ModuleFramework.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dotnetnuke/a889ac6f/1c52863b/SmartThinker.DNN.Modules.ModuleFramework.EXE. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dotnetnuke/a889ac6f/1c52863b/SmartThinker.DNN.Modules.ModuleFramework/SmartThinker.DNN.Modules.ModuleFramework.EXE. LOG: Attempting download of new URL file:///C:/SmartThinker/WebSites/dumbTV Project/DotNetNuke_3.0.12/bin/SmartThinker.DNN.Modules.ModuleFramework.EXE. LOG: Attempting download of new URL file:///C:/SmartThinker/WebSites/dumbTV Project/DotNetNuke_3.0.12/bin/SmartThinker.DNN.Modules.ModuleFramework/SmartThinker.DNN.Modules.ModuleFramework.EXE. --- End of inner exception stack trace ---
Solution:
This happens because all Smart-Thinker modules use a common cod library called the Smart-Thinker Framework. This assembly is included in each module and overwrites the latest version in the DotNetNuke\Bin directory. This can cause problems if you install and older version as the core DNN installer does not check if it is a newer version (this feature has been requested to solve a lot of these issues). When you uninstall a module this assembly is deleted by the core DNN installer, which means that the other Smart-Thinker modules stop working.
To fix it, you can reinstall the latest Smart-Thinker module which will ensure the .dll is recopied into the \bin folder. If you have manual access then you can extract the SmartThinker.DNN.Modules.ModuleFramework.DLL file from the .zip package and manually copy it to the \bin directory. Please ensure you use the latest version of this assembly. Let us know if you have any problems or need to know the latest version - hopefully the core will one day be able to handle versioning in assemblies and this wont happen.