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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Unhandled Error after upgrading to dnn7.4.0Unhandled Error after upgrading to dnn7.4.0
Previous
 
Next
New Post
2/5/2015 2:37 AM
 

I upgraded a local installation from 7.3.4 to 7.4.0. No errors were reported during upgrade.

Now all pages fail with a kind of custom error screen.

DNN LOGO

Unhandled Error

Error Details

File
Error   Parameter count does not match Parameter Value count.

No entries in event log, no hints in log files (reporting level already set to "all"). Custom errors are disabled, debugging is enabled in web.config.  I can't enforce a Yellow Screen of Death here.

How do I find more hints what is happening. 

 

 
New Post
2/5/2015 7:41 AM
 

odd, usually the error being rendered would be logged with a better stack trace.Looking for the "Unhandled Error" text I see it used in 3 places, two of them are when an error happens within the logger when logging (so unlikely to be yours), the 3rd is   more likely from the exceptionmodule.cs class

//HttpExceptions are logged elsewhere

                if (!(lastException is HttpException))
                {
                    var lex = new Exception("Unhandled Error: ", srver.GetLastError());
                    var objExceptionLog = new ExceptionLogController();
                    try
                    {
                        objExceptionLog.AddLog(lex);
                    }
                    catch (Exception ex)
                    {
                        Logger.Error(ex);
                    }

                }

 

However, again it should be in admin->event viewer as a general_exception

As to the possibilities - we accepted a few contributions around localized portal settings that proved problematic - we had to spend a few days debugging them and fixing a number of issues. We were under the impression that we had them all (bar 1 odd edge case with portal templates and content localization in multilanguage settings), but perhaps this is another - might be worth checking vw_portals to see it returns valid values.


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/5/2015 1:15 PM
 

Thank you Cathal. I was able to track it down. The web.config contained a faulty entry for the DBLoggingProvider.

It proposed "DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider, DotNetNuke.Provider.DBLoggingProvider" as type instead of "DotNetNuke.Services.Log.EventLog.DBLoggingProvider, DotNetNuke". The broken value for the type is also listed in the wiki. I guess this was changed at a certain point of time, and the update script missed to update that entry a long time ago, however the changes to logging in 7.4.0 might now have caused the irritating error page. 

 
New Post
2/5/2015 3:18 PM
 

yup, it was updated in 07.00.00 via this 

<node path="/configuration/dotnetnuke/logging/providers/add[@name='DBLoggingProvider']" action="updateattribute"  name="type" value="DotNetNuke.Services.Log.EventLog.DBLoggingProvider, DotNetNuke" />

you might want to check  https://github.com/dnnsoftware/Dnn.Platform/blob/development/DNN%20Platform/Website/Install/Config/07.00.00.config to ensure any other changes that might have been missed where made.

Im not sure why it's manifesting now . I've updated the wiki for the new definition


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/23/2015 1:30 AM
 
After upgrading my site multiple times over the last 9 years, I was having trouble with the upgrade from 7.0.2 to the latest version.  I first encountered the problem on a site hosted on Godaddy shared server instance that I use as my 1st pass upgrade site - and it failed due to this logging error but my search for the solution yielded nothing.  That was over a year ago.  I had given up on resurrecting that site and had to leave my production site stuck at version 7.0.2 until I found this solution.  It was truly weird in that the eventlog showed no entries and I didn't have time to go thru and debug the issue myself.  I am so glad I found this post, as it has solved the upgrade and at least I was able to move my sites forward.  Thank you all for your persistence in tracking these issues down and sharing the solutions with the community!

Gene W
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Unhandled Error after upgrading to dnn7.4.0Unhandled Error after upgrading to dnn7.4.0


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