on 02-18-2014 6:09 PM
Looking at the 2nd last statement in the log:
Process exited with code 1603
Makes me wonder if the suggestion made in this Discussion will help:
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ludek,
Thank you for the link. I went to it and then to the article you linked to on Microsoft's website, KB article 834484. It seems like that might be relevant to my situation, but I wonder about giving full control rights to the SYSTEM account. Mainly because the article specifically said (at least I interpret it this way) that it only applied to Windows 2000 and XP. I'm trying to install the WinForms app that uses Crystal Reports for VS 2010, onto a Windows 7 Professional PC; not the same thing. The folder isn't encrypted, nor is it substitute drive. I'm wondering if I might be better off trying to install Crystal Reports for .NET 4.0 separately, and then attempt to use the ClickOnce deployment for my app?
Addendum: I've checked the user's machine, and it appears as though Crystal Reports for .NET 4.0 64-bit has already been installed, so I guess that doesn't resolve the issue.
So why is it that every time I try to run the application, using ClickOnce deployment, it insists upon trying to install Crystal Reports for .NET 4.0?
Hi Ludek,
I'm now using a laptop that is a 64-bit Windows 7 Professional machine. I've tried again to install the application on this machine. It got past the point of installing Crystal Reports for .NET 4.0. Which is both good and bad, because I don't know why it should work there, but not on the user's machine.
However, I ran into another problem which might be related to what's causing this whole thing to begin with. As the ClickOnce installation continued I then got this error message:
I've never gotten this error on any machine I've installed the app on, so I don't know why it suddenly requires the assembly CrystalDecisions.ReportAppServer.CommonObjectModel to be installed in the GAC. Is there some way I can include that, locally with the application, rather than installing it in the GAC?
I'm looking at the project's references now. CrystalDecisions.ReportAppServer.CommonObjectModel is not listed there. However, perhaps one of the other ones uses it? The ones that are listed in the project's references are:
Could any of those include CrystalDecisions.ReportAppServer.CommonObjectModel?
I don't think so, but you should not need CrystalDecisions.Data.AdoDotNetInterop, so remove that, see if anything changes (I doubt it, but nothing to loose). Also, a bit more info as I am a bit confused on these two points:
1) It got past the point of installing Crystal Reports for .NET 4.0.
2) As the ClickOnce installation continued I then got this error message
As I might read it, (1) you were running the CRVS install exe(?) --> http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_8.exe
??
Then (2), you ran the clickonce -> http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_clickonce_13_0_8.zip
??
- Ludek
Oh, I see what you're saying. I'm sorry, I confused things. What I meant was that the last time I ran the ClickOnce installation, it got past the installing CR for .NET 4.0. However, it then complained about the ReportAppServer. I've just removed the reference to reference to CrystalDecisions.Data.AdoDotNetInterop. I'm going to give this another try and see if that resolves the issue.
I also tried to attach the log file, but this forum software would not let me. So, here's the install.log file, which I've renamed "Invoicing2 install.log.txt":
What is wrong with this forum software?????????????????????????????????????????????????
I'm tryiung to attach a file of type .txt, which is SAID is valid, but IT WILL NOT LET ME?! WHY NOT????????????????????????????????
OK, let's give this another try. Attempting to attach the install.log file.
Well, it still doesn't want to work. It refuses to accept a .txt file that's 14 KB in size, and I've no idea why not. (I get an error, when attempting to attach the .txt file, that says, "The content type of this attachment is not allowed." What's wrong with a small .txt file? It's certainly the correct file type and it's significantly smaller than the maximum file attachment allowed.)
OK, I tried something different. Looking closely at the install.log file I see that it tried to install a file named CRRuntime_64bit_13_0_4.msi, and it tried to do so using elevated privileges. At that point, it failed. So I figured, what the heck, I'll launch a Command Prompt with elevated privileges and try to run the same .msi file. This time I got some more information; it still failed, but I got more information. The message said:
"SAP Crystal Reports runtime engine for .NET Framework 4
A newer version of SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit) is detected. This installation cannot continue until the current version has been uninstalled. Setup will now exit."
The next dialog box indicated that it failed, and I'm sure that's what's causing the installation to fail. So now I've got a couple of questions. First, do I really need the older SAP Crystal Reports runtime engine for .NET Framework 4, in order to make this app run on the user's machine? I would think it would work with the newer version, since I would assume backward compatibility is building into the CR runtime.
If the answer to the first question is yes (we can use the newer CR runtime), then how to I make the ClickOnce deployment not insist upon trying to install the older CR runtime?
Hi Don,
I've uninstalled all Crystal installations on the user's machine. Then tried running the ClickOnce installer again. It did get further. However, now it's at the same place as when I try to install the application on the laptop. Specifically, it gets to the point where it says that the assembly CrystalDecisions.ReportAppServer.CommonObjectModel version 13.0.2000.0 must be installed in the Global Assembly Cache (GAC). The same error message I mentioned in this thread back on February 20th.
I know that there's no reference at all, anywhere in the application to that assembly. I've checked and searched through the whole solution (not just the project); it isn't referenced anyway. Neither is it in the references for the assembly.
Any ideas as to how I can get that assembly into the GAC?
I finally got it to install. I had to download CR for .NET 4.0, but the one using Support Pack 2, and I removed that automatic installation from the ClickOnce deployment. I originally thought that getting the latest support pack would be right, but it now appears to me as though they're breaking changes. I installed the Support Pack 2 one, and ran the ClickOnce deployment, and now the user can use the app, printing reports, etc.
Let's see if I can copy andf paste that txt file content here:
We've got a Windows Forms app written in VS 2010. It uses Crystal Reports for Visual Studio 2010. The problem we're having is when the user attempts to install the application onto their PCs. (We're using ClickOnce deployment.) They get an error that says, "Fatal error during installing. The following components failed to install: -SAP Crystal Reports Runtime Engine for .NET Framework 4.0". Then it points to an install.log. In looking at that log I find the following (I'm only including what I believe is the relevant parts):
Running checks for package 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0', phase BeforePackage
Reading value 'CRRuntime32Version' of registry key 'HKLM\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports'
Read string value '13.0.5'
Setting value '13.0.5 {string}' for property 'CRRuntime32Version'
Reading value 'CRRuntime64Version' of registry key 'HKLM\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports'
Unable to read registry value
Not setting value for property 'CRRuntime64Version'
The following properties have been set for package 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0':
Property: [CRRuntime32Version] = 13.0.5 {string}
Running checks for command 'Crystal Reports for .NET Framework 4.0\CRRuntime_64bit_13_0_4.msi'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': false
Skipping ByPassIf because Property 'CRRuntime64Version' was not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Skipping FailIf because Property 'Version9x' was not defined
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.00': false
Result of checks for command 'Crystal Reports for .NET Framework 4.0\CRRuntime_64bit_13_0_4.msi' is 'Install'
'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' RunCheck result: Install Needed
Verifying file integrity of C:\Users\rfalanga\AppData\Local\Temp\VSD18A.tmp\Crystal Reports for .NET Framework 4.0\CRRuntime_64bit_13_0_4.msi
WinVerifyTrust returned 0
File trusted
Installing using command 'C:\Windows\SysWOW64\msiexec.exe' and parameters ' -I "C:\Users\rfalanga\AppData\Local\Temp\VSD18A.tmp\Crystal Reports for .NET Framework 4.0\CRRuntime_64bit_13_0_4.msi" -q '
Will attempt to elevate process.
Process exited with code 1603
Status of package 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' after install is 'InstallFailed'
So, what could be wrong, and why is it failing?
Yup - no problem....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.