[Mono-aspnet-list] App_Browser problem

rdunzl rdunzl at msn.com
Wed Jun 15 16:06:53 EDT 2011


Hi,

I am trying to see if I can make Umbraco 4.7 run on Mono 2.10.2 / XSP4 on an
Ubuntu desktop.

I get an YSOD I believe is caused by Umbraco's browser files. Umbraco has
two .browser files. I have deleted one for now (w3cvalidator.browser), but
the other Form.browser is essential for Umbraco. It's contents are:
<browsers>
  <browser refID="Default">
    <controlAdapters>
      <adapter controlType="System.Web.UI.HtmlControls.HtmlForm"
              
adapterType="umbraco.presentation.urlRewriter.FormRewriterControlAdapter" />
    </controlAdapters>
  </browser>
</browsers>

I have tried to google the exception, but I have not found any hits from
this year. Can anyone tell me if the App_Browser / browser config file
feature is not working in Mono 2.10.2?

The error I get when I request a page running in xps is the following error:
System.NullReferenceException: Object reference not set to an instance of an
object
  at System.Web.Configuration.nBrowser.Build.InitializeTree () [0x0028e] in
/home/myuser/mono-2.12/build/mono-2.10.2/mcs/class/System.Web/System.Web.Configuration_2.0/nBrowser/Build.cs:243 
  at System.Web.Configuration.nBrowser.Build.Browser () [0x00027] in
/home/myuser/mono-2.12/build/mono-2.10.2/mcs/class/System.Web/System.Web.Configuration_2.0/nBrowser/Build.cs:156 
  at System.Web.Configuration.nBrowser.Build.Process
(System.Collections.Specialized.NameValueCollection header, IDictionary
initialCapabilities) [0x00019] in
/home/myuser/mono-2.12/build/mono-2.10.2/mcs/class/System.Web/System.Web.Configuration_2.0/nBrowser/Build.cs:330 
  at System.Web.Configuration.CapabilitiesBuild.Process
(System.Web.HttpRequest request, IDictionary initialCapabilities) [0x00006]
in
/home/myuser/mono-2.12/build/mono-2.10.2/mcs/class/System.Web/System.Web.Configuration_2.0/CapabilitiesBuild.cs:63 
  at System.Web.Configuration.HttpCapabilitiesBase.GetConfigCapabilities
(System.String configKey, System.Web.HttpRequest request) [0x00021] in
/home/myuser/mono-2.12/build/mono-2.10.2/mcs/class/System.Web/System.Web.Configuration_2.0/HttpCapabilitiesBase.cs:76 
  at System.Web.HttpRequest.get_Browser () [0x0000b] in
/home/myuser/mono-2.12/build/mono-2.10.2/mcs/class/System.Web/System.Web/HttpRequest.cs:317 
  at System.Web.UI.Control.ResolveAdapter () [0x00021] in
/home/myuser/mono-2.12/build/mono-2.10.2/mcs/class/System.Web/System.Web.UI/Control.cs:1371 
  at System.Web.UI.Control.get_Adapter () [0x0000b] in
/home/myuser/mono-2.12/build/mono-2.10.2/mcs/class/System.Web/System.Web.UI/Control.cs:162 
  at System.Web.UI.Page.get_PageAdapter () [0x00000] in
/home/myuser/mono-2.12/build/mono-2.10.2/mcs/class/System.Web/System.Web.UI/Page.cs:390 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] in
/home/myuser/mono-2.12/build/mono-2.10.2/mcs/class/System.Web/System.Web.UI/Page.cs:1393 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00062] in
/home/myuser/mono-2.12/build/mono-2.10.2/mcs/class/System.Web/System.Web.UI/Page.cs:1269 




--
View this message in context: http://mono.1490590.n4.nabble.com/App-Browser-problem-tp3600427p3600427.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list