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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...(Value cannot be null. parameter name: type), when in production ... on initial load(Value cannot be null. parameter name: type), when in production ... on initial load
Previous
 
Next
New Post
2/2/2009 2:41 PM
 

Hey DotNetNuke Fans,

I'm fairly new to dotnetnuke. I created an application using dotnetnuke with 6 custom modules. When I uploaded it via ftp to the production server, the error

"Value cannot be null. parameter name: type"

appeared on the initial load. I tried uninstalling all the custom modules, and then re-uploading the application but it did not work. Any help would be appreciated.

Thanks in Advance.

PS: A more detailed stack trace can be located below:

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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: type]
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +2843963
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582
   DotNetNuke.Data.DataProvider.CreateProvider() +47
   DotNetNuke.Data.DataProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
   DotNetNuke.Common.Globals.GetUpgradeStatus() +67
   DotNetNuke.Common.Initialize.CheckVersion(HttpApplication app) +147
   DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +421
   DotNetNuke.Common.Initialize.Init(HttpApplication app) +125
   DotNetNuke.Common.Global.Global_BeginRequest(Object sender, EventArgs e) +50
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

 
New Post
3/12/2009 3:09 PM
 

It appears that checking the Active Directory option causes this error. Check this thread. I also had this problem and that was the cause of it.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...(Value cannot be null. parameter name: type), when in production ... on initial load(Value cannot be null. parameter name: type), when in production ... on initial load


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