http://bugzilla.novell.com/show_bug.cgi?id=609109
http://bugzilla.novell.com/show_bug.cgi?id=609109#c0 Summary: Incoming tablular data stream (TDS) remote procedure call (RPC) protocal stream is incorrect. Classification: Mono Product: Mono: Runtime Version: SVN Platform: 64bit OS/Version: RHEL 5 Status: NEW Severity: Major Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0) We are getting an sql server client error trying to insert a record into the database. The strange thing is that its says Parameter 15("@Pnul") , note the null instide the parameter, its actually using the special nul character so Im not sure if its just that something is getting corrupt in the stream.When I run the sqlserver trace, I can see some of the inserts going to the database so Im not sure if this is an issue returning back information. Note that this works on windows and mono 2.4 so it looks like something broken after mono 2.4 . This is the error: could not insert: [Drms.Server.EntityModel.EntityWorkflow#38d3d5d2-e4ce-4f0d-85e2-9d8203757665][SQL: INSERT INTO [EWORKFLOW] ([COMMITCOUNT], [LABEL], [PERSISTABLEBACKREFERENCES], [PERSISTABLECASECONTEXTID], [PERSISTABLECASECONTEXTREFERENC], [NAME], [PERSISTABLECOLLECTIONMETADATA], [DOCUMENT], [DEPLOYMENTCATEGORY], [ISSCRIPTACTIVITY], [MODIFIED], [M_ORIGINAL_CLASS], [M_ORIGINAL_ID], [ORIGINALOBJTYPE], [ORIGINALOBJID], [ISBACKREFERENCETRACKINGENABLED], [CASECONTEXTBEHAVIOR], [CREATED], [DESCRIPTION], [ID]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)] Source: NHibernate Target Site: Void Insert(System.Object, System.Object[], System.Boolean[], Int32, NHibernate.SqlCommand.SqlCommandInfo, System.Object, ISessionImplementor) Stack Trace: 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] in <filename unknown>:0 at NHibernate.Persister.Entity.AbstractEntityPersister.Insert (System.Object id, System.Object[] fields, System.Object obj, ISessionImplementor session) [0x00000] in <filename unknown>:0 at NHibernate.Action.EntityInsertAction.Execute () [0x00000] in <filename unknown>:0 at NHibernate.Engine.ActionQueue.Execute (IExecutable executable) [0x00000] in <filename unknown>:0 at NHibernate.Engine.ActionQueue.ExecuteActions (IList list) [0x00000] in <filename unknown>:0 at NHibernate.Engine.ActionQueue.ExecuteActions () [0x00000] in <filename unknown>:0 at NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions (IEventSource session) [0x00000] in <filename unknown>:0 Custom Data: Inner Exception: System.Data.SqlClient.SqlException: The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 15 ("@p␀"): Data type 0x40 is unknown. Source: Mono SqlClient Data Provider Target Site: Void ErrorHandler(System.Object, Mono.Data.Tds.Protocol.TdsInternalErrorMessageEventArgs) Stack Trace: at System.Data.SqlClient.SqlConnection.ErrorHandler (System.Object sender, Mono.Data.Tds.Protocol.TdsInternalErrorMessageEventArgs e) [0x00000] in <filename unknown>:0 at Mono.Data.Tds.Protocol.Tds.OnTdsErrorMessage (Mono.Data.Tds.Protocol.TdsInternalErrorMessageEventArgs e) [0x00000] in <filename unknown>:0 at Mono.Data.Tds.Protocol.Tds.ProcessMessage (TdsPacketSubType subType) [0x00000] in <filename unknown>:0 at Mono.Data.Tds.Protocol.Tds.ProcessSubPacket () [0x00000] in <filename unknown>:0 at Mono.Data.Tds.Protocol.Tds.NextResult () [0x00000] in <filename unknown>:0 at Mono.Data.Tds.Protocol.Tds.SkipToEnd () [0x00000] in <filename unknown>:0 at Mono.Data.Tds.Protocol.Tds70.ExecRPC (TdsRpcProcId rpcId, System.String sql, Mono.Data.Tds.TdsMetaParameterCollection parameters, Int32 timeout, Boolean wantResults) [0x00000] in <filename unknown>:0 at Mono.Data.Tds.Protocol.Tds70.Execute (System.String commandText, Mono.Data.Tds.TdsMetaParameterCollection parameters, Int32 timeout, Boolean wantResults) [0x00000] in <filename unknown>:0 at System.Data.SqlClient.SqlCommand.Execute (Boolean wantResults) [0x00000] in <filename unknown>:0 at System.Data.SqlClient.SqlCommand.ExecuteNonQuery () [0x00000] in <filename unknown>:0 at NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery (IDbCommand cmd) [0x00000] in <filename unknown>:0 Custom Data: Key #1: actual-sql-query Value #1: INSERT INTO [EWORKFLOW] ([COMMITCOUNT], [LABEL], [PERSISTABLEBACKREFERENCES], [PERSISTABLECASECONTEXTID], [PERSISTABLECASECONTEXTREFERENC], [NAME], [PERSISTABLECOLLECTIONMETADATA], [DOCUMENT], [DEPLOYMENTCATEGORY], [ISSCRIPTACTIVITY], [MODIFIED], [M_ORIGINAL_CLASS], [M_ORIGINAL_ID], [ORIGINALOBJTYPE], [ORIGINALOBJID], [ISBACKREFERENCETRACKINGENABLED], [CASECONTEXTBEHAVIOR], [CREATED], [DESCRIPTION], [ID]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19) Inner Exception: This is the table definition: CREATE TABLE [dbo].[EWORKFLOW]( [ID] [uniqueidentifier] NOT NULL, [COMMITCOUNT] [int] NOT NULL, [LABEL] [uniqueidentifier] NULL, [PERSISTABLEBACKREFERENCES] [varchar](max) NULL, [PERSISTABLECASECONTEXTID] [uniqueidentifier] NULL, [PERSISTABLECASECONTEXTREFERENC] [int] NULL, [NAME] [nvarchar](2000) NULL, [PERSISTABLECOLLECTIONMETADATA] [varchar](max) NULL, [DOCUMENT] [varchar](max) NULL, [DEPLOYMENTCATEGORY] [int] NULL, [ISSCRIPTACTIVITY] [bit] NULL, [MODIFIED] [datetime] NULL, [M_ORIGINAL_CLASS] [nvarchar](2000) NULL, [M_ORIGINAL_ID] [uniqueidentifier] NULL, [ORIGINALOBJTYPE] [nvarchar](2000) NULL, [ORIGINALOBJID] [uniqueidentifier] NULL, [ISBACKREFERENCETRACKINGENABLED] [bit] NULL, [CASECONTEXTBEHAVIOR] [tinyint] NULL, [CREATED] [datetime] NULL, [DESCRIPTION] [nvarchar](2000) NULL, PRIMARY KEY CLUSTERED ( [ID] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 50) ON [PRIMARY] ) ON [PRIMARY] GO Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
