Solved

Crystal Report for VS2013

Posted on 2016-11-09
17
36 Views
Last Modified: 2016-11-10
I had successfully built a project in VS2013 using vb.net.  I added the CRforVS_13_0_17.  I deployed in a clients server with no problems.
When I installed on the next server the client already has CR2008 installed.  I receive an error during the setup process of my app.

Unable to install or run the application.  The application requires that assembly CrystalDecisions.ReportAppServer.CommonObjectModel Version 13.0.2000.0 be installed in the Global Assembly Cache (GAC) first.

I have searched this error and for the version "problem" and only see where the most common answer seems that I need to install CRVS2010 on the clients server.  I can not locate where to get this so that I can download it.

My project has the following references:
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms

Although these are installed from CRforVS_13..., they show the version as 13.0.2000.0

I have tried to overcome this by installing
CRRuntime_64bit_13_0_17 on the clients server with same result.
The server is 2008 r2 64bit.
I develop on Windows 7 Professional N
also 64bit.
0
Comment
Question by:Brook Braswell
  • 9
  • 8
17 Comments
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Is there another Crystal application installed on that server?

This indicates you need to install the Crystal runtimes as a prerequisite to installing the application.

What service pack level is installed on the development machine?

mlmcc
0
 
LVL 14

Author Comment

by:Brook Braswell
Comment Utility
The only Crystal applications installed on the Target machine are my app and CR2008.

When you say the Crystal Runtimes as a prerequisite, are you referring to the ReDist ?  I had installed the CRRuntime_64bit_13_0_17 with same result.

My development machine is Windows 7 Professional N SP1
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Why do you have CR2008 installed on a server?
It is a desktop application

mlmcc
0
 
LVL 14

Author Comment

by:Brook Braswell
Comment Utility
My client has it on his server because he uses it to write his reports from there.
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
That could be the problem.

Could it be installed on his desktop then deleted from the server.
Install your application.
If that works you may be able to reinstall CR2008 on the server

mlmcc
0
 
LVL 14

Author Comment

by:Brook Braswell
Comment Utility
I will try that -
btw, I have CR2008 installed on my development box as well.
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
I recall a couple of older versions where you had to install in the correct order then reinstall the first because the second install broke something in the first one.

mlmcc
0
 
LVL 14

Author Comment

by:Brook Braswell
Comment Utility
you are in my experience a very knowledgeable person in this area...
what is the error really referring to ?  Needing 13.0.2000.0 installed ?
All other places say I need to have CRVS2010 installed but I can not find that anywhere...
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
CR for VS2010 is just CR ver13.  Rather than releasing newer version for Visual Studio they have opted to release updates in the form of feature packs and service packs.

WHat version of Crystal do you have on the development machine?
You need to install that version with the application.

mlmcc
0
 
LVL 14

Author Comment

by:Brook Braswell
Comment Utility
I have 2008 installed on my development  machine.
I removed 2008 from the Client machine.
the install of my app produced the same result.

app requires Version 13.0.2000.0 be installed in the GAC
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Look at the suggestions here

https://archive.sap.com/discussions/thread/2079121

mlmcc
0
 
LVL 14

Author Comment

by:Brook Braswell
Comment Utility
1.  Modified the Startup of app.config
     <startup useLegacyV2RuntimeActivationPolicy="true">
     <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
     </startup>
    Did not resolve

2.  Changed from Target CPU ( x64 to x86 )
     Did not resolve

3.  I have the redistributable intsalled ( uninstalled and reinstalled )
     CRRuntime_64bit_13_0_17.msi
    Did not resolve

Could this be the problem ????
" I think I know what the issue is. It is Windows x64. No user has permission to add to the GAC, not even administrator. This also is a big problem found all over the NET, but no answer as to how to get assemblies into the GAC under WIN 7 64."

I have tried to turn off the UAC to make sure that is not causing an issue and will need to get client to reboot to see if that help but it is more of grasping at a straw in my opinion.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
Comment Utility
That would be a problem.  Not an admin but I believe you need to modify the GAC to make this work.

mlmcc
0
 
LVL 14

Author Comment

by:Brook Braswell
Comment Utility
So how do I modify the GAC ?
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
I don't know.  In that area I am just a user.

mlmcc
0
 
LVL 14

Author Comment

by:Brook Braswell
Comment Utility
ok - so this is what I did...

I stalled the 32bit CRRuntime as well as the 64bit ( 13.0.7 )
this gave me a different error indicating that the stdole version 7.0.3300.0 was not in the GAC
I found the dll for the stdole and added it to my project.  I do not use it but included it anyway.

 I modified the Application Files settings in my 2013 project to take each of these files (4  CrystalDecision....dlls and the stdole )
set their publish status to INCLUDE.  I had started out these were Prerequisite (auto) by default.  I had changed them to Include (auto) but this last time I set them to just INCLUDE.

I ran the Setup of the published app as administrator.

Now everything installs and works fine.
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Glad you got it sorted out.

mlmcc
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now