[Mono-list] Shameless plug, was mono problems with Ajax

Damien Miller damien.miller at cometway.com
Thu Jun 5 14:08:23 EDT 2008

Hi Ferdinand,

My company makes a C# websever that will run Atlas. 

The download includes a demo of running MS AJAX so you can see how it works.

Finally, note that one of the scripts included with AJAX will NOT compile
under mono so you can't use any refs to that script.

Our server is at www.neokernel.com

Hope this helps, 

Damien Miller
       From the FAQ on the mono site
       Does Mono support Atlas?
       Mono does not support Atlas (now called ASP.NET AJAX)
       There was some early work done to support an early version of Atlas,
but the code 	was not complete, we do not ship it, it is outdated and is
not currently being 	maintained.
From: Ferdinand Funke <dr_doom1983 at yahoo.de>
Subject: [Mono-list] ASP.Net AJAX with Mono?
To: mono-list at lists.ximian.com
Message-ID: <132139.74672.qm at web26605.mail.ukl.yahoo.com>
Content-Type: text/plain; charset=utf-8

Hello list,
I am just trying out the ASP.Net AJAX extensions under .Net and Mono.
Therefore I created a rather simple WebApp with just a SciptManager control
on the site. 
Here's the code:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs"
Inherits="AjaxTest._Default" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

<html xmlns="http://www.w3.org/1999/xhtml"; >
<head runat="server">
    <title>Unbenannte Seite</title>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">


With .Net it all works fine, but with Mono I get a strange error:

Server Error in '/' Application

Object reference not set to an instance of an object
Description: HTTP 500. Error processing request.
Stack Trace: 
System.NullReferenceException: Object reference not set to an instance of an
  at System.Web.UI.ScriptManager.OnPreRenderComplete (System.Object sender,
System.EventArgs e) [0x00000] 
  at System.Web.UI.Page.OnPreRenderComplete (System.EventArgs e) [0x00000] 
  at System.Web.UI.Page.ProcessLoadComplete () [0x00000] 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
Version information:  Mono Version: 2.0.50727.42; ASP.NET Version:

I placed the System.Web.Extensions.dll from the Mono directory in the the
/bin directory of the application, but the error stays the same. The error
also appears when I place more AJAX controls on the site than just the

Is there anything I missed? 
Any help would be greatly appreciated.

Best regards,


More information about the Mono-list mailing list