Page 1 of 1

"AsmNotLoaded" error

Posted: Wed 03 Feb 2010 09:00
by ebisugi
It becomes an error when executing it by installing it in user's personal computer.

It normally connects when executing it with the personal computer with the development setting.

Deploy
Devart.Data.dll(240kb, ver5.0.17)
Devart.Data.Universal.dll(388kb, var3.0.3)
Devart.Data.Universal.Oracle.dll(1041kb, ver3.0.3)

ConnectionString
provider=Oracle
;User rd=????
;Server=ORASV01
;Direct=True
;Sid=ORCL;

#---------------------------------------------------------------------------
#--------------------------------------------------------- error message
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Devart.Data.Universal.UniException: AsmNotLoaded ---> System.MissingMethodException: Method not found: 'System.Data.Common.DbProviderFactory System.Data.Common.DbConnection.get_DbProviderFactory()'.
at cj.CreateConnection()
at Devart.Data.Universal.UniProviderBase.CreateConnectionCore()
at Devart.Data.Universal.UniProviderBase.Devart.Data.Universal.IUniProvider.CreateConnection()
--- End of inner exception stack trace ---
at Devart.Data.Universal.UniConnection.Open()
at doc1_forms.G510_doc_lst.btn_data_show_Click(Object sender, EventArgs e) in C:\home\mhi\doc1\src\prototype\doc1_forms\doc1_forms\G510_doc_lst.cs:line 25
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
doc1_forms
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/デスクトップ/tmp/doc1_forms.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
DevExpress.XtraEditors.v9.2
Assembly Version: 9.2.9.0
Win32 Version: 9.2.9.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/デスクトップ/tmp/DevExpress.XtraEditors.v9.2.DLL
----------------------------------------
DevExpress.XtraGrid.v9.2
Assembly Version: 9.2.9.0
Win32 Version: 9.2.9.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/デスクトップ/tmp/DevExpress.XtraGrid.v9.2.DLL
----------------------------------------
Devart.Data.Universal
Assembly Version: 3.0.3.0
Win32 Version: 3.0.3.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/デスクトップ/tmp/Devart.Data.Universal.DLL
----------------------------------------
Devart.Data
Assembly Version: 5.0.17.0
Win32 Version: 5.0.17.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/デスクトップ/tmp/Devart.Data.DLL
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
DevExpress.Utils.v9.2
Assembly Version: 9.2.9.0
Win32 Version: 9.2.9.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/デスクトップ/tmp/DevExpress.Utils.v9.2.DLL
----------------------------------------
DevExpress.Data.v9.2
Assembly Version: 9.2.9.0
Win32 Version: 9.2.9.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/デスクトップ/tmp/DevExpress.Data.v9.2.DLL
----------------------------------------
Devart.Data.Universal.Oracle
Assembly Version: 3.0.3.0
Win32 Version: 3.0.3.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/デスクトップ/tmp/Devart.Data.Universal.Oracle.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

[/quote]

Posted: Wed 03 Feb 2010 13:21
by StanislavK
Please try installing .NET Framework 2.0 Service Pack 1 on the target machine.

Also, please see this thread:
http://www.devart.com/forums/viewtopic.php?t=16860

Posted: Thu 04 Feb 2010 04:38
by ebisugi
Thank you.