<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: ActiveX Print component does not work in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/activex-print-component-does-not-work/qaa-p/5862820#M2164018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, re-posting because post above has no carriage returns in it. Seems you have to stick a html return in?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the Crystal Report Viewer in Visual Studio / .Net I have looked at a couple of threads that discuss this problem, but the problem is either not resolved or I don't understand the resolution.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I have downloaded the cab file and put it in a directory. I have created a virtual directory in IIS and pointed it to the directory that contains the cab file. If I stick the address of the virtual directory in a browser ... &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;http://myServer/CrystalReportsCAB/PrintControl.cab&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; ... it asks me if I want to Open or DownLoad the file. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;If I use the website and try to print a report (where printMode is ActiveX ... CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.ActiveX) a Modal web dialog appears but nothing else happens. If you close the modal web dialog and click 'View Source' to see the source of the underlying page (which has done a PostBack) it contains ... &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;var prm = new Object(); prm.codebase = "http://myServerAppraisals/PrintControl.cab";&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; ... which, as I said above, is definitely the right address for the cab file (if you stick it in a browser it asks you if you want to Open or Save the file - if you select 'Open' it displays a window with half a dozen files in there including printcontrol.dll) &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;So, the question is ... why isn't the ActiveX component downloading? I have tried every permutation you can think of in Internet Explorer - prompt for Active X controls, Enable them etc - but nothing makes any difference. I have also tried putting the cab file in the root of the site and altered web config as follows: &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;add key="url" value="http://myServer/Appraisals/PrintControl.cab"&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; but this makes no difference. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Again, though, if you put that last url into a browser, it finds the cab file and asks if you want to open or save it. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;So, the page that wants to print the report definitely gets a correct reference to the cab file - but does not download it. Finally, one other bit of info ... the deployment of the application is on an intranet. I develop on a pc and publish the site to a user acceptance server for testing and then to a live server. The sites are published (as opposed to copied) so they are compiled and a dll produced. So, after publishing, I test by going to the User Acceptance Testing or Live sites by typing their address in a browser i.e. I am accessing the compiled code. When I try to print it works - the modal web dialog window appears for a few seconds and then the Print dialog window appears with a list of available printers. But, everyone else in the organisation - typing exactly the same address into their browser, accessing the site(s) in exactly the same way as me, finds the printing does not work. The modal window appears and nothing happens. A number of these people are administrators on their machines and they have all tried every permutation they can think of inside Internet Explorer to allow the ActiveX control to download. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Any ideas much appreciated. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I'm at the point of buying a third party bit of software just so we can print some labels. Edited by: Sergeant Bilko on Jul 16, 2009 7:16 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sergeant Bilko on Jul 16, 2009 7:29 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sergeant Bilko on Jul 16, 2009 7:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2009 17:18:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-16T17:18:37Z</dc:date>
    <item>
      <title>ActiveX Print component does not work</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-print-component-does-not-work/qaq-p/5862819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the Crystal Report Viewer in Visual Studio / .Net&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked at a couple of threads that discuss this problem, but the problem is either not resolved or I don't understand the resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded the cab file and put it in a directory. I have created a virtual directory in IIS and pointed it to the directory that contains the cab file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I stick the address of the virtual directory in a browser ... &lt;A href="http://myServer/CrystalReportsCAB/PrintControl.cab" target="test_blank"&gt;http://myServer/CrystalReportsCAB/PrintControl.cab&lt;/A&gt; ... it asks me if I want to Open or DownLoad the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the website and try to print a report (where printMode is ActiveX ... CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.ActiveX) a Modal web dialog appears but nothing else happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you close the modal web dialog and click 'View Source' to see the source of the underlying page (which has done a PostBack) it contains ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var prm = new Object();&lt;/P&gt;&lt;P&gt;prm.codebase = "http://myServerAppraisals/PrintControl.cab"; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which, as I said above, is definitely the right address for the cab file (if you stick it in a browser it asks you if you want to Open or Save the file - if you select 'Open' it displays a window with half a dozen files in there including printcontrol.dll)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the question is ... why isn't the ActiveX component downloading? I have tried every permutation you can think of in Internet Explorer - prompt for Active X controls, Enable them etc - but nothing makes any difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried putting the cab file in the root of the site and altered web config as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add key="url" value="http://myServer/Appraisals/PrintControl.cab"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this makes no difference. Again, though, if you put that last url into a browser, it finds the cab file and asks if you want to open or save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the page that wants to print the report definitely gets a correct reference to the cab file - but does not download it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, one other bit of info ... the deployment of the application is on an intranet. I develop on a pc and publish the site to a development server for testing and then to a live server. The sites are published (as opposed to copied) so they are compiled and a dll produced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, after publishing, I test by going to the User Acceptance Testing or Live sites by typing their address in a browser i.e. I am accessing the compiled code - when I try to print it works - the modal web dialog window appears for a few seconds and then the Print dialog window appears with a list of available printers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, everyone else in the organisation - typing exactly the same address into their browser, accessing the site(s) in exactly the same way as me, finds the printing does not work. The modal window appears and nothing happens. A number of these people are administrators on their machines and they have all tried every permutation they can think of inside Internet Explorer to allow the ActiveX control to download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas much appreciated. I'm at the point of buying a third party bit of software just so we can print some labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sergeant Bilko on Jul 16, 2009 7:16 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 17:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-print-component-does-not-work/qaq-p/5862819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T17:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX Print component does not work</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-print-component-does-not-work/qaa-p/5862820#M2164018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, re-posting because post above has no carriage returns in it. Seems you have to stick a html return in?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the Crystal Report Viewer in Visual Studio / .Net I have looked at a couple of threads that discuss this problem, but the problem is either not resolved or I don't understand the resolution.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I have downloaded the cab file and put it in a directory. I have created a virtual directory in IIS and pointed it to the directory that contains the cab file. If I stick the address of the virtual directory in a browser ... &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;http://myServer/CrystalReportsCAB/PrintControl.cab&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; ... it asks me if I want to Open or DownLoad the file. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;If I use the website and try to print a report (where printMode is ActiveX ... CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.ActiveX) a Modal web dialog appears but nothing else happens. If you close the modal web dialog and click 'View Source' to see the source of the underlying page (which has done a PostBack) it contains ... &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;var prm = new Object(); prm.codebase = "http://myServerAppraisals/PrintControl.cab";&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; ... which, as I said above, is definitely the right address for the cab file (if you stick it in a browser it asks you if you want to Open or Save the file - if you select 'Open' it displays a window with half a dozen files in there including printcontrol.dll) &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;So, the question is ... why isn't the ActiveX component downloading? I have tried every permutation you can think of in Internet Explorer - prompt for Active X controls, Enable them etc - but nothing makes any difference. I have also tried putting the cab file in the root of the site and altered web config as follows: &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;add key="url" value="http://myServer/Appraisals/PrintControl.cab"&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; but this makes no difference. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Again, though, if you put that last url into a browser, it finds the cab file and asks if you want to open or save it. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;So, the page that wants to print the report definitely gets a correct reference to the cab file - but does not download it. Finally, one other bit of info ... the deployment of the application is on an intranet. I develop on a pc and publish the site to a user acceptance server for testing and then to a live server. The sites are published (as opposed to copied) so they are compiled and a dll produced. So, after publishing, I test by going to the User Acceptance Testing or Live sites by typing their address in a browser i.e. I am accessing the compiled code. When I try to print it works - the modal web dialog window appears for a few seconds and then the Print dialog window appears with a list of available printers. But, everyone else in the organisation - typing exactly the same address into their browser, accessing the site(s) in exactly the same way as me, finds the printing does not work. The modal window appears and nothing happens. A number of these people are administrators on their machines and they have all tried every permutation they can think of inside Internet Explorer to allow the ActiveX control to download. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Any ideas much appreciated. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I'm at the point of buying a third party bit of software just so we can print some labels. Edited by: Sergeant Bilko on Jul 16, 2009 7:16 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sergeant Bilko on Jul 16, 2009 7:29 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sergeant Bilko on Jul 16, 2009 7:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 17:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-print-component-does-not-work/qaa-p/5862820#M2164018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T17:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX Print component does not work</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-print-component-does-not-work/qaa-p/5862821#M2164019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do not mention what version of CR you are using, but see if [this|https://www.sdn.sap.com/irj/scn/sdnweblogs/postweblog] blog provides any clues / help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ludek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 18:02:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-print-component-does-not-work/qaa-p/5862821#M2164019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T18:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX Print component does not work</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-print-component-does-not-work/qaa-p/5862822#M2164020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The developer who created the reports tells me he is using version 11.5.3.417&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Visual Studio 2005 version 8.0.50727.762&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The references in my web config file to various assemblies are:&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;add assembly="CrystalDecisions.CrystalReports.Engine, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" /&amp;gt;
				&amp;lt;add assembly="CrystalDecisions.Enterprise.InfoStore, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" /&amp;gt;
				&amp;lt;add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" /&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 19:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-print-component-does-not-work/qaa-p/5862822#M2164020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T19:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX Print component does not work</title>
      <link>https://community.sap.com/t5/technology-q-a/activex-print-component-does-not-work/qaa-p/5862823#M2164021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is fine. The basic troubleshooting suggestions in that blog should still apply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ludek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 20:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/activex-print-component-does-not-work/qaa-p/5862823#M2164021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T20:58:23Z</dc:date>
    </item>
  </channel>
</rss>

