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 ...Help! Value cannot be null message shut down sitesHelp! Value cannot be null message shut down sites
Previous
 
Next
New Post
3/20/2008 1:48 PM
 

Help! It looks like (potentially from the server timing out when someone waited too long to post a forum thread) an error took down all my sites. How can I restart them and recover from this error? I can't access the sites to log in to restart the 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:

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) +2796643
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.Entities.Host.HostSettings.GetHostSettings() +130
DotNetNuke.Common.Globals.get_HostSettings() +5
DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.AddLog(LogInfo objLogInfo) +101
DotNetNuke.Services.Log.EventLog.LogController.AddLog(LogInfo objLogInfo) +162

 

 

 
New Post
3/20/2008 2:36 PM
 

The error above might indicate that it's not able to find the sql data provider dll in your bin folder... Do you have access to the folders and can you confirm if the DotNetNuke.SqlDataProvider.dll exists in your bin folder.
Additionally, could you restart your IIS server (this would be possible if you're hosting the site yourself). - If you're not hosting the site, but have ftp access, you could make a change to web.config and reupload to the site and this should effectively restart the site.
Sanjay


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post
3/20/2008 2:59 PM
 

I am not hosting the site myself -- but I went in and replaced the dotnetnuke.dll file and it restarted the site fine.

The DotNetNuke.SqlDataProvider.dll does exist in the folder -- from looking around the forums here, this would seem to be caused by a Forum module error identified by this poster in this thread:

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/7/threadid/195603/scope/posts/Default.aspx

Hopefully that can get fixed some time. Thanks for the quick response!

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Help! Value cannot be null message shut down sitesHelp! Value cannot be null message shut down sites


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