[Mono-list] The parameter data type of om.framework.CRM.Security.TOnlineUserStatus is invalid.

suvi at orientalmedia.com suvi at orientalmedia.com
Thu May 8 08:02:41 EDT 2008


Dear,

The project running under windows/iis smoothly, but when I run it under Mono version 1.9.1 Build 2, there has the following errors: 
The parameter data type of om.framework.CRM.Security.TOnlineUserStatus is invalid.
Description: HTTP 500. Error processing request.

Stack Trace: 

System.ArgumentException: The parameter data type of om.framework.CRM.Security.TOnlineUserStatus is invalid.  at System.Data.OracleClient.OracleParameter.InferOracleType (System.Object value) [0x00000]   at System.Data.OracleClient.OracleParameter.set_Value (System.Object value) [0x00000]   at NHibernate.Type.PersistentEnumType.Set (IDbCommand cmd, System.Object value, Int32 index) [0x00000]   at NHibernate.Type.NullableType.NullSafeSet (IDbCommand cmd, System.Object value, Int32 index) [0x00000]   at NHibernate.Type.NullableType.NullSafeSet (IDbCommand st, System.Object value, Int32 index, System.Boolean[] settable, ISessionImplementor session) [0x00000]   at NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate (System.Object id, System.Object[] fields, System.Boolean[] includeProperty, System.Boolean[][] includeColumns, Int32 table, IDbCommand statement, ISessionImplementor session, Int32 index) [0x00000]   at NHibernate.Persister.Entity.AbstractEntityPersister.Insert (System.Object id, System.Object[] fields, System.Boolean[] notNull, Int32 j, NHibernate.SqlCommand.SqlCommandInfo sql, System.Object obj, ISessionImplementor session) [0x00000]  



om.framework.CRM.Security.TOnlineUserStatus 

defined as :

    [Flags]
    public enum TOnlineUserStatus 
    {
        Active      =   0,
        Deactive    =   1,
        Logout      =   2
    }

 public class TOnlineUsers : TIdBaseData
 {

  public TOnlineUsers():base()
  {
            this._SessionId = "";
            this._Status = TOnlineUserStatus.Active;
  }
  private TOnlineUserStatus _Status;
  ...
 }


Any Ideas ?



Suvi Cheung
phone:0086-21-52375176-802
fax:0086-21-52375175
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080508/178a108f/attachment-0001.html 


More information about the Mono-list mailing list