Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / April 2006

Tip: Looking for answers? Try searching our database.

Trouble Publishing Crystal Report DLL files with ClickOnce Deploym

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
E Jensen - 24 Apr 2006 20:22 GMT
I get the following 6 warnings when I try to publish my application with
ClickOnce Deployment:

Unable to apply publish properties for item "crystaldecisions.reportsource".
Unable to apply publish properties for item "crystaldecisions.shared".
Unable to apply publish properties for item "crystaldecisions.windows.forms".
Unable to apply publish properties for item "crystaldecisions.reportsource".
Unable to apply publish properties for item "crystaldecisions.shared".
Unable to apply publish properties for item "crystaldecisions.windows.forms".

The three Crystal Report DLL files mentioned are not published.  
Consequently, an error is thrown when my application attempts to open a
Crystal Report on a machine without the DLL files already installed.

Does anyone know why ClickOnce Deployment would fail to publish particular
DLL files?  Strangely enough, CrystalDecisions.CrystalReports.Engine.dll
publishes fine.
E Jensen - 24 Apr 2006 23:42 GMT
I figured out how to get rid of the warnings, though that doesn't mean the
DLL files will actually get published.  If you set your references to Copy
Local, then their publish status will/can be set to Include (auto).  For some
reason, when the publish status is set to Include (auto) instead of Include,
the warnings go away.

In order to actually install the DLLs to the user machines, the only way I
can figure is to publish with the additional prerequisites setup program
created to include Crystal Reports for .NET Framework 2.0.

It seems to me like Microsoft is purposely not allowing us to publish the
Crystal Report DLL files directly because they want to avoid having a new set
of these DLL files installed on the user machine for each .NET 2.0
application that uses Crystal Reports.  Since use of Crystal Reports is
pretty widespread, I guess it is preferred to install once to the GAC per
machine, even though the extra step in the installation process is a bit
cumbersome.  Either that, or maybe there is a licensing issue that forces
Microsoft to go this route so that the user can agree to the licensing
agreement for Crystal Reports.

Does a representative of Microsoft care to shed light on my speculation?  I
would prefer to publish the Crystal Report DLL files directly instead of
installing to the GAC, but maybe that is not possible for a good reason.

> I get the following 6 warnings when I try to publish my application with
> ClickOnce Deployment:
[quoted text clipped - 13 lines]
> DLL files?  Strangely enough, CrystalDecisions.CrystalReports.Engine.dll
> publishes fine.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.