Brook Braswell
asked on
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.ReportApp Server.Com monObjectM odel 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.CrystalRe ports.Engi ne
CrystalDecisions.ReportSou rce
CrystalDecisions.Shared
CrystalDecisions.Windows.F orms
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.
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.ReportApp
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.CrystalRe
CrystalDecisions.ReportSou
CrystalDecisions.Shared
CrystalDecisions.Windows.F
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.
ASKER
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
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
Why do you have CR2008 installed on a server?
It is a desktop application
mlmcc
It is a desktop application
mlmcc
ASKER
My client has it on his server because he uses it to write his reports from there.
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
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
ASKER
I will try that -
btw, I have CR2008 installed on my development box as well.
btw, I have CR2008 installed on my development box as well.
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
mlmcc
ASKER
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...
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...
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
WHat version of Crystal do you have on the development machine?
You need to install that version with the application.
mlmcc
ASKER
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
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
ASKER
1. Modified the Startup of app.config
<startup useLegacyV2RuntimeActivati onPolicy=" 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.ms i
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.
<startup useLegacyV2RuntimeActivati
<supportedRuntime version="v4.0" sku=".NETFramework,Version
</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.ms
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So how do I modify the GAC ?
I don't know. In that area I am just a user.
mlmcc
mlmcc
ASKER
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.
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.
Glad you got it sorted out.
mlmcc
mlmcc
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