I've thus far been able to create a new project using the DNN module template, build it, import it into my DNN site (using a fix) when I run it I expect to see a SQL-related error.
I do not. I get this one:
Error: Data Connection Test is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'YourCompany.Modules.DataConnection.ViewDataConnection'. ---> System.Web.HttpParseException: Could not load type 'YourCompany.Modules.DataConnection.ViewDataConnection'. ---> System.Web.HttpParseException: Could not load type 'YourCompany.Modules.DataConnection.ViewDataConnection'. ---> System.Web.HttpException: Could not load type 'YourCompany.Modules.DataConnection.ViewDataConnection'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath) at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() 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.GetVPathBuildResult(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.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) in C:\CCNet_Builds\DotNetNuke_5_Maintenance\WorkingDirectory\Library\UI\ControlUtilities.vb:line 55 at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() in C:\CCNet_Builds\DotNetNuke_5_Maintenance\WorkingDirectory\Library\UI\Modules\ModuleHost.vb:line 229 --- End of inner exception stack trace ---
Any hints as to why it is not finding the assembly?
I should point out that I am using a different directory structure under DesktopModules - it is under MyCompany\ModuleName unlike the the normal path. I have already corrected the manifest to point to the specific user controls