System.TypeLoadException: 'Method 'get_HistoryInfos' in type 'CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper' from assembly 'CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' does not have an implementation.'
Running into issues with my Visual Studio 2019 project, which is using CrystalReports Service Pack 30. When attempting to create a ReportDocument object, the system throws an error (see text above). Attempted for several days to find a solution online, and am not sure what to do next to rectify the problem. Any feedback or assistance you can provide is greatly appreciated.
Related
i am creating an C# application in which i am facing error
"Could not load file or assembly 'Microsoft.SqlServer.SqlClrProvider, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The module was expected to contain an assembly manifest.".
i am getting this error while creating ADo.net entitydata model designer from database.
I have installed "SqlSysClrType.msi" for my Sql Server 2014
and "SharedManagementObjects.msi" for my Sql Server 2014, although both were previously installed.
i am running visual studio 2013 ultimate and sql server 2014 developer edition. please help me solve this
I can advice 2 solutions:
Solution #1
Use the following links:
http://blog.waseem-sabjee.com/2013/07/10/how-to-resolve-sqlclrprovider-not-found-without-installing-sql-server-on-the-client-machine-or-needing-a-deployment-project/
http://big.info/2011/12/could-not-load-file-or-assembly.html
If all fails try the following solution:
Solution #2
On your machine where you have SQL Server installed, the "Microsoft.SqlServer.SqlClrProvider.dll" file is in your GAC. However, you cannot access this file without making changes to the registry.
Using the registry editor, go to "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Fusion". Add a new DWORD called DisableCacheViewer. Give it a value of 1.
Once this change is made, you can go to "C:\Windows\assembly\GAC_MSIL\Microsoft.SqlServer.SqlClrProvider\" to get the dll you need. then add it as a reference in the project.
I hope you've found it helpful.
I was trying to create a Apps for Office project on Visual Studio 2013. However, I end up getting these errors:
Unhandled exception occurred while creating a SharePoint project item from the following location: c:\users\benjamin\documents\visual studio 2013\Projects\BindingZonesSandbox\BindingZonesSandbox\BindingZonesSandboxManifest.
Exception: InvalidOperationException. Message: "An error occurred
while trying to load a required component. Please ensure that the
following prerequisite component is installed:
Microsoft Exchange WebServices."Unhandled exception occurred while calling method 'OnCollectionChanged' of type
'System.Collections.Specialized.CollectionChangedEventManager,
WindowsBase, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35'. Exception:
System.InvalidOperationException. Message: "An error occurred while
trying to load a required component. Please ensure that the following
prerequisite component is installed:
Microsoft Exchange WebServices."Error: this template attempted to load component assembly 'Microsoft.VisualStudio.Web.Project, Version=2.3.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'. For more information on this problem
and how to enable this template, please see documentation on
Customizing Project Templates.
It seems to be asking me to install some prerequisites but I don't know what exactly they are asking me to install.
Any ideas?
Would you like to tell use which type of project you have created?
Please make sure that you are creating "App for Office" instead of "App for SharePoint".
I'm attempting to start using VS 2012 instead of VS 2010, but after installing VS 2012 and .Net 4.5. I'm getting code analysis errors in VS 2010 saying The following error was encountered while reading module 'xxx_Accessor': Could not resolve type reference: [System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089] System.Windows.Input.ICommand.
I'm guessing this is related to the fact that .Net 4.5 has moved the location of the ICommand interface, but is there a solution to this so that code analysis will run again? I've tried adding the ignorestrongassemblynames to the project file of the test project and the project under test, but that hasn't worked.
I've had just the same problem, but not with all of the assemblies that reference ICommands, just some.
I removed the reference to PresentationCore, rebuilt and re-added it. The problem went away.
I'm using Visual Studio C++ 2010 and I've been using it for about 3 months now. Recently, It refused to start, giving me a "Operation could not be solved" error whenever I tried to do that. I tried reinstalling and now it's saying "Could not load file or assembly 'System, Version = 4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies . Invalid pointer (Exception from HRESULT: 0x80004003(E_POINTER))"
Please help, I'm unable to open the program at all, and I can't program anything in windows until I get this fixed. I suspect it's something in the registry but I don't really know.
suggestion to narrow down your issue
Download .NET Framework Verification Tool to verify whether .NET Framework 4 is installed correctly on your machine or not.
If it verified successfully, could you please type Devenv.exe /ResetSkipPkgs to skip loading added to VSPackages. More info about this.
Take care.
Is there a way (or can anyone find a way) to import IronScheme into VS2010? I've already taken a look at this question, and I've done everything I could - I even edited the binary files involved to change the version numbers. My question: Does anyone have a solution for getting IronScheme installed into VisualStudio 2010? at present, following the directions to install it into VS2008 does not work for VS2010. Thanks in advance :)
Update 1: I suppose I should post the error I get when I try to follow the directions for installing it via commandline:
C:\Program Files\IronScheme>RegPkg.exe /codebase "C:\Program Files\IronScheme\IronScheme.VisualStudio.dll"
After I run that, I get a Windows 7 popup error:
RegPkg.exe Has Stopped Working - Windows is checking for a solution to
the problem...
When I click out of that, it gives me this error on the console:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'
at Microsoft.VisualStudio.Tools.RegPkg.Main(String[] arguments)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
I wrote the VS2008 plugin.
When VS2010, the whole API changed again, and if you have ever been in the VS SDK API, you will know it is a maze. I just did not feel like the effort again.
I have a bunch of great ideas but for the life of me I cannot even figure the simple stuff out.
If someone want to actually port my code from VS2008, I would appreciate it. It should not be too hard if you are a bit more familiar with the API than I am.
The source code for the VS2008 plugin is not currently available for the public. Please let me know if anyone is serious about so I can create a github (or similar) repo for it.
Update:
Created a github repo. The code is not the same as the existing DLL I distribute; it contains various half working ideas I was trying.
Update 2:
Here you go :) Very basic, but works on VS2010 and VS11 (should work on Express versions too). Source is in the vs11 branch of above mentioned github repo. It is just a subset of what the VS2008 plugin does as some features seem to be broken or have broken due to bit rot.
Update 3:
Seems the VS2010 plugin fails if only VS2010 is installed. Will have to investigate. Works fine if both VS2010 and VS11 is installed. FIXED :)
I have started rewriting a new plugin.
You can see the github repo for more details:
https://github.com/leppie/IronScheme.VisualStudio2
There is also a download available to try out :)