Visual Studio and .NET Framework Home
Error while using adodb recordset
7/22/2009 3:02:40 AM
User(s) can reproduce this bug
Acessing field values produces run time error (message: Could not load type 'ADODB.FieldsToInternalFieldsMarshaler' from assembly 'NervMemos, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null')
Visual Studio 2010 Beta 1
Operating System Language
Steps to Reproduce
Declare and open ADODB.connection
declare and open ADODB.recordset
Move to recors
if MyRS is the open recordset, not being EOF
fails (assume my_field_name is of type varchar)
run time error
Could not load type 'ADODB.FieldsToInternalFieldsMarshaler' from assembly 'NervMemos, Version=184.108.40.206, Culture=neutral, PublicKeyToken=null'
show field content
TAP Code (if applicable)
You can indicate your satisfaction with how Microsoft handled this issue by completing this quick
3 question survey
to post a comment.
Please enter a comment.
Chris from Cork
on 7/9/2012 at 3:02 PM
Workaround fixed it for me too.
on 2/23/2012 at 1:21 AM
Thanks Guys, the workaround worked for me nicely.
Jason N. Gaylord
on 10/26/2011 at 12:51 PM
This workaround resolved a similar issue that we were receiving where the error read "Could not load type 'ADODB.ParameterToInternalParameterMarshaler' from ..."
on 12/1/2010 at 7:52 AM
In a recent project, we ran into the same problem and we can confirm that the workaround works.
on 11/29/2010 at 9:06 AM
I have the same error, how do I submit my files, I zipped the install files, you can install it and run it.
on 11/25/2009 at 6:39 AM
Error 1 of 1:
Error Object: mscorlib
Error Procedure: CreateCustomMarshalerHelper
Error Discription: Could not load type 'ADODB.FieldsToInternalFieldsMarshaler' from assembly 'PayrollLoader, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null'.
Base Exception: Could not load type 'ADODB.FieldsToInternalFieldsMarshaler' from assembly 'PayrollLoader, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type 'ADODB.FieldsToInternalFieldsMarshaler' from assembly 'PayrollLoader, Version=22.214.171.124, Culture=neutral, PublicKeyToken=null'.
at System.StubHelpers.StubHelpers.CreateCustomMarshalerHelper(IntPtr pMD, Int32 paramToken, IntPtr hndManagedType)
at PayrollLoader.clsExcelReport.CreateRecordset(DataTable& table)
on 8/4/2009 at 11:50 PM
Thanks for using the Visual Studio & .Net Framework Connect site. The site is put in place to enable the community to submit feedback on these technologies. We encourage you to use the MSDN Forums for general questions: http://forums.microsoft.com/msdn/default.aspx?siteid=1.
Visual Studio Product Team
on 7/24/2009 at 2:48 AM
Thanks for reporting the issue.
In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided. Could you please provide us with a demo project that can be used to reproduce this issue? And we will re-investigate.
If we do not receive a response from you after 7-days , we will automatically close your issue. There is no obligation to respond -- at any time you may edit your issue via Connect and change the status to “Active.”
Visual Studio Product Team
to post a workaround.
Please enter a workaround.
on 11/25/2009 at 6:45 AM
For me, this only ocurred on workstations my program was deployed to, so I wasn't able to reproduce it on my pc.
The problem for me was that in my project I had adodb.dll as an Embeded Interop Type.
I just change it to non-embeded and set "Copy Local" = True
© 2014 Microsoft