DNN Upgrade Failed - "Value Cannot Be Null" Error

If you have performed an upgrade to your DNN installation and received the following error after the upgrade had completed with a successful report then this article may help you in correcting this error.

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. 

You maybe able to correct this error by following these steps.

1) Log into the Helm control panel.

2) Select the option "Domains" from the Main Menu of Helm. Select your domain from the list of Hosted Domains on your account.

3) You should now be at the Domain Menu for the selected Hosted Domain. Locate the option for "File Manager" and click on it. This will show you a Browser window with all of your domain's folders. Click on the "wwwroot" folder to view it's contents and then click on the "Bin" folder to view inside of it.

4) Locate the file named "DotNetNuke.Provider.Membership.SqlDataProvider.dll" within the Bin folder and delete it.

5) Try launching your site again at this time and see if this has corrected the issue. If it did not correct the issue, we highly recommend submitting a support ticket to our Technical Support staff at the link below so they can advise you on how to proceed form here.

Submit a Support Ticket to our Technical Support Staff here:

Was this answer helpful?

 Print this Article

Also Read

How to install DNN Module Using FTP

To add a module to those available for installation, FTP its zip file to the...

Register Link On Account Login Module Is Broken

If you receive the following error when clicking the "Register" link on your account login module...

What DotNetNuke versions do you support?

We support all versions of DNN from 4.x.x to the newest 7.x.x version. You can even run DNN 3.x.x...

DNN Host Settings to Improve Site Performance

Try setting the following options within your DNN site's Host Settings area to improve site...

URL redirection on dnn site

If you want to enable url redirection for your entire dnn site or pages within your dnn site you...