Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Cant get it to Run DNN 4.5.1 & new moduleCant get it to Run DNN 4.5.1 & new module
Previous
 
Next
New Post
6/22/2007 5:08 AM
 

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???


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Cant get it to Run DNN 4.5.1 & new moduleCant get it to Run DNN 4.5.1 & new module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out