error BC30456: 'n' is not a member of 'CoreLab.Oracle.Oracle

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
feliopy
Posts: 1
Joined: Thu 12 Feb 2009 14:45

error BC30456: 'n' is not a member of 'CoreLab.Oracle.Oracle

Post by feliopy » Thu 12 Feb 2009 14:53

Why would I get this error BC30456: 'n' is not a member of 'CoreLab.Oracle.Oracle.
I received the following as a part of the stack trace:

ConnectionStateRetVal = OracleConnection_1.n
'Stack Trace:
' at CoreLab.Common.DbConnectionBase.n()
' at CoreLab.Common.DbConnectionBase.get_State()
' at CoreLab.Oracle.OracleConnection.get_State()
' at Lmc.Mp.DbConnection.DbConnector.Prepare(String spName) in C:\Development\M71_NGSS_D\DBConnection\DbConnector.cs:line 341
' at Lmc.Mp.DbConnection.DbConnector.Execute(String spName, DbParams& dbParams) in C:\Development\M71_NGSS_D\DBConnection\DbConnector.cs:line 700
' at Lmc.Mp.Marsplan.Classes.MpTableIndex`2.Load(TTable& table, String procedure, ArrayList InArgs, Int32 errorId) in C:\Development\M71_NGSS_D\Marsplan\Classes\MpTableIndex.cs:line 493
' at Lmc.Mp.Marsplan.Classes.MpTableIndex`2.Load(TTable& table, String procedure, Int32 errorId) in C:\Development\M71_NGSS_D\Marsplan\Classes\MpTableIndex.cs:line 459
' at Lmc.Mp.Marsplan.Classes.MpSimpleTableIndex`2.Load(TTable& table) in C:\Development\M71_NGSS_D\Marsplan\Classes\MpSimpleTableIndex.cs:line 117
' at Lmc.Mp.Marsplan.Classes.MpTableIndex`2.get_Table() in C:\Development\M71_NGSS_D\Marsplan\Classes\MpTableIndex.cs:line 104
' at Lmc.Mp.Marsplan.Forms.Planning..ctor() in C:\Development\M71_NGSS_D\Marsplan\Forms\Planning.cs:line 75
' at Lmc.Mp.Marsplan.Forms.ProjectPlanning..ctor() in C:\Development\M71_NGSS_D\Marsplan\Forms\ProjectPlanning.cs:line 48
' at Lmc.Mp.Marsplan.Forms.MpMain.OpenProjectPlanningSession() in C:\Development\M71_NGSS_D\Marsplan\Forms\MpMain.cs:line 987
' at Lmc.Mp.Marsplan.Forms.MpMain.projectPlanningToolStripMenuItem_Click(Object sender, EventArgs e) in C:\Development\M71_NGSS_D\Marsplan\Forms\MpMain.cs:line 1287
' at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
' at System.Windows.Forms.ToolStripItem.OnClick(EventArgs e)
' at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
' at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
' at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
' at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
' at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
' at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
' at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
' at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
' at System.Windows.Forms.Control.WndProc(Message& m)
' at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
' at System.Windows.Forms.ToolStrip.WndProc(Message& m)
' at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
' at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
' at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
' at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
' at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
' at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
' at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
' at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
' at System.Windows.Forms.Application.Run(Form mainForm)
' at Lmc.Mp.Marsplan.Forms.MpMain.Main(String[] args) in C:\Development\M71_NGSS_D\Marsplan\Forms\MpMain.cs:line 738
'
It occurs each time there is a connection to the database.
'.n' does not appear as a method for class CoreLab.Common.DbConnectionBase.

Shalex
Site Admin
Posts: 8246
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 12 Feb 2009 15:28

Please post here the code you are using to establish connection to your database.
What is your version of dotConnect for Oracle (new name of OraDirect .NET)?

Post Reply