I have been trying to get this module to compile for a while now
It is based on the feedback module and should be straight forward enough
The code behind statements had to be changed to codefile and a few control declarations were taken out s they seemed to be duplicated using the new model
now it builds but the browser window is as below and I havent even touched the reflection.vb file
Server Error in '/Website' Application.
Value cannot be null.
Parameter name: type
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: type
Source Error:
Line 225: Line 226: ' dynamically create the object Line 227: Return Activator.CreateInstance(CreateType(TypeName, CacheKey, UseCache)) Line 228: Line 229: End Function
|
Source File: C:\Inetpub\DNN451Source\Library\Components\Framework\Reflection.vb Line: 227
Stack Trace:
[ArgumentNullException: Value cannot be null. Parameter name: type] System.Activator.CreateInstance(Type type, Boolean nonPublic) +2796723 System.Activator.CreateInstance(Type type) +6 DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache) in C:\Inetpub\DNN451Source\Library\Components\Framework\Reflection.vb:227 DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) in C:\Inetpub\DNN451Source\Library\Components\Framework\Reflection.vb:189 DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, Boolean UseCache) in C:\Inetpub\DNN451Source\Library\Components\Framework\Reflection.vb:76 DotNetNuke.Services.Cache.CachingProvider.CreateProvider() in C:\Inetpub\DNN451Source\Library\Components\Providers\Caching\CachingProvider.vb:41 DotNetNuke.Services.Cache.CachingProvider..cctor() in C:\Inetpub\DNN451Source\Library\Components\Providers\Caching\CachingProvider.vb:36
[TypeInitializationException: The type initializer for 'DotNetNuke.Services.Cache.CachingProvider' threw an exception.] DotNetNuke.Services.Cache.CachingProvider.Instance() in C:\Inetpub\DNN451Source\Library\Components\Providers\Caching\CachingProvider.vb:45 DotNetNuke.Common.Utilities.DataCache.GetCache(String CacheKey) in C:\Inetpub\DNN451Source\Library\Components\Providers\Caching\DataCache.vb:187 DotNetNuke.Services.Localization.Localization.GetSupportedLocales() in C:\Inetpub\DNN451Source\Library\Components\Localization\Localization.vb:835 DotNetNuke.Services.Localization.Localization.GetResource(String ResourceFileRoot, PortalSettings objPortalSettings, String strLanguage) in C:\Inetpub\DNN451Source\Library\Components\Localization\Localization.vb:239 DotNetNuke.Services.Localization.Localization.GetString(String name, String ResourceFileRoot, PortalSettings objPortalSettings, String strLanguage, Boolean disableShowMissingKeys) in C:\Inetpub\DNN451Source\Library\Components\Localization\Localization.vb:662 DotNetNuke.Services.Localization.Localization.GetString(String name, String ResourceFileRoot) in C:\Inetpub\DNN451Source\Library\Components\Localization\Localization.vb:574 DotNetNuke.Services.Exceptions.ErrorPage.ManageError(String status) +71 DotNetNuke.Services.Exceptions.ErrorPage.Page_Load(Object sender, EventArgs e) +102 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
|
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
So I assume it must be some calls that have been updated in the newer DNN version - this is now 4.5.1
Any ideas what needs to be changed???