[Mono-aspnet-list] HttpException and System.NullReferenceException with MVC3 project

hlopezrd hlopezrd at gmail.com
Thu Dec 27 17:23:54 UTC 2012


Hi to all,
I have a MVC3 application that was running with some problem under mono
2.10.8 (I got "Type 0x15 not handled in custom attr value decoding" error
with some views) so I try to run under mono 3.0.1 but I don't get the home
page displayed, and in ubuntu server I got this error:

An exception has occurred while generating HttpException page:
System.NullReferenceException: Object reference not set to an instance of an
object
  at System.Web.Util.HttpEncoder.GetCustomEncoderFromConfig () [0x00000] in
<filename unknown>:0 
  at System.Lazy`1[System.Web.Util.HttpEncoder].InitValue () [0x00000] in
<filename unknown>:0 

The actual exception which was being reported was:
System.Web.HttpException:  ---> System.NullReferenceException: Object
reference not set to an instance of an object
  at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp)
[0x00000] in <filename unknown>:0 
  at System.Web.Compilation.BuildManager.GetCompiledType
(System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.BuildManager.GetCompiledType (System.String
virtualPath) [0x00000] in <filename unknown>:0 
  at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext
context) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace --- 

can you give me some ideas of what can I do? 
Thanks in advance for try help me with this.



--
View this message in context: http://mono.1490590.n4.nabble.com/HttpException-and-System-NullReferenceException-with-MVC3-project-tp4657878.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list