Hi.
I'm trying to develop an WAP module with DNN 5.6.3.
I download and configure in ISS the DNN, run and install it.
Everything ok.
The nest step is to create the module in VS, like
http://www.mitchelsellers.com/blogs/a..., change the namespace and build it.
The next step, run sql script and add the module to DNN.
When I put the module in a page, I've got this error:
"DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for 'JoaoRosa.Modules.MedicalSurvey.DataProvider' threw an exception. ---> System.TypeInitializationException: The type initializer for 'JoaoRosa.Modules.MedicalSurvey.DataProvider' threw an exception. ---> System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache) at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) at JoaoRosa.Modules.MedicalSurvey.DataProvider.CreateProvider() in C:\inetpub\wwwroot\DotNetNuke\DesktopModules\MedicalSurvey\Components\DataProvider.cs:line 60 at JoaoRosa.Modules.MedicalSurvey.DataProvider..cctor() in C:\inetpub\wwwroot\DotNetNuke\DesktopModules\MedicalSurvey\Components\DataProvider.cs:line 52 --- End of inner exception stack trace --- at JoaoRosa.Modules.MedicalSurvey.DataProvider.Instance() at JoaoRosa.Modules.MedicalSurvey.MedicalSurveyController.GetMedicalSurveys(Int32 ModuleId) in C:\inetpub\wwwroot\DotNetNuke\DesktopModules\MedicalSurvey\Components\MedicalSurveyController.cs:line 64 at JoaoRosa.Modules.MedicalSurvey.ViewMedicalSurvey.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\DotNetNuke\DesktopModules\MedicalSurvey\ViewMedicalSurvey.ascx.cs:line 66 --- End of inner exception stack trace ---"
I try to google it, and search in forum... :(
What is your advice to it?
Thanks in advance,