Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Crystal Report for VS2013

Posted on 2016-11-09
17
Medium Priority
?
382 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 101

Expert Comment

by:mlmcc
ID: 41881084
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
ID: 41881179
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 101

Expert Comment

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

mlmcc
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Author Comment

by:Brook Braswell
ID: 41881486
My client has it on his server because he uses it to write his reports from there.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 41881587
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
ID: 41882057
I will try that -
btw, I have CR2008 installed on my development box as well.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 41882155
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
ID: 41882202
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
 
LVL 101

Expert Comment

by:mlmcc
ID: 41882281
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
ID: 41882307
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 101

Expert Comment

by:mlmcc
ID: 41882348
Look at the suggestions here

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

mlmcc
0
 
LVL 14

Author Comment

by:Brook Braswell
ID: 41882450
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 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 41882481
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
ID: 41882586
So how do I modify the GAC ?
0
 
LVL 101

Expert Comment

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

mlmcc
0
 
LVL 14

Author Comment

by:Brook Braswell
ID: 41882812
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 101

Expert Comment

by:mlmcc
ID: 41882855
Glad you got it sorted out.

mlmcc
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Suggested Courses

876 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