Login Error

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/23/2015 1:18:15 PM
Gravatar
Total Posts 23

Login Error

One of the sites throws this exception, when I click Login link


2015-02-23 22:15:58,189 ERROR 109.252.86.13 - es-ES - /Secure/Login.aspx?returnurl=%2f - mojoPortal.Web.Global -  Referrer(http://esmexico.ru/) useragent Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36 
System.TypeInitializationException: The type initializer for 'DotNetOpenAuth.Logger' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at DotNetOpenAuth.Loggers.Log4NetLogger.CreateLogger(String name)
   at DotNetOpenAuth.Logger.CreateWithBanner(String name) in c:\Users\andarno\git\dotnetopenid\src\DotNetOpenAuth\Logger.cs:line 145
   at DotNetOpenAuth.Logger..cctor() in c:\Users\andarno\git\dotnetopenid\src\DotNetOpenAuth\Logger.cs:line 29
   --- End of inner exception stack trace ---
   at DotNetOpenAuth.Messaging.Channel.ReadFromRequest(HttpRequestInfo httpRequest) in c:\Users\andarno\git\dotnetopenid\src\DotNetOpenAuth\Messaging\Channel.cs:line 361
   at DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.GetResponse(HttpRequestInfo httpRequestInfo) in c:\Users\andarno\git\dotnetopenid\src\DotNetOpenAuth\OpenId\RelyingParty\OpenIdRelyingParty.cs:line 342
   at DotNetOpenAuth.OpenId.RelyingParty.OpenIdTextBox.OnLoad(EventArgs e) in c:\Users\andarno\git\dotnetopenid\src\DotNetOpenAuth\OpenId\RelyingParty\OpenIdTextBox.cs:line 1016
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

 

2/24/2015 6:57:44 AM
Gravatar
Total Posts 18439

Re: Login Error

 

It seems one site has the legacy openid enabled which does not work anymore, for open id we only use janrain

To fix it

UPDATE mp_Sites
SET AllowOpenIDAuth = 0

then touch web.config to clear the sitesettings cache

You must sign in to post in the forums. This thread is closed to new posts.