[Mono-devel-list] Microsoft Petshop 1.5.2 on Mono 1.0.1/ Fedora Core 2

RajeevNet at netscape.net RajeevNet at netscape.net
Tue Aug 24 01:32:18 EDT 2004


Hi
I am trying to run Microsoft Petshop 1.5.2 using XSP and SQL server database.I am getting following errors when I click on some item on main page.

System.NullReferenceException: Object reference not set to an instance of an object
in <0x001c9> PetShop.Components.Product:GetList (string,int,int,int&)
in <0x00156> PetShop.Web.Category:BindPagedData ()
in <0x0009a> PetShop.Web.Category:Page_Load (object,System.EventArgs)
in <0x00069> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00086> System.Web.UI.Control:OnLoad (System.EventArgs)
in <0x00024> System.Web.UI.Control:LoadRecursive ()
in <0x00198> System.Web.UI.Page:InternalProcessRequest ()

It seems to me it is a obvious database access error .I enabled a trace in SQL Server to know whats happening.When I clicked on item called 'Fish' in the main page,it ran a batch at SQL server like this.

declare ReturnValue int
exec ReturnValue=upProductGetList @cat_id='FISH'
select ReturnValue

I tried running the same petshop under .NET on Win 2k.It just ran the stored procedure like this

exec upProductGetList @cat_id = 'FISH      '

I believe the batch that run under mono is incorrect because upProductGetList returns set of records.Any pointers on this?.

I know lot of people would like to run ASP.NET under mono .But there is little documentation on this. A Wiki would be ideal ?

Thanks and Regards
Rajeev

 "Whatever you do will be insignificant, but it is very important that you do it." -- Gandhi


__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp



More information about the Mono-devel-list mailing list