Hello,
I am creating a multi-table module to collect data. One of my tables is called Associate. After adding the control to DNN I get the following error (which I struggle to make sense of). I am wondering if this error is due to my assembly or class path setup being incorrect. If that is the case I am don't really know what steps to take to ensure the setup is correct. Any feedback would be greatly appreciated.
Thank you in advance,
Doug
Error: Associate is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for "Techsbook.DNN.Modules.Associate.Data.DataProvider" threw an exception. ---> System.TypeInitializationException: The type initializer for "Techsbook.DNN.Modules.Associate.Data.DataProvider" threw an exception. ---> System.MemberAccessException: Cannot create an abstract class. at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey) in C:\DotNetNuke\components\Shared\Reflection.vb:line 102 at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) in C:\DotNetNuke\components\Shared\Reflection.vb:line 67 at Techsbook.DNN.Modules.Associate.Data.DataProvider.CreateProvider() in C:\DotNetNuke\DesktopModules\Associate\Components\DataProvider.vb:line 20 at Techsbook.DNN.Modules.Associate.Data.DataProvider..cctor() in C:\DotNetNuke\DesktopModules\Associate\Components\DataProvider.vb:line 15 --- End of inner exception stack trace --- at Techsbook.DNN.Modules.Associate.Data.DataProvider.Instance() at Techsbook.DNN.Modules.Associate.Business.AssociateController.ListAssociate(Int32 moduleID, Int32 portalID) in C:\DotNetNuke\DesktopModules\Associate\Components\Controller\AssociateController.vb:line 21 at Techsbook.DNN.Modules.Associate.Associate.Page_Load(Object sender, EventArgs e) in C:\DotNetNuke\DesktopModules\Associate\Associate.ascx.vb:line 26 --- End of inner exception stack trace --- |