<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Serge&#039;s Technology View &#187; deploy crystal reports</title>
	<atom:link href="http://blog.dragonsoft.us/tag/deploy-crystal-reports/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dragonsoft.us</link>
	<description>Talk about Technologies, Software Architecture and Management</description>
	<lastBuildDate>Tue, 20 Apr 2010 14:42:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to deploy Crystal Reports 2008 project &#8211; part 2</title>
		<link>http://blog.dragonsoft.us/2008/10/29/how-to-deploy-crystal-reports-2008-project-part-2/</link>
		<comments>http://blog.dragonsoft.us/2008/10/29/how-to-deploy-crystal-reports-2008-project-part-2/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 15:03:16 +0000</pubDate>
		<dc:creator>Serguei Dosyukov</dc:creator>
				<category><![CDATA[Crystal Reports]]></category>
		<category><![CDATA[404 2 1260]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[bobj is undefined]]></category>
		<category><![CDATA[crystal reports 2008]]></category>
		<category><![CDATA[crystal reports 2008 runtime]]></category>
		<category><![CDATA[crystal reports runtime]]></category>
		<category><![CDATA[deploy crystal reports]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[visual studio 2008]]></category>

		<guid isPermaLink="false">http://blog.dragonsoft.us/?p=543</guid>
		<description><![CDATA[Introduction From part 1 of this article, you got list of steps in order to deploy Crystal Reports 2008 project created in Visual Studio 2008. Next step is to choose deployment strategy, prepare installation script and then install it on IIS server. There is enough written about deployment process from within Visual Studio so let&#8217;s give some people credit [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>From <a href="http://blog.dragonsoft.us/2008/10/09/how-to-deploy-crystal-reports-2008-part-1/" target="_self">part 1</a> of this article, you got list of steps in order to deploy Crystal Reports 2008 project created in Visual Studio 2008.</p>
<p>Next step is to choose deployment strategy, prepare installation script and then install it on IIS server.<br />
There is enough written about deployment process from within Visual Studio so let&#8217;s give some people credit for their work - for example, please check <a href="http://www.15seconds.com/issue/030806.htm" target="_blank">this article</a> &#8211; I am going to use it as a base.</p>
<p>All things considered there is still a variation to that process specific to Crystal Reports.</p>
<p><em>Note: Make sure you have latest runtime available for you &#8211; visit <a href="http://resources.businessobjects.com/support/additional_downloads/runtime.asp#08" target="_blank">SAP download page</a> - as of 10/19/2009 runtime version available is 12.2 .</em></p>
<p><span id="more-543"></span></p>
<h3>Preparing the installation</h3>
<p>Deploying standalone .Net application should not be a problem using standard procedure, but with ASP.Net application some problems may arise&#8230;</p>
<p>Lets go with Windows Installer approach.</p>
<p>One thing to add to the steps presented in the article above &#8211; ensure proper Crystal Report run-time is installed.</p>
<p>If you have followed steps from <a href="http://blog.dragonsoft.us/2008/10/09/how-to-deploy-crystal-reports-2008-part-1/" target="_self">part 1</a> of this article, you now have proper version of runtime installed in VS2008.</p>
<p>After you have created your Web-Setup project and followed all the steps, go to project properties and click <strong>Prerequisites</strong>. What you need to look for here is two lines:</p>
<blockquote>
<ul>
<li>Crystal Reports Basic for Visual Studio 2008</li>
<li>Crystal Reports 2008</li>
</ul>
</blockquote>
<p>We are interested in the second option.<br />
Please notice, this would mean (in default scenario) that during installation your setup would attempt to download redistribution package from SAP web-site.</p>
<p>Build, copy, install&#8230;</p>
<h3>Installation notes</h3>
<p><em>Note: Steps below are based off IIS 6 installation of ASP.Net project.</em></p>
<p>Deployment packages are copied and installed&#8230; Everything is nice and installation seems to be successful.<br />
Trying access a new web-site&#8230; and&#8230; worse case scenario&#8230; error 404 - page not found&#8230; O-oh&#8230;</p>
<p>From IIS log you may notice something like this at the end of the log record - <strong>404 2 1260</strong>.</p>
<p>Please do the following:</p>
<ul>
<li><a href="http://blog.dragonsoft.us/wp-content/uploads/2008/10/wse.png"><img class="alignright size-thumbnail wp-image-550" style="border: 1px solid black;" title="Enable ASP.Net support" src="http://blog.dragonsoft.us/wp-content/uploads/2008/10/wse-small.png" alt="" /></a>Open IIS Management console</li>
<li>Navigate to <strong>Web Service Extension</strong> node</li>
<li>Make sure that <strong>ASP.Net 2.0.50727</strong> (or similar) is enabled</li>
<li>Keep IIS Manager opened for now.</li>
</ul>
<p>So your page is back, but where you should see your CrystalReportViewer control there is nothing. Most likely there would an JS error detected on the page <strong>&#8220;bobj is undefined&#8221;</strong>.<br />
You would need to check that there is &#8220;<strong>crystalreportviewer12</strong>&#8221; virtual folder is present in your site tree. In most cases it should be there, since it is part of CR redistribution package logic. If you have not included it with your setup and/or installed CR support through different means, then you would need to add this virtual folder yourself.</p>
<p><img style="border: 1px solid black;" title="Create Virtual Folder" src="http://blog.dragonsoft.us/wp-content/uploads/2008/10/vf_step_1.png" alt="" /><br />
<img style="border: 1px solid black;" title="Create Virtual Folder" src="http://blog.dragonsoft.us/wp-content/uploads/2008/10/vf_step_2.png" alt="" /><br />
<img style="border: 1px solid black;" title="Create Virtual Folder" src="http://blog.dragonsoft.us/wp-content/uploads/2008/10/vf_step_3.png" alt="" /><br />
<img style="border: 1px solid black;" title="Create Virtual Folder" src="http://blog.dragonsoft.us/wp-content/uploads/2008/10/vf_step_4.png" alt="" /><br />
<img style="border: 1px solid black;" title="Create Virtual Folder" src="http://blog.dragonsoft.us/wp-content/uploads/2008/10/vf_step_5.png" alt="" /><br />
<img style="border: 1px solid black;" title="Create Virtual Folder" src="http://blog.dragonsoft.us/wp-content/uploads/2008/10/vf_step_6.png" alt="" /></p>
<p>And validate folder created</p>
<p><img style="border: 1px solid black;" title="Create Virtual Folder" src="http://blog.dragonsoft.us/wp-content/uploads/2008/10/vf_step_7.png" alt="" /></p>
<p>Another way if you share CR installation between different sites would be to use Export/Import folder info functionality to copy VF info between sites.</p>
<p>Hopefully by that point your CR based web-site should be up and running.</p>
<hr/><span style="font-size: 7pt">Copyright &copy; 2010 <strong><a href="http://blog.dragonsoft.us">Serge&#039;s Technology View</a></strong>. This Feed is for personal non-commercial use only.</span>]]></content:encoded>
			<wfw:commentRss>http://blog.dragonsoft.us/2008/10/29/how-to-deploy-crystal-reports-2008-project-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to deploy Crystal Reports 2008 project &#8211; part 1</title>
		<link>http://blog.dragonsoft.us/2008/10/09/how-to-deploy-crystal-reports-2008-part-1/</link>
		<comments>http://blog.dragonsoft.us/2008/10/09/how-to-deploy-crystal-reports-2008-part-1/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 20:00:27 +0000</pubDate>
		<dc:creator>Serguei Dosyukov</dc:creator>
				<category><![CDATA[Crystal Reports]]></category>
		<category><![CDATA[crystal reports 2008]]></category>
		<category><![CDATA[crystal reports 2008 basic]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[deploy crystal reports]]></category>
		<category><![CDATA[visual studio 2008]]></category>

		<guid isPermaLink="false">http://blog.dragonsoft.us/?p=507</guid>
		<description><![CDATA[Crystal Reports Deployment strategy This is a first part of the discussion about what it takes to deploy Crystal Reports 2008 based project created in Visual Studio. Dependencies When you develop something which involves Crystal Reports you need to deploy CR 2008 run-time along with your project. As you know by now, Visual Studio 2008 [...]]]></description>
			<content:encoded><![CDATA[<h3><em><span style="font-style: normal;">Crystal Reports Deployment strategy</span></em></h3>
<p>This is a first part of the discussion about what it takes to deploy Crystal Reports 2008 based project created in Visual Studio.</p>
<h3>Dependencies</h3>
<p>When you develop something which involves Crystal Reports you need to deploy CR 2008 run-time along with your project.</p>
<p><a href="http://blog.dragonsoft.us/2008/09/30/getting-started-with-crystal-reports-2008/" target="_self">As you know by now</a>, Visual Studio 2008 comes with Crystal Reports 2008 Basic included, which is really a CR v. 10. But if you have Crystal Reports 2008 installed on-top of it, you need to worry about CR v.12.</p>
<p><strong>IMPORTANT.</strong> Do not confuse two!</p>
<p><span style="text-decoration: underline;">When you deploy your Visual Studio 2008 project you need to use appropriate MSI</span> &#8211; either one included with VS or an updated CR 2008 run-time provided by SAP (a new home for Crystal Reports).</p>
<h3>So, where is it?</h3>
<p>Before you rash digging SAP web-site, let&#8217;s examine your local drive. There is a nice place there</p>
<blockquote><p>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\</p></blockquote>
<ol>
<li>If you did not install regular CR 2008, you would find only one folder for your CR:<br />
<blockquote><p>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\</p></blockquote>
<p>and this is where you want to grab distribution package from (64 or 32 bit).<br />
 </li>
<li>Otherwise, even though there is<br />
<blockquote><p>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports 12.0\</p></blockquote>
<p>folder, it may not be much of help since there is no actual files.<br />
Do not worry. Check <strong>product.xml</strong> there. It would tell you few things you need: a) <a href="http://resources.businessobjects.com/support/downloads/redistributables/cr_120/redist/x86/CRRuntime_12_0_mlb.msi" target="_blank">location/URL</a> of MSI you need, and b) required related products &#8211; MS .Net Framework 2.0 and Microsoft.Data.Access.Components.2.8.</li>
</ol>
<p>Now we good to go with <a href="http://blog.dragonsoft.us/2008/10/29/how-to-deploy-crystal-reports-2008-project-part-2/" target="_self">the next step</a>.</p>
<p><em>Note: Make sure you have latest runtime available for you &#8211; visit <a href="http://resources.businessobjects.com/support/additional_downloads/runtime.asp#08" target="_blank">SAP download page</a>.</em></p>
<hr/><span style="font-size: 7pt">Copyright &copy; 2010 <strong><a href="http://blog.dragonsoft.us">Serge&#039;s Technology View</a></strong>. This Feed is for personal non-commercial use only.</span>]]></content:encoded>
			<wfw:commentRss>http://blog.dragonsoft.us/2008/10/09/how-to-deploy-crystal-reports-2008-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
