4
Vote

error trying to retrieve records - Method not found: 'Single Microsoft.Crm.Skd.CRMFloat.get_Value()'

description

I am getting the following error, which I believe others have reported as well. I can login to the app ok. I am not using a VPC so I did not download the files that say they are specifically for the VPC.
 
Here is the error. How do I go about fixing this? Thanks.
 
Method not found: 'Single Microsoft.Crm.Skd.CRMFloat.get_Value()'
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.MissingMethodException: Method not found: 'Single Microsoft.Crm.Sdk.CrmFloat.get_Value()'.
at Export.ExpHelper.ExecuteQuery(String fetchXml, ArrayList colsName)
at Export.Form1.btnExecuteQuery_Click(Object sender, EventArgs e)
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.1433 (REDBITS.050727-1400)

CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

Export
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/export%20tool/MSCRMImport/Release/Export.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

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.1433 (REDBITS.050727-1400)

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.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Microsoft.Crm.Sdk
Assembly Version: 4.0.0.0
Win32 Version: 4.0.7333.1408

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/Microsoft.Crm.Sdk/4.0.0.0__31bf3856ad364e35/Microsoft.Crm.Sdk.dll

Microsoft.Crm.SdkTypeProxy
Assembly Version: 4.0.0.0
Win32 Version: 4.0.7333.1408

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/Microsoft.Crm.SdkTypeProxy/4.0.0.0__31bf3856ad364e35/Microsoft.Crm.SdkTypeProxy.dll

System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

20qxdxlo
Assembly Version: 4.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

ss3kpzdh
Assembly Version: 4.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.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:
 
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
 
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.

comments

rango316 wrote Sep 17, 2009 at 3:23 PM

Hi I got the same error, but after actually reading the reame.txt i found the answer you must rebuild it with the 2 SDK files to access it.

Rebuild the project

  1. Download the MSCRM 4.0 SDK using the link http://www.microsoft.com/downloads/details.aspx?FamilyID=82E632A7-FAF9-41E0-8EC1-A2662AAE9DFB&displaylang=en
  2. Copy Microsoft.Crm.Sdk.dll and Microsoft.Crm.SdkTypeProxy.dll in the root folder of the project. Update project references to include the above two dlls.
  3. Build Export.csproj.
Once you create the new references and build it, it will run fine

Cheers

Ian

wrote Feb 13, 2013 at 9:22 PM