Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

Error upgrading from 4.5.5 to 4.8.2

Rate this topic:

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

AuthorMessages
markchannon
Posts:27



03/26/2008 6:41 PM  

Hi

Just upgraded from 4.5.5 to 4.8.2 and it's throwing an error, no ideas why:

Could not load type 'DotNetNuke.Security.Authentication.AuthenticationController' from assembly 'DotNetNuke, Version=4.8.2.0, Culture=neutral, PublicKeyToken=null'.

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.TypeLoadException: Could not load type 'DotNetNuke.Security.Authentication.AuthenticationController' from assembly 'DotNetNuke, Version=4.8.2.0, Culture=neutral, PublicKeyToken=null'.

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:

[TypeLoadException: Could not load type 'DotNetNuke.Security.Authentication.AuthenticationController' from assembly 'DotNetNuke,
Version=4.8.2.0, Culture=neutral, PublicKeyToken=null'.]
DotNetNuke.HttpModules.AuthenticationModule.Init(HttpApplication application) +0
System.Web.HttpApplication.InitModules() +267
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1251
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +243
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +214

 

Any ideas why?

Cheers

Mark

John Mitchell
Posts:2742



03/27/2008 3:07 PM  

Hi Mark,

No, I don't know why exactly, but I do know there have been new Authentication providers added between those two versions.

From there error it looks as if you do not have the newest DotNetNuke.dll, so you may be able to fix the error by uploading the new DNN files again (at least the ones in the /bin folder).

 

markchannon
Posts:27



03/27/2008 4:29 PM  
I'm working on it locally, copied over the .dll files again and also installed ajax 1.0 in case it was something to do with that but no joy. this initially happened where I host the site, so I reverted it back to 4.5.5 and then downloaded it so I could try and upgrade locally, so not to sure where to go next. Any ideas?
markchannon
Posts:27



03/27/2008 4:44 PM  
Should also say that I've got a 4.8.2 version running locally which works fine, so 4.8.2 should be able to run on my system.
markchannon
Posts:27



03/27/2008 5:40 PM  
Just got it to work, don't exactly know how but think it may have been something to do with the web.config.

I reverted back to the 4.5.5 version then copied the installation version of 4.8.2 over that installation along with the web.config file, replaced the machine key with my old one updated the database settings and it went ahead and upgraded no probs.

Might be handy to know in case this happens to someone else.

Cheers

Mark
John Mitchell
Posts:2742



03/28/2008 8:35 AM  
Thanks for posting back with your findings Mark. That was a good idea to just start over and try again. Sometimes things will happen in the middle of an upgrade that will be very hard to track down and fix.
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Forums >DotNetNuke Support >General-DNN-Help > Error upgrading from 4.5.5 to 4.8.2



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.0 for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information 
XDAkuna (Web 2.0 CSS XHTML Skin)

Item codeXDAkuna
AuthorNina Meiers
Price$49.00
Product Information