[Mono-aspnet-list] Getting error: Could not load type 'Users.UserHandler' from assembly 'userhandlerlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

don rhummy donrhummy at yahoo.com
Mon Jan 28 03:43:50 UTC 2013


I have a DLL that has a public class in it called "Users.UserHandler". It's in the "bin" folder of the ASP.Net base. It's been working perfectly. And I haven't changed it at all. I created a new aspx page and tried to create an object of that class but it suddenly started throwing the error:

[CODE]
Could not load type 'Users.UserHandler' from assembly 'userhandlerlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

Description: HTTP 500. Error processing request.

Stack Trace:

System.TypeLoadException: Could not load type 'Users.UserHandler' from assembly 'userhandlerlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
  at ASP.test_aspx.Page_Load (System.Object sender, System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Page.ProcessLoad () [0x00000] 
  at System.Web.UI.Page.ProcessPostData () [0x00000] 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] 
[/CODE]

Restarting Apache isn't fixing the problem and neither is recompiling the DLL!

What could cause this? How do I diagnose/fix it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20130127/4b2998a1/attachment.html>


More information about the Mono-aspnet-list mailing list