We use Crystal Reports with Visual Studio. We are using Sandcastle to build documentation. Seems like everything worked fine when we were on Visual Studio 2008. Now that we're using Visual Studio 2010, I get a Crystal Reports related error when trying to build the documentation.
MREFBUILDER : error : Unresolved assembly reference: BusinessObjects.Licensing.KeycodeDecoder (BusinessObjects.Licensing.KeycodeDecoder, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304) required by CrystalDecisions.CrystalReports.Engine
Last step completed in 00:00:03.3283
Browsing the web shows that there were some people with a similar problem, but none of them seem to have gotten it fixed. Does anyone know what could be causing this error?
Thanks ahead of time for the help!
There is now a permanent fix in the latest Sandcastle to process Dot Net projects that include Crystal Reports - please see the post http://geekswithblogs.net/TATWORTH/archive/2012/10/12/sandcastle-help-file-builder---october-2010-release.aspx
The latest Sandcastle download is at http://shfb.codeplex.com/releases/view/92191
Related
I have DevExpress XtraReports v18.1.6 version and PostgreSQL 4 v3.3. Visual studio 2017 v15.3.3 and Windows 7.
Here is scenario: In my project, I have some reports writen in devexpress v17.2. I could not run those reports, because I could not download exactly that version 17.2, I install new 18.1.6. Then in Visual studio main menu "DevExpress" I click on "Project converter to 18.1.." and that action replace my old dlls v17.2 with new 18.1. After that I could run reports (see it in designer).
But problem is with databse connection. I created connection string with "XpoProvider=Postgres".
Every time when I want to get data in report, or rebuild result shema, or manage queries I get error:
Could not load file or assembly 'System.Threading.Tasks.Extensions, Version=4.2.0.0,...
I have that reference, exactly that version. Also I tried with new versions of threading.tasks but unsuccessfully.
My version of Npgsql.dll was 2.2.7, I tried with 3.2.5 (read from some devexpres documentations). Also tried with new 4.0.3.
Did anyone have a similar problem?
we had the same issue when using the DevExpress (18.1) Report Designer with Visual Studio 2017.
I know this might not be an ideal or the best solution but at least it worked for us:
I used ProcMon to determine where it was looking for that specific File, for me it turned out to be C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\hhfnlhs1.kna
I downloaded the NuGet Package for System.Threading.Tasks.Extensions from NuGet (https://www.nuget.org/packages/System.Threading.Tasks.Extensions/)
I unzipped the Package and stored the DLL at that path from step 1
I had to active "loadFromRemoteSources" in my machine-config (see https://learn.microsoft.com/en-us/previous-versions/dotnet/netframework-4.0/dd409252(v=vs.100))
I had to put another DLL from NuGet (https://www.nuget.org/packages/System.Runtime.CompilerServices.Unsafe/4.5.2) into that folder from step 1
That's it - now I can access the DB again.
As title says, how do I fix this? I have tried every solution I could find here.
Im using Visual Studio Community 2017 RC
When adding the media services nuget package, VS 2015 is giving me errors about having no working folder mapping, then rolls back.
Here is an example of the message:
There is no working folder mapping for C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\lib\net45.
When I open the same solution from VS 2013, it works as expected.
Does anyone know how to resolve the error is VS 2015, or perhaps why it doesn't work there but does work in VS 2013?
(In VS 2015, I opened the solution by browsing to the sln file locally - not by retrieving the solution from source control.)
This is a known bug: https://github.com/NuGet/Home/issues/1004 Use Visual Studio 2013 for now. In the rush to get it out, Microsoft released a product that was not ready, even though technically this is a NuGet issue.
Not a long term solution, but I unbound from TFS, added the packages I needed, then rebound.
Try to unbound the solution and projects in TFS before updating the nuget packages.
To unbound try this
You should be able to avoid the error if you unbound from TFS. To unbound, go to File->Source Control->Advance->Change Source Control. Select the project and click on the Unbound button\link at top.
I have a program that works properly on x86. also it works on systems with visual studio without error even on x64. but on x64 systems without visual studio, occur error when call reports. message exception is :
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Source:
CrystalDecisions.CrystalReports.Engine
Stack Trace:
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
and message that contain this decription :
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
my program is based on:
.net framework 4
visual studio 2012
crystal report 13.0.2
and install CRRuntime_64bit_13_0_2 sometimes.
Can anyone help me?
One possible solution
Go to your application project, right click, and select "Properties"
On the Build tab, find the Platform Target combo box. It probably says, "Any CPU".
Change this to x86 and your project will compile for 32 bit only, thus eliminating the issue.
Can I use Crystal Report 10.5 of VS2008 with VS2010?
As far as I have worked out no in terms of you can't use the designer and it won't generate the .cs files for any reports you add to the project. However you can compile and run any existing stuff.
A way to work around this is maintain a VS 2008 solution file pointing to the same projects. Loading them up in vs 2008 whenever you need to edit or create new reports. Then switch back to vs 2010 when doing anything else once the .cs files behind the reports are built and editing is done.
Also crystal reports for vs 2010 I believe is out but doesn't come with it anymore.