This project has moved and is read-only. For the latest updates, please go here.


NullReferenceException on XmlReader.Create


This bug was introduced with version forcing me to return back to version

When calling the method System.Xml.XmlReader.Create from inside a page that requires authentication, the setver returns "500 Internal server error"

Looking at the server logs, that's tha error call stack

Exception information:
Exception type: NullReferenceException 
Exception message: Riferimento a un oggetto non impostato su un'istanza di oggetto.
in FiftyOne.Foundation.Mobile.Detection.WebProvider.GetResults(HttpContext context, HttpRequest request)
in FiftyOne.Foundation.Mobile.Detection.MobileCapabilitiesProvider.GetBrowserCapabilities(HttpRequest request)
in System.Web.Configuration.HttpCapabilitiesBase.GetBrowserCapabilities(HttpRequest request)
in System.Web.HttpRequest.get_Browser()
in System.Web.Security.CookielessHelperClass.UseCookieless(HttpContext context, Boolean doRedirect, HttpCookieMode cookieMode)
in System.Web.Security.FormsAuthenticationModule.ExtractTicketFromCookie(HttpContext context, String name, Boolean& cookielessTicket)
in System.Web.Security.FormsAuthenticationModule.OnAuthenticate(FormsAuthenticationEventArgs e)
in System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs)
in System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
in System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


iftikhar51 wrote Jun 8, 2015 at 5:17 PM

This issue was resolve in later versions.

iftikhar51 wrote Jun 8, 2015 at 5:20 PM

We are now on version This was resolved in previous releases. However, please let me know if anyone is still having it. Remember to raise ticket at