Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8627

Re: Application deployment Issue using CR for VS 2013

$
0
0

Ludek,

 

Okay, after spending a considerable amount of time on this issue, I have found a solution that works but I have to say I don’t know why.

 

First, I went back and checked the latest Win 7 64 bit machine where I had deployed my app. After the ClickOnce app had downloaded and installed the Crystal run time, it failed with the original message about the CommonObjectModel missing. I then used the gacutil to verify that all of the CrystalDecisions dlls were either in the MSIL or the AMD64 area. I have tried so many things that I can’t say why I didn’t find them there before but that was one issue off the table.

 

Next, I went back into the Visual Studio property pages for this app and matched up what was showing under the “References” tab to what was showing under ”Publish/Applications Files” (see the list below).

 

References:

  1. CrystalDecisions.CrystalReports.Engine
  2. CrystalDecisions.ReportSource
  3. CrystalDecisions.Shared
  4. CrystalDecisions.Windows.Forms

 

Publish/Application Files:

  1. CrystalDecisions.CrystalReports.Engine.dll
  2. CrystalDecisions.ReportAppServer.ClientDoc.dll
  3. CrystalDecisions.ReportAppServer.CommLayer.dll
  4. CrystalDecisions.ReportAppServer.CommonControls.dll
  5. CrystalDecisions.ReportAppServer.CommonObjectModel.dll
  6. CrystalDecisions.ReportAppServer.Controllers.dll
  7. CrystalDecisions.ReportAppServer.CubeDefModel.dll
  8. CrystalDecisions.ReportAppServer.DataDefModel.dll
  9. CrystalDecisions.ReportAppServer.DataSetConversion.dll
  10. CrystalDecisions.ReportAppServer.ObjectFactory.dll
  11. CrystalDecisions.ReportAppServer.Prompting.dll
  12. CrystalDecisions.ReportAppServer.ReportDefModel.dll
  13. CrystalDecisions.ReportAppServer.XmlSerialize.dll
  14. CrystalDecisions.ReportSource.dll
  15. CrystalDecisions.Shared.dll
  16. CrystalDecisions.Windows.Forms.dll

 

I decided to add the “ReportAppServer” dlls one at a time to the list of references, starting with the CommonObjectModel and re-publish the app every time I added one. Each time it failed, I added the next dll it said was missing in the GAC to the list of references. At the end of this exercise, and after the app had installed with no errors, the only two I had not added to the list was the CommonControls and DataSetConversion dlls.

 

When I launched the app, all the reports were rendered in the viewer as they should have.

 

Also, all of the "ReportAppServer" dlls still show up as unused references in my app.

 

I don't know what the ReportAppServer dlls do and I didn't need them before this CRVS2013 version came out but if this is what it takes to make it work, I'm leaving them there.

 

Thanks for all your help and suggestions.

 

David


Viewing all articles
Browse latest Browse all 8627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>