Page 1 of 1

asp.net mono

Posted: Fri 12 Mar 2010 14:41
by hannes_a
I try to host a simple webapp with devexpress and devart on opensuse/mono and run into this issue, do you have a hint for me, what's wrong here

thank you
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 object
at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet, Int32 startRecord, Int32 maxRecords, System.String srcTable, IDbCommand command, CommandBehavior behavior) [0x00000] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:294
at Devart.Data.Oracle.OracleDataAdapter.Fill (System.Data.DataSet dataSet, Int32 startRecord, Int32 maxRecords, System.String srcTable, IDbCommand command, CommandBehavior behavior) [0x00000] in :0
at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet, System.String srcTable) [0x00000] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:246
at (wrapper remoting-invoke-with-check) System.Data.Common.DbDataAdapter:Fill (System.Data.DataSet,string)
at System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect (System.Web.UI.DataSourceSelectArguments arguments) [0x001e1] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/System.Web/System.Web.UI.WebControls/SqlDataSourceView.cs:240

Version information: Mono Runtime Version: 2.6.1 (tarball Thu Dec 17 17:22:59 UTC 2009); ASP.NET Version: 2.0.50727.1433

Posted: Mon 15 Mar 2010 13:09
by Shalex
Please give us the following information:
1) the DDL/DML script of table (-s) or view (-s) you are working with via your data source;
2) the select statement that is executed by the System.Data.Common.DbDataAdapter.Fill method or a small test project will be appreciated. We will try to reproduce the error. We have mentioned the Mono limitations in this thread. But they are applied to the update commands. The select command should work smoothly.
3) the version of your dotConnect for Oracle. You can find it via the Tools | Oracle | About menu of Visual Studio.