Crystal 9 and the Crystal report viewer OCX.
Author |
Message |
Chris #1 / 7
|
 Crystal 9 and the Crystal report viewer OCX.
I know this is not strictly VB,(it does involve Crystal and VBScript tho') but could someone confirm or deny something for me. We have recently upgraded to Crystal 9 on a test server, and cannot get any reports (saved in CR9 format) to work using the Crystal ActiveX viewer component on our ASP webpages (The same report in CR8 format works fine). On further investigation of the documentation, the implication seems to be that CR9 reports are not compatable with the Crystal OCX viewer. It seems that you need to use the HTML viewer instead. Surely this cannot be true?! Is it true that the OCX is not compatable with CR9, ie can we no longer include the ActiveX report viewer on our ASP pages if we wish to use CR9?? If it is possible, could you please let us know what changes need to be made to our code. I can give you some examples of the existing code if you like. Thanks in advance, ChrisM
|
Fri, 04 Mar 2005 17:50:22 GMT |
|
 |
koonlo #2 / 7
|
 Crystal 9 and the Crystal report viewer OCX.
Are you using the version 9 ActiveX Viewer (CRViewer9.dll)? They have reguided the COM dll and its name is changed from crviewer.dll to crviewer9.dll.
Quote: > I know this is not strictly VB,(it does involve Crystal and VBScript tho') > but could someone confirm or deny something for me. > We have recently upgraded to Crystal 9 on a test server, and cannot > get any reports (saved in CR9 format) to work using the Crystal ActiveX > viewer > component on our ASP webpages (The same report in CR8 format > works fine). On further investigation of the documentation, the implication > seems to be > that CR9 reports are not compatable with the Crystal OCX viewer. It > seems that you need to use the HTML viewer instead. Surely this cannot be > true?! > Is it true that the OCX is not compatable with CR9, ie can we no > longer include the ActiveX report viewer on our ASP pages if we wish > to use CR9?? If it is possible, could you please let us know what changes > need to be made to our code. I can give you some examples of the existing > code if you like. > Thanks in advance, > ChrisM
|
Fri, 04 Mar 2005 22:22:56 GMT |
|
 |
Chris #3 / 7
|
 Crystal 9 and the Crystal report viewer OCX.
I believe I am using the new version of the DLL. The code I have included into my page to reference the component is as follows: ... <OBJECT ID="CRViewer" CLASSID="CLSID:2DEF4530-8CE6-41C9-84B6-A54536C90213" WIDTH=100% HEIGHT=99% CODEBASE="http://myserver/viewer9/activeXViewer/activexviewer.cab#Version=9, 2,0,442"> ... Also, the component (which does display in the page) looks slightly different to the one I previously saw (Primarily it has 'Powered by Crystal' in the top left hand corner) Have you actually got version 9 reports displaying in the ActiveX viewer? If you have then it is just me. If you haven't, give it a go and see if you can get it to work... Cheers, Chris.
Quote: > Are you using the version 9 ActiveX Viewer (CRViewer9.dll)? They have > reguided the COM dll and its name is changed from crviewer.dll to > crviewer9.dll.
> > I know this is not strictly VB,(it does involve Crystal and VBScript tho') > > but could someone confirm or deny something for me. > > We have recently upgraded to Crystal 9 on a test server, and cannot > > get any reports (saved in CR9 format) to work using the Crystal ActiveX > > viewer > > component on our ASP webpages (The same report in CR8 format > > works fine). On further investigation of the documentation, the > implication > > seems to be > > that CR9 reports are not compatable with the Crystal OCX viewer. It > > seems that you need to use the HTML viewer instead. Surely this cannot be > > true?! > > Is it true that the OCX is not compatable with CR9, ie can we no > > longer include the ActiveX report viewer on our ASP pages if we wish > > to use CR9?? If it is possible, could you please let us know what changes > > need to be made to our code. I can give you some examples of the existing > > code if you like. > > Thanks in advance, > > ChrisM
|
Fri, 04 Mar 2005 23:14:16 GMT |
|
 |
Kevi #4 / 7
|
 Crystal 9 and the Crystal report viewer OCX.
Yes, 2DEF4530-8CE6-41C9-84B6-A54536C90213 is version 9 Viewer. I have it working with the version reports, but I am using in the RDC and I did not try it on ASP. Actually, you just say it does not work using the version 9 viewer. Do you mean the viewer is loaded but does not show anything? Can you use this viewer to display the version 8 reports then? K.
Quote: > I believe I am using the new version of the DLL. The code I have included > into my page to reference the component is as follows: > ... > <OBJECT ID="CRViewer" CLASSID="CLSID:2DEF4530-8CE6-41C9-84B6-A54536C90213" > WIDTH=100% HEIGHT=99%
CODEBASE="http://myserver/viewer9/activeXViewer/activexviewer.cab#Version=9, Quote: > 2,0,442"> > ... > Also, the component (which does display in the page) looks slightly > different to the one I previously saw (Primarily it has 'Powered by Crystal' > in the top left hand corner) > Have you actually got version 9 reports displaying in the ActiveX viewer? If > you have then it is just me. If you haven't, give it a go and see if you can > get it to work... > Cheers, > Chris.
> > Are you using the version 9 ActiveX Viewer (CRViewer9.dll)? They have > > reguided the COM dll and its name is changed from crviewer.dll to > > crviewer9.dll.
> > > I know this is not strictly VB,(it does involve Crystal and VBScript > tho') > > > but could someone confirm or deny something for me. > > > We have recently upgraded to Crystal 9 on a test server, and cannot > > > get any reports (saved in CR9 format) to work using the Crystal ActiveX > > > viewer > > > component on our ASP webpages (The same report in CR8 format > > > works fine). On further investigation of the documentation, the > > implication > > > seems to be > > > that CR9 reports are not compatable with the Crystal OCX viewer. It > > > seems that you need to use the HTML viewer instead. Surely this cannot > be > > > true?! > > > Is it true that the OCX is not compatable with CR9, ie can we no > > > longer include the ActiveX report viewer on our ASP pages if we wish > > > to use CR9?? If it is possible, could you please let us know what > changes > > > need to be made to our code. I can give you some examples of the > existing > > > code if you like. > > > Thanks in advance, > > > ChrisM
|
Sat, 05 Mar 2005 12:12:34 GMT |
|
 |
Chris #5 / 7
|
 Crystal 9 and the Crystal report viewer OCX.
Sorry if I was unclear. When I try to run the report, the viewer loads, but then I get a message 'Unable to load report. [Connecting to Page Server: abcd.mydomain.com] The Page Server address is correct, and if I try to display a Crystal8 report then it works fine. In fact I tried a CR8 report which worked OK, then without touching the code, I opened the report in CR9 and saved it back (so that I changed the version it was saved as). I then refreshed the page, and got the error described above. There is an article at: http://support.crystaldecisions.com/library/kbase/articles/c2011677.asp which states This error message appears because Crystal Reports 9 does not support the Crystal ActiveX (OCX) control. Applications that use the OCX cannot run on computers that have runtime files from Crystal Reports 9. So I guess that seems fairly clear, but I find it hard to believe that it is simply not supported, especially since a version of the OCX ships with version 9! Maybe it's just me! but is doesn't make much sense. Regards, Chris.
Quote: > Yes, 2DEF4530-8CE6-41C9-84B6-A54536C90213 is version 9 Viewer. I have it > working with the version reports, but I am using in the RDC and I did not > try it on ASP. > Actually, you just say it does not work using the version 9 viewer. Do you > mean the viewer is loaded but does not show anything? Can you use this > viewer to display the version 8 reports then? > K.
> > I believe I am using the new version of the DLL. The code I have included > > into my page to reference the component is as follows: > > ... > > <OBJECT ID="CRViewer"
CLASSID="CLSID:2DEF4530-8CE6-41C9-84B6-A54536C90213" Quote: > > WIDTH=100% HEIGHT=99%
CODEBASE="http://myserver/viewer9/activeXViewer/activexviewer.cab#Version=9, Quote: > > 2,0,442"> > > ... > > Also, the component (which does display in the page) looks slightly > > different to the one I previously saw (Primarily it has 'Powered by > Crystal' > > in the top left hand corner) > > Have you actually got version 9 reports displaying in the ActiveX viewer? > If > > you have then it is just me. If you haven't, give it a go and see if you > can > > get it to work... > > Cheers, > > Chris.
> > > Are you using the version 9 ActiveX Viewer (CRViewer9.dll)? They have > > > reguided the COM dll and its name is changed from crviewer.dll to > > > crviewer9.dll.
> > > > I know this is not strictly VB,(it does involve Crystal and VBScript > > tho') > > > > but could someone confirm or deny something for me. > > > > We have recently upgraded to Crystal 9 on a test server, and cannot > > > > get any reports (saved in CR9 format) to work using the Crystal > ActiveX > > > > viewer > > > > component on our ASP webpages (The same report in CR8 format > > > > works fine). On further investigation of the documentation, the > > > implication > > > > seems to be > > > > that CR9 reports are not compatable with the Crystal OCX viewer. It > > > > seems that you need to use the HTML viewer instead. Surely this cannot > > be > > > > true?! > > > > Is it true that the OCX is not compatable with CR9, ie can we no > > > > longer include the ActiveX report viewer on our ASP pages if we wish > > > > to use CR9?? If it is possible, could you please let us know what > > changes > > > > need to be made to our code. I can give you some examples of the > > existing > > > > code if you like. > > > > Thanks in advance, > > > > ChrisM
|
Sat, 05 Mar 2005 18:49:30 GMT |
|
 |
Kevi #6 / 7
|
 Crystal 9 and the Crystal report viewer OCX.
I think this article is talking about the old Crystal ActiveX Control, not the Crystal Smart Viewer (CRViewer9.dll) that you are using. Are you using the craxdrt9.dll (Crystal Report Run Time Library) on your server to load the report?
Quote: > Sorry if I was unclear. When I try to run the report, the viewer loads, but > then I get a message > 'Unable to load report. [Connecting to Page Server: abcd.mydomain.com] > The Page Server address is correct, and if I try to display a Crystal8 > report then it works fine. In fact I tried a CR8 report which worked OK, > then without touching the code, I opened the report in CR9 and saved it back > (so that I changed the version it was saved as). I then refreshed the page, > and got the error described above. > There is an article at: > http://support.crystaldecisions.com/library/kbase/articles/c2011677.asp > which states > This error message appears because Crystal Reports 9 > does not support the Crystal ActiveX (OCX) control. > Applications that use the OCX cannot run on computers > that have runtime files from Crystal Reports 9. > So I guess that seems fairly clear, but I find it hard to believe that it is > simply not supported, especially since a version of the OCX ships with > version 9! > Maybe it's just me! but is doesn't make much sense. > Regards, > Chris.
> > Yes, 2DEF4530-8CE6-41C9-84B6-A54536C90213 is version 9 Viewer. I have it > > working with the version reports, but I am using in the RDC and I did not > > try it on ASP. > > Actually, you just say it does not work using the version 9 viewer. Do > you > > mean the viewer is loaded but does not show anything? Can you use this > > viewer to display the version 8 reports then? > > K.
> > > I believe I am using the new version of the DLL. The code I have > included > > > into my page to reference the component is as follows: > > > ... > > > <OBJECT ID="CRViewer" > CLASSID="CLSID:2DEF4530-8CE6-41C9-84B6-A54536C90213" > > > WIDTH=100% HEIGHT=99%
CODEBASE="http://myserver/viewer9/activeXViewer/activexviewer.cab#Version=9, Quote: > > > 2,0,442"> > > > ... > > > Also, the component (which does display in the page) looks slightly > > > different to the one I previously saw (Primarily it has 'Powered by > > Crystal' > > > in the top left hand corner) > > > Have you actually got version 9 reports displaying in the ActiveX > viewer? > > If > > > you have then it is just me. If you haven't, give it a go and see if you > > can > > > get it to work... > > > Cheers, > > > Chris.
> > > > Are you using the version 9 ActiveX Viewer (CRViewer9.dll)? They have > > > > reguided the COM dll and its name is changed from crviewer.dll to > > > > crviewer9.dll.
> > > > > I know this is not strictly VB,(it does involve Crystal and VBScript > > > tho') > > > > > but could someone confirm or deny something for me. > > > > > We have recently upgraded to Crystal 9 on a test server, and cannot > > > > > get any reports (saved in CR9 format) to work using the Crystal > > ActiveX > > > > > viewer > > > > > component on our ASP webpages (The same report in CR8 format > > > > > works fine). On further investigation of the documentation, the > > > > implication > > > > > seems to be > > > > > that CR9 reports are not compatable with the Crystal OCX viewer. It > > > > > seems that you need to use the HTML viewer instead. Surely this > cannot > > > be > > > > > true?! > > > > > Is it true that the OCX is not compatable with CR9, ie can we no > > > > > longer include the ActiveX report viewer on our ASP pages if we wish > > > > > to use CR9?? If it is possible, could you please let us know what > > > changes > > > > > need to be made to our code. I can give you some examples of the > > > existing > > > > > code if you like. > > > > > Thanks in advance, > > > > > ChrisM
|
Sun, 06 Mar 2005 03:38:58 GMT |
|
 |
Chris #7 / 7
|
 Crystal 9 and the Crystal report viewer OCX.
Yea, I thought that the article was talking about the ActiveX. That is what about 40+ ASP pages use to show various reports on the company intranet. That is my problem. If the ActveX is no longer supported, then in order to upgarde to CR9, we will have to re-write all those pages! Cheers, Chris.
Quote: > I think this article is talking about the old Crystal ActiveX Control, not > the Crystal Smart Viewer (CRViewer9.dll) that you are using. Are you using > the craxdrt9.dll (Crystal Report Run Time Library) on your server to load > the report?
> > Sorry if I was unclear. When I try to run the report, the viewer loads, > but > > then I get a message > > 'Unable to load report. [Connecting to Page Server: abcd.mydomain.com] > > The Page Server address is correct, and if I try to display a Crystal8 > > report then it works fine. In fact I tried a CR8 report which worked OK, > > then without touching the code, I opened the report in CR9 and saved it > back > > (so that I changed the version it was saved as). I then refreshed the > page, > > and got the error described above. > > There is an article at: > > http://support.crystaldecisions.com/library/kbase/articles/c2011677.asp > > which states > > This error message appears because Crystal Reports 9 > > does not support the Crystal ActiveX (OCX) control. > > Applications that use the OCX cannot run on computers > > that have runtime files from Crystal Reports 9. > > So I guess that seems fairly clear, but I find it hard to believe that it > is > > simply not supported, especially since a version of the OCX ships with > > version 9! > > Maybe it's just me! but is doesn't make much sense. > > Regards, > > Chris.
> > > Yes, 2DEF4530-8CE6-41C9-84B6-A54536C90213 is version 9 Viewer. I have > it > > > working with the version reports, but I am using in the RDC and I did > not > > > try it on ASP. > > > Actually, you just say it does not work using the version 9 viewer. Do > > you > > > mean the viewer is loaded but does not show anything? Can you use this > > > viewer to display the version 8 reports then? > > > K.
> > > > I believe I am using the new version of the DLL. The code I have > > included > > > > into my page to reference the component is as follows: > > > > ... > > > > <OBJECT ID="CRViewer" > > CLASSID="CLSID:2DEF4530-8CE6-41C9-84B6-A54536C90213" > > > > WIDTH=100% HEIGHT=99%
CODEBASE="http://myserver/viewer9/activeXViewer/activexviewer.cab#Version=9, Quote: > > > > 2,0,442"> > > > > ... > > > > Also, the component (which does display in the page) looks slightly > > > > different to the one I previously saw (Primarily it has 'Powered by > > > Crystal' > > > > in the top left hand corner) > > > > Have you actually got version 9 reports displaying in the ActiveX > > viewer? > > > If > > > > you have then it is just me. If you haven't, give it a go and see if > you > > > can > > > > get it to work... > > > > Cheers, > > > > Chris.
> > > > > Are you using the version 9 ActiveX Viewer (CRViewer9.dll)? They > have > > > > > reguided the COM dll and its name is changed from crviewer.dll to > > > > > crviewer9.dll.
> > > > > > I know this is not strictly VB,(it does involve Crystal and > VBScript > > > > tho') > > > > > > but could someone confirm or deny something for me. > > > > > > We have recently upgraded to Crystal 9 on a test server, and > cannot > > > > > > get any reports (saved in CR9 format) to work using the Crystal > > > ActiveX > > > > > > viewer > > > > > > component on our ASP webpages (The same report in CR8 format > > > > > > works fine). On further investigation of the documentation, the > > > > > implication > > > > > > seems to be > > > > > > that CR9 reports are not compatable with the Crystal OCX viewer. > It > > > > > > seems that you need to use the HTML viewer instead. Surely this > > cannot > > > > be > > > > > > true?! > > > > > > Is it true that the OCX is not compatable with CR9, ie can we no > > > > > > longer include the ActiveX report viewer on our ASP pages if we > wish > > > > > > to use CR9?? If it is possible, could you please let us know what > > > > changes > > > > > > need to be made to our code. I can give you some examples of the > > > > existing > > > > > > code if you like. > > > > > > Thanks in advance, > > > > > > ChrisM
|
Wed, 09 Mar 2005 19:31:31 GMT |
|
|
|