system.enterpriseservices.thunk problem

tassieboy

New member
Joined
Mar 21, 2006
Messages
2
Programming Experience
5-10
Hi All
I have a VB.NET application which runs on all client machines except one, where on startup, it gives the message:
system.enterpriseservices.thunk.dll, or one of its dependencies, were not found

I do not have a reference to this file, and I do not use enterprise services anywhere in the solution.
I asked the user to try re-installing the .NET framework but this didn't help.

Does anyone have any thoughts / insights that might help?

Adam
 
Upon further investigation, I have discovered that the problem occurs when trying to fetch data from the SQL database. When using the Data Adapter Fill.

A stack trace is below.

Any ideas or suggestions still welcome :)

************** Exception Text **************
System.IO.FileNotFoundException: File or assembly name System.EnterpriseServices.Thunk.dll, or one of its dependencies, was not found.
File name: "System.EnterpriseServices.Thunk.dll"
at System.EnterpriseServices.Platform.Initialize()
at System.EnterpriseServices.ResourcePool..ctor(TransactionEndDelegate cb)
at System.Data.SqlClient.ConnectionPool..ctor(DefaultPoolControl ctrl)
at System.Data.SqlClient.PoolManager.FindOrCreatePool(DefaultPoolControl ctrl, IntPtr SID)
at System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction)
at System.Data.SqlClient.SqlConnection.Open()
at System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState)
at System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at BSM.clsCnnStr.sbTestVersion()
at BSM.frmBSM_Filter.frmBSM_Filter_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 
Back
Top