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 ...4.5.5 to 4.6.2 error value cannot be null4.5.5 to 4.6.2 error value cannot be null
Previous
 
Next
New Post
1/9/2008 8:03 PM
 

Ok tried to run an upgrade on a production site from 4.5.5 to 4.6.2

I made the web.config changes and the whole shabang but when i navigate to the site I get the yellow screen of death with the following error:

 

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

Please advise!!

I keep getting this over and over again even when i delete and restore the database and refresh the code.

Is there another way to upgrade my site other than this mechanism?  I thought of redoing it from scratch but we've got over 10,000 users right now and i'd lose all of that info which isnt' an option for us.  The site is quite sizeable as well.  PLEASE, PLEASE HELP.  I don't know what else to do!!!!

One thing I noticed is that in my database in the version table are three new entries for 4.6.0, 4.6.1, and 4.6.2 but when I login in host settings it still says that the site is 4.5.5?  Could it have run partially and now the database is halfway done?  If so how do i correc this?  I can't rollback to an older database because people have been on the site since then registering or doing other business. 

Please advise ... I need help!

 
New Post
1/9/2008 11:38 PM
 

Shemeka,

At the moment do you have your production backup restored to its original configuration? If not I would suggest doing so while you attempt to upgrade on a test or development site.  I hope you have ability to do that at least -- I suppose not all of us have test and development server at the ready.

Could you relay the steps that you took for your upgrade process? That way we would have a better chance of helping you diagnose which part of the upgrade process is causing your issue.

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
1/10/2008 1:17 PM
 

Thanks Ian for your response.

I think I know what the problem was.  I finally got the upgrade to run successfully.  Here is what I did (in case anyone else experiences this)

In our web.config we have a lot of third party http mods.  I was putting all that extra info in and then trying to run the upgrade resulting in the error.  I tried it again this time only changing the connection strings, machine key, install date, and object qualifier (the bare minimum).

The upgrade ran fine and I put the other stuff in afterwards.  Still working fine.

Also I deleted the 4.6 rows from the version table in the db before  trying the upgrade again.  Worked like a charm.  Hallelujah!

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.5.5 to 4.6.2 error value cannot be null4.5.5 to 4.6.2 error value cannot be null


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