Crystal Report for VS2013

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.
LVL 14
Brook BraswellApplication Development ManagerAsked:
Who is Participating?
 
mlmccConnect With a Mentor Commented:
That would be a problem.  Not an admin but I believe you need to modify the GAC to make this work.

mlmcc
0
 
mlmccCommented:
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
 
Brook BraswellApplication Development ManagerAuthor Commented:
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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
mlmccCommented:
Why do you have CR2008 installed on a server?
It is a desktop application

mlmcc
0
 
Brook BraswellApplication Development ManagerAuthor Commented:
My client has it on his server because he uses it to write his reports from there.
0
 
mlmccCommented:
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
 
Brook BraswellApplication Development ManagerAuthor Commented:
I will try that -
btw, I have CR2008 installed on my development box as well.
0
 
mlmccCommented:
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
 
Brook BraswellApplication Development ManagerAuthor Commented:
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
 
mlmccCommented:
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
 
Brook BraswellApplication Development ManagerAuthor Commented:
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
 
mlmccCommented:
Look at the suggestions here

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

mlmcc
0
 
Brook BraswellApplication Development ManagerAuthor Commented:
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
 
Brook BraswellApplication Development ManagerAuthor Commented:
So how do I modify the GAC ?
0
 
mlmccCommented:
I don't know.  In that area I am just a user.

mlmcc
0
 
Brook BraswellApplication Development ManagerAuthor Commented:
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
 
mlmccCommented:
Glad you got it sorted out.

mlmcc
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.