Hi,
I tried to contact you through Traincert.Net website but haven't got a response. Where could i get the source code for the eCommerce module you have used for Module Development videos.
I am trying to develop my custom module on DNN 3.2.2 following your tutorials but can't seem to make a connection with the database as i get the following exception:
Error: Edit Product is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for "Test.eCommerce.DataProvider" threw an exception. ---> System.TypeInitializationException: The type initializer for "Test.eCommerce.DataProvider" threw an exception. ---> System.ArgumentNullException: Value cannot be null. Parameter name: type 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:\Inetpub\wwwroot\DotNetNuke\components\Shared\Reflection.vb:line 99 at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName) in C:\Inetpub\wwwroot\DotNetNuke\components\Shared\Reflection.vb:line 71 at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) in C:\Inetpub\wwwroot\DotNetNuke\components\Shared\Reflection.vb:line 45 at Test.eCommerce.DataProvider.CreateProvider() at Test.eCommerce.DataProvider..cctor() --- End of inner exception stack trace --- at Test.eCommerce.DataProvider.Instance() at Test.eCommerce.ProductController.AddProduct(ProductInfo Product) at Test.eCommerce.ProductEdit.cmdUpdate_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
I can swear that I have followed the exact steps you did in the video and the name space is correct and both the dll files are copied to the dotnetnuke bin directory.
Any advice for the problem would be greatly appreciated.
Many Thanks.
Arif
P.S. I apologize for using the forum here. As i mentioned i did try to contact you through the Traincert.NET feedback form.