Web Service with Crystal Reports
Post Author: ZugDav
CA Forum: Deployment
Hi,
I have a problem with the development of a Report Webservice.
I have read this tutorial:
http://msdn2.microsoft.com/en-us/library/ms225510(VS.80).aspx
The problem is that from the Visual Studio 2005 IDE there isn't the voice "Publish as Web Service" when i clik on the .rpt file in my Web Service project.
Im using Visual Studio 2005 Version 8.0.50727.42 and full Crystal Reports Bundled.
Can someone help me?
Thanks,
David
I don't think you will be able to do this from the button. Reason is that the web service only works with the viewer and there is are no exposed export API associated with the viewer. The only export APIs are based off of the report document object.
Ludek
Follow us on Twitter
http://twitter.com/SAPCRNetSup
Similar Messages
-
Consuming a Web service from Crystal reports 2008 - Error
Hi,
I want to consume a web service from Crystal Reports 2008. I created a New Connection using "XML and Web Services" and given WSDL url as the Web Service location. Crystal Report is able to connect to the WSDL and is displaying the tags correctly. When dragging the output to "Selected Tables' section, I am getting the following error:
"Invalid Argument Provided"
Details: Cannot support ArrayType input parameters.
Kindly help. Apparently this was a limitation in CR XI but does it still exist in CR 2008? Is there any patch available to resolve this issue?
Thanks,
Jaya
Edited by: jayakvr on Feb 17, 2011 10:47 AM
Edited by: jayakvr on Feb 17, 2011 10:48 AM
Edited by: jayakvr on Feb 17, 2011 10:48 AMThis issue is resolved now. I have installed the Service packs 1, 2 and 3 of CR2008 to overcome this error.
Thanks,
Jaya -
Problems deploying VS 2005 Web Site with Crystal Reports
If it's not one assembly reported missing, it's another. Runs fine on my local machine, but can't deploy to a test environment on my company's server. How can I force crystal to install everything on the server that is needed so that my clients (end users) can run this report?
We are not running Crystal RAS.
When I set up my msi, I made sure to set it to take assemblies from my local machine. Yet, my local machine does not seem to contain all of the assemblies that it needs. They're not showing up in the bin anyway.
I am using non-embedded report files (as you can see from my code below) so that I can change reports on the fly, if necessary without recompiling the entire app.
I am using the ReportDocument object.
Error as follows (when run from any desktop) in IE.
Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 21: 'Server.MapPath(strPath)
Line 22:
Line 23: crMissing218 = New ReportDocument
Line 24:
Line 25: Dim file As String = Server.MapPath("\reports\CrystalReports\crmissing218.rpt")
Source File: C:\Inetpub\wwwroot\MicsaReports\Missing218s.aspx.vb Line: 23
Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
(Fully-specified)
LOG: Appbase = file:///C:/Inetpub/wwwroot/MicsaReports/
LOG: Initial PrivatePath = C:\Inetpub\wwwroot\MicsaReports\bin
Calling assembly : CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Inetpub\wwwroot\MicsaReports\web.config
LOG: Using host configuration file:
?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.EXE.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer.EXE.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.EXE.
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]
CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +0
[TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
Missing218s.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\MicsaReports\Missing218s.aspx.vb:23
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Any help with this would be most appreciated. Is there a KB that deals with deploying a VS 2005 WEB SITE with Crystal?
Thank you,
BobOkay. So I installed the correct MSMs, opened the deployment document that came with it entitled, "Crystal Reports for .net Framework 2.0 - Deployment using Merge Modules" and got to page 4. At the bottom of page 4. It had me create a new Web Setup Project. The MSMs are included in the project, as they should be.
On page 4, #7, it says "Build the project."
#8 says Run your development setup.
There are 3 panes on my VS interface (4 including the Solution Explorer). To me, they look like they need the information regarding what Web Site this is to deploy.
I don't see any instructions on how to do this. I just blew away my old MSIs that I created because the previous document said not to use them.
So, how do I add my Web Site to these panes?
Thank you for your help with this.
Bob -
How to deploy/enable Web services on Crystal Reports Server 2008?
Hi All,
I am trying to setup web services for CRS 2008. Per the installation guide, I can deploy the web services components from the source file in <Install Dir>\Business objects 12.0\java\applications and using BusinessProcessBI.war file. But I do not see anything in my applications folder.
Where can I download the server components for CRS 2008 web services and how to configure it? Any help is greatly appreciated.
Thanks
BinI am getting the following error when i try to verify the web-service deployment.
how do i fix it? Documentaiton was not much helpful.
<Exception>org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /dswsbobje/services/Session and the WSA Action = null at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:86) at org.apache.axis2.engine.Phase.invoke(Phase.java:308) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132) at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:125) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:119) at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:799) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:242) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.businessobjects.dsws.wsc.common.axis.FlashFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)</Exception> -
Calling Reporting Services Web Service with jQuery possible?
Hi,
is it possible to call the Reporting Services Web Service with jQuery? If yes, can someone post me a small example?
Background:
My plan is to create a html with a form which is also uploaded then into the reportserver. I open this html later by clicking a link in a report (with gotoURL open.window). The report opens the html inclusive the overtaken of some additional parameters
(reportname, reportdescription). These parameters I will use in the html-form as defaultvalues for the corresponding input-text-fields. Now the user can make some changes (i.e. the decription). With a click on a button I will send the new description to
the Reporting Services Web Service by using the SetProperties method, closing the html-window and reload the report. Important is that I want to upload the html also into the reportserver itself.
I have already found how to consume a web service via jQuery but with the Reporting Services Web Service I did not get it running in my tests.
I have referenced to the following jQuery.js: http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
Here you can see my tests I made with the results:
$.ajax({
type: 'POST',
url: 'http://<..>/ReportServer/ReportService2010.asmx/ListChildren',
data: {'ItemPath':'/','Recursive':false},
complete: function(xData, status) {
$('p').html($(xData.responseXML).text()); // result
$("#divStatus").text( status ); // status }
I got a NULL response with Status success. But where are the items?
Another test which should response only one value was that:
$.ajax({
type: "POST",
contentType: "text/xml; charset=utf-8",
url: "http://<..>/ReportServer/ReportService2010.asmx/GetItemType",
data: {"Item":"/Development"}, // Development is a Folder in my Reportserver-Root
dataType: "xml",
success: function (msg) {
$("#divResult").html(msg.responseXML);
error: function (data, status, error) {
$("#divResult").html("WebSerivce unreachable<br> <br>" + data.responseXML + "<br> <br>(" + error + ")");
Here I got an [object Error]
And here my last test:
var soapMessage = '<?xml version="1.0" encoding="utf-8"?>\
<soap:Envelope \
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
xmlns:xsd="http://www.w3.org/2001/XMLSchema">\
<soap:Body>\
<GetItemType xmlns="http://www.microsoft.com/sql/ReportingServer">\
<ItemPath>/Development</ItemPath>\
</GetItemType>\
</soap:Body>\
</soap:Envelope>';
$.ajax({
type: "POST",
contentType: "text/xml; charset=utf-8",
url: http://<..>/ReportServer/ReportService2010.asmx?wsdl,
data: soapMessage,
dataType: "xml",
success: processSuccess,
error: processError
function processSuccess(data, status, req) {
if (status == "success")
$("#response").text($(req.responseXML).find("Type").text());
function processError(data, status, req) {
alert(req.responseText + " " + status);
Here I got an "Undefined error"
Can anyone help me?
Thanks
René IllnerHi Rene,
I have one vbscript class to call web services. May be if you need you can use it.
dim ws
set ws = new webservice
ws.url = "http://servername/ReportServer/ReportService2010.asmx"
ws.method = "MethodName"
ws.parameters.Add "Parameter1", "Param1 Desc.."
ws.parameters.Add "Parameter2","[email protected].."
ws.execute
set ws = nothing
'------web service calling class
class WebService
public Url
public Method
public Response
public Parameters
public function execute()
dim xmlhttp
Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
xmlhttp.open "POST", Url & "/" & Method, false
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlhttp.send Parameters.toString
response = xmlhttp.responseText
set xmlhttp = nothing
end function
Private Sub Class_Initialize()
Set Parameters = new wsParameters
End Sub
Private Sub Class_Terminate()
Set Parameters = Nothing
End Sub
End class
class wsParameters
public mCol
public function toString()
dim nItem
dim buffer
buffer = ""
for nItem = 1 to Count
buffer = buffer & Item(nItem).toString & "&"
next
if right(buffer,1)="&" then
buffer = left(buffer,len(buffer)-1)
end if
toString = buffer
end function
public sub Clear
set mcol = nothing
Set mCol = CreateObject("Scripting.Dictionary")
end sub
public sub Add(pKey,pValue)
dim newParameter
set newParameter = new wsParameter
newParameter.Key = pKey
newParameter.Value = pValue
mCol.Add mCol.count+1, newParameter
set newParameter = nothing
end sub
public function Item(nKey)
set Item=mCol.Item(nKey)
end function
public function ExistsXKey(pKey)
dim nItem
for nItem = 1 to mcol.count
if mCol.Item(nItem).key = pKey then
ExistsXKeyword = true
exit for
end if
next
end function
public sub Remove(nKey)
mCol.Remove(nKey)
end sub
public function Count()
Count=mCol.count
end function
Private Sub Class_Initialize()
Set mCol = CreateObject("Scripting.Dictionary")
End Sub
Private Sub Class_Terminate()
Set mCol = Nothing
End Sub
end class
class wsParameter
public Key
public Value
public function toString()
toString = Key & "=" & Value
end function
end class
Regards, RSingh -
Report published as web service with parameters
Post Author: kevinzebeste
CA Forum: Publishing
hi,I have a problem in a report published as web service.indeed, the report has a parameter, a date.Client side I do this://I create the parameter ParameterFields paramFields = new ParameterFields(); ParameterField paramField = new ParameterField(); ParameterDiscreteValue paramDiscreteValue = new ParameterDiscreteValue(); paramField.Name = "date"; paramDiscreteValue.Value = "10/10/2006"; paramField.CurrentValues.Add(paramDiscreteValue); paramFields.Add(paramField);//I add the parameter into the crVievwer crystalReportViewer.ParameterFieldInfo = paramFields;//I call the web service to get data crystalReportViewer.ReportSource = "http://localhost/WebService/Rapport1Service.asmx"; Server Side :Now, I want to get back the parameter in the web service (in Rapport1Service.asmx, so server-side) to be able to call my storedprocedure with the good parameter, this one which was put on the client side (10/10/2006).I tried to do crystalReportViewer.ReportSource = "http://localhost/WebService/Rapport1Service.asmx?date=22/10/2006" on the client side but no way. i don't find a solution, is there any way to make this possible ?Moreover, i have one database for each user, so i need to pass the user name, password and account too..Post Author: kevinzebeste
CA Forum: Publishing
I have found a solution.
I create a web service in which i return a dataset, filled with the data wanted.the web service take as parameter: the report name we want, the parameter(s), and the username and password (to check if the user has right to access to data.)After that, I fill the report, client side, with the datasen given. i don't know if it's the best solution but it works ! -
Issue with calling external web service with authentication details ...
Hi,
I am facing a deployment issue with Oracle ESB. I am trying to call an external Web Service with authentication from ESB SOAP Service. It is working fine with my local ESB version 10.1.3.3.0 Build PCBPEL_10.1.3.3.0_GENERIC_070615.0525; however it is getting an error at our development ESB version 10.1.3.3.1 Build PCBPEL_10.1.3.3.1_GENERIC_RELEASE.
I am getting following error.
An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception during SOAP invoke: Server was unable to process request. ---> Object reference not set to an instance of an object.; nested exception is: javax.xml.rpc.soap.SOAPFaultException: Server was unable to process request. ---> Object reference not set to an instance of an object. at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.populateFaultMessage(WSIFOperation_JaxRpc.java:3086) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1728) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1473) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1196) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:867) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:770) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:790) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:208) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:127) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:118) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:95) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1424) at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:112) at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:307) at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispat
Could one of you please help me out to understand why it is happining.
Thanks in advance.
Jyotirmoy.Hi Mahesh,
One you are missing is authentication token or credentials.
Please refer to the following articles.
http://www.cleverworkarounds.com/2014/02/05/tips-for-using-spd-workflows-to-talk-to-3rd-party-web-services/
A Series of articles related to Web Service in SPD Workflow
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 1
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 2
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 3
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 4
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 5
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 6
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 7
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 8
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 9
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 10
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 11
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 12
Please don't forget to mark it answered, if your problem resolved or helpful -
Java Plugin Viewer with Crystal Reports 2008
Hello,
I am trying to use the Java Plugin Viewer with Crystal Reports, but I have some problems. The ActiveX Viewer works well, but as I want to use the reports in other browsers, I need the Java viewer.
I have a Visual Basic 6 application, and, instead of including SmartViewerActiveX.asp, I have included JavaPluginViewer.asp. I have taken this file from an older version of Crystal, and I am changing the values on it (I have done the same with the ActiveX Viewer, without problems). This is the main code of the file:
<OBJECT
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="100%"
height="100%"
codebase="/crystalreportviewers11/JavaPlugin/Win32/j2re-1_4_2_04-windows-i586-p.exe#Version=1,4,0,0">
<param name=type value="application/x-java-applet;version=1.4">
<param name=code value="com.crystaldecisions.ReportViewer.ReportViewer">
<param name=codebase value="/crystalreportviewers11/JavaViewer/">
<param name=archive value="ReportViewer.jar">
<param name=Language value="en_US">
<param name=ReportName value="RDCrptserver11.asp">
<param name=CanDrillDown value="true">
<param name=HasExportButton value="true">
<param name=HasGroupTree value="true">
<param name=ShowGroupTree value="true">
<param name=HasPrintButton value="true">
<param name=HasRefreshButton value="true">
<param name=HasTextSearchControls value="true">
<param name=HasZoomControl value="true">
<param name=HasSearchExpert value="false">
<param name=HasSelectExpert value="false">
<param name=ShowLogo value="false">
</OBJECT>
I know how to change all the values of this object so it works with Crystal2008 except one: the codebase.
I have gone to IIS, and under the virtual folder "crystalreportviewers12" I don't see any JavaPlugin folder, there's only the JavaViewer folder, and there isn't any .exe inside...
So, where can I find the .exe for the codebase?
I have tried searching the web for a tutorial or something, but I haven't seen anything for Crystal 2008.
Can anyone help me?
Thank you very much!This is so wrong, I don't even know which forum this would belong to ( I think I'll move it to the SAP Crystal Reports, version for Eclipse topic Space...
Let's start with this:
I have taken this file from an older version of Crystal,
Don't mix versions. It will not work. Period
Next re:
I don't see any JavaPlugin folder,
If you want a Java solution, I'd recommend using CR for Eclipse which you can download from here:
SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
I would then recommend having a peek here:
CRJ SDK
Developer Help File is here:
https://help.sap.com/javadocs/cr/xi/jrc/en/overview-summary.html
Finally, I'm not sure what references you are making in your VB 6 app, but there is no SDK in CR 2008 that supports VB 6.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
https://twitter.com/SAPCRNetSup -
Deploying VS 2005 Applications with Crystal Reports
Using VS 2005 with Crystal Reports bundled, I created a web site that uses Crystal Reports. On my own web server (which I have total control over), I can deploy it using CR merged modules and everything is fine. Ultimately, however, my website is going to be hosted by another company and I am not sure if they are going to be willing to run the setup file that loads the Crystal Report dependencies (like I was able to do on my own web sever). So my question is this, is it possible to upload a website to a host provider and have CR reports work without having the host provider run a CR setup program? If this is not possible, do you know of any host providers that support CR?
Thanks in advance!Hello,
The Crystal Report .NET runtime files will need to be deployed to the eventual web host. If your web host won't run the CR.NET deployment package then your Crystal application won't run.
I know there are web hosts that support deploying Crystal Reports runtime packages, but I don't have any specific names to give you. You can probably Google for some options.
Sincerely,
Dan Kelleher -
Launch multiple web services with 1 click
Hi all,
I am looking into an extension of our ApEx solution. Current situation:
- ApEx is used to fill in information (descriptions on reports). BIP is used to save this information in a file with a certain lay-out
- works as follows: user adds/changes information, presses a button and a file is saved somewhere (webservice -> BIP -> FTP output)
The change that I want to implement:
some fields are used on multiple output files. I would like to update all outputs after changing 1 field. This would mean: if a description is changed, I need to go into each report that needs the output, and launch the web service manually. Of course this is a tedious job and very error-prone. I would like to automate this. Whenever a field is saved, launch the web service for each report containing this field.
The biggest problem I'm having is launching the web service inside some sort of loop? Any tips/hints?
Thanks!Hi all,
I am looking into an extension of our ApEx solution. Current situation:
- ApEx is used to fill in information (descriptions on reports). BIP is used to save this information in a file with a certain lay-out
- works as follows: user adds/changes information, presses a button and a file is saved somewhere (webservice -> BIP -> FTP output)
The change that I want to implement:
some fields are used on multiple output files. I would like to update all outputs after changing 1 field. This would mean: if a description is changed, I need to go into each report that needs the output, and launch the web service manually. Of course this is a tedious job and very error-prone. I would like to automate this. Whenever a field is saved, launch the web service for each report containing this field.
The biggest problem I'm having is launching the web service inside some sort of loop? Any tips/hints?
Thanks! -
Issue using web-service with forms9i
using web-service with forms9i
Hi
I have a setup of oracle9ias release 2 on solaris machine. I have made a web-service which is deployed on nt machine on weblogic server. I have made a call from my form (forms9i) to this web-service. When i try to use that web-service after deploying my form on solaris, it initializes the web-service and performs the action successfully. Now the problem is that my form also makes a call to report server to generate a report. The problem is when i initialize the web-service and uses its function it works but after that making a call to report server will fail. Also if i make a call to report server first, it generates the report and then i make call to the web-service, then that web-service fails to run. And in both cases, the forms application stops saying session has aborted.
Why cant i make call to both the things in one session of application? What could be the reason for that? Need help urgently.Sorry,
I didn't know that this was necessary to find a solution.
Here are the definition out of the WSDL File:
<xsd:complexType name="ZS_EQART_RANGE_LINE">
<xsd:sequence>
<xsd:element name="SIGN" type="tns:char1"/>
<xsd:element name="OPTION" type="tns:char2"/>
<xsd:element name="LOW" type="tns:char10"/>
<xsd:element name="HIGH" type="tns:char10"/>
</xsd:sequence>
</xsd:complexType>
Thanks for Help
Ron -
How to create cross tab reports using RAS SDK api with Crystal Reports XI
Hi Everybody,
Iam generating reports in a web-based application with Crystal Reports XI using Report Application Server(RAS) SDK API. The columns in my report exceed that of an A4 sized page. So, when I export that report to pdf, only those columns that fit to a page are showing up. To solve, this problem, I thought of using cross tab. But, I donot know how to generate cross tab report using RAS SDK API. I have tried to get some code from the internet. But, I did not find any java code for that.Can some one give me some sample code.It is very urgent.
Thanks in advance.Hi,
The easiest way I use is to create the worksheet as regular table and then when i verify the data I get (non aggregate) I duplicate it as a cross tab.
In the duplication wizard I just need to define the axis (using drag and drop).
if you want to create a cross tab from the beginning you need to define that in the new workbook wizard (check the "cross tab" rather then "table"), chose your fields and define the place you want them.
The data point (the center of the cross tab) is aggregated as to your machine definition and will happen automatically.
for example: to find the amount of receipt by months:
On the left put the "Buyer Name", on top put the "Months" and in the data point put the amount.
What you'll get is something like:
months: jan feb mar apr ......
buyer_name
jhon_smith 100 50 30 250 ......
jhon_doe 80 45 90 453 ........
and so on..... -
Report viewer "Go To Next Page" button always load Page2 with Crystal Reports Runtime version 10.0.10. No problem with Crystal Reports Runtime version 10.0.5.
NOTE: I did not check other Crystal Runtime versions.
Any solution?Visual Studio Premium 2012.
It is a web application.
It was working fine with Crystal Report version 13.0.5. Only change is uninstall Crystal Report version 13.0.5 and install Crystal Report version 13.0.10
Entering page number works fine to view that page Request.Form parameters sample for that (change page from page 3 to page 5):
__CRYSTALSTATEviewer:{"0":{"rptViewLabel":"Ana Rapor", "gpTreeCurrentExpandedPaths":{}, "vCtxt":"/wEXAwUVSXNMYXN0UGFnZU51bWJlcktub3duZwUOTGFzdFBhZ2VOdW1iZXICBQUKUGFnZU51bWJlcgIC", "pageNum":2}, "common":{"width":"100%", "Height":"100%", "enableDrillDown":true, "drillDownTarget":"_self", "printMode":"Pdf", "displayToolbar":true, "pageToTreeRatio":6, "pdfOCP":true, "promptingType":"html", "viewerState":"/wEXBAUkU3lzdGVtLldlYi5VSS5XZWJDb250cm9scy5XZWJDb250cm9sDxYGHgVXaWR0aBsAAAAAAABZQAcAAAAeBkhlaWdodBsAAAAAAABZQAcAAAAeBF8hU0ICgANkBQJodAUGX2JsYW5rBQ9SZXBvcnRWaWV3U3RhdGUXCAUDZHBpAngFB0lMT0lVSVNoBQdGYWN0b3J5BZYBQ3J5c3RhbERlY2lzaW9ucy5SZXBvcnRTb3VyY2UuUmVwb3J0U291cmNlRmFjdG9yeSxDcnlzdGFsRGVjaXNpb25zLlJlcG9ydFNvdXJjZSwgVmVyc2lvbj0xMy4wLjIwMDAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj02OTJmYmVhNTUyMWUxMzA0BQlSZXBvcnRVUkkFSkQ6XFBSSi5ORVRcV2ViUmVwb3J0czIwXFdlYlJlcG9ydHMuREFMXFJlcG9ydHNcVzJfNDMzN19SRVNfQllfQ1JFQVRJT04ucnB0BQpEZXNpZ25Nb2RlaAUHUmVmcmVzaGgFElBhZ2VSZXF1ZXN0Q29udGV4dBcEBRVJc0xhc3RQYWdlTnVtYmVyS25vd25nBQ5MYXN0UGFnZU51bWJlcgIFBQpQYWdlTnVtYmVyAgIFFEludGVyYWN0aXZlU29ydEluZm9zFClYU3lzdGVtLkJ5dGUsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OY0BAzwDPwN4A20DbAMgA3YDZQNyA3MDaQNvA24DPQMiAzEDLgMwAyIDPwM+Aw0DCgM8A0EDcgNyA2EDeQNPA2YDUwNvA3IDdANJA24DZgNvAyADeANtA2wDbgNzAzoDeANzA2kDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMtA2kDbgNzA3QDYQNuA2MDZQMiAyADeANtA2wDbgNzAzoDeANzA2QDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMiAyADLwM+BQlScHRTb3VyY2UFN0NyeXN0YWxEZWNpc2lvbnMuUmVwb3J0U291cmNlLk5vbkhUVFBDYWNoZWRSZXBvcnRTb3VyY2UFA2Nzc2U=", "rptAlbumOrder":["0"], "toolPanelType":"GroupTree", "toolPanelWidth":200, "toolPanelWidthUnit":"px", "iactParams":[{"paramName":"pFromDate", "description":"From Date", "valueDataType":"d", "value":[{"d":9, "m":4, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pToDate", "description":"To Date", "valueDataType":"d", "value":[{"d":9, "m":6, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pGroupBy", "description":"Group by", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pDistributionBy", "description":"Distribution by", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"RN"}, {"value":2, "desc":"ARR"}], "defaultDisplayType":1}, {"paramName":"pShowDetails", "description":"Show details", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pSubGroupBy", "description":"Sub Group", "valueDataType":"n", "value":[-1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pIncludeDayUse", "description":"Include Day Use", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pDateType", "description":"Date Type", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pCompHuse", "description":"Comp-Huse", "valueDataType":"n", "value":[0, 1, 2], "allowCustomValue":true, "allowMultiValue":true, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pOrderBy", "description":"Order By", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}], "paramOpts":{"numberFormat":{"groupSeperator":".", "decimalSeperator":","}, "dateFormat":"d.M.yyyy", "timeFormat":"H:mm:ss", "dateTimeFormat":"d.M.yyyy H:mm:ss", "booleanFormat":{"true":"True", "false":"False"}, "maxNumParameterDefaultValues":"200", "canOpenAdvancedDialog":true}, "zoom":100, "zoomFromUI":false, "lastRefresh":"9.7.2014 17:47:04"}, "curViewId":"0"}
viewer_toptoolbar_search_textField:Bul...
text_viewer_toptoolbar_selectPg:5
text_viewer_toptoolbar_zoom:100%
__CALLBACKID:viewer
__CALLBACKPARAM:{"tb":"gototext", "text":"5"}
Try to view New Page does not work. Request.Form parameters sample for that (try change page from page 2 to page 3):
__CRYSTALSTATEviewer:{"0":{"rptViewLabel":"Ana Rapor", "gpTreeCurrentExpandedPaths":{}, "vCtxt":"/wEXAwUVSXNMYXN0UGFnZU51bWJlcktub3duZwUOTGFzdFBhZ2VOdW1iZXICBQUKUGFnZU51bWJlcgIC", "pageNum":2}, "common":{"width":"100%", "Height":"100%", "enableDrillDown":true, "drillDownTarget":"_self", "printMode":"Pdf", "displayToolbar":true, "pageToTreeRatio":6, "pdfOCP":true, "promptingType":"html", "viewerState":"/wEXBAUkU3lzdGVtLldlYi5VSS5XZWJDb250cm9scy5XZWJDb250cm9sDxYGHgVXaWR0aBsAAAAAAABZQAcAAAAeBkhlaWdodBsAAAAAAABZQAcAAAAeBF8hU0ICgANkBQJodAUGX2JsYW5rBQ9SZXBvcnRWaWV3U3RhdGUXCAUDZHBpAngFB0lMT0lVSVNoBQdGYWN0b3J5BZYBQ3J5c3RhbERlY2lzaW9ucy5SZXBvcnRTb3VyY2UuUmVwb3J0U291cmNlRmFjdG9yeSxDcnlzdGFsRGVjaXNpb25zLlJlcG9ydFNvdXJjZSwgVmVyc2lvbj0xMy4wLjIwMDAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj02OTJmYmVhNTUyMWUxMzA0BQlSZXBvcnRVUkkFSkQ6XFBSSi5ORVRcV2ViUmVwb3J0czIwXFdlYlJlcG9ydHMuREFMXFJlcG9ydHNcVzJfNDMzN19SRVNfQllfQ1JFQVRJT04ucnB0BQpEZXNpZ25Nb2RlaAUHUmVmcmVzaGgFElBhZ2VSZXF1ZXN0Q29udGV4dBcEBRVJc0xhc3RQYWdlTnVtYmVyS25vd25nBQ5MYXN0UGFnZU51bWJlcgIFBQpQYWdlTnVtYmVyAgIFFEludGVyYWN0aXZlU29ydEluZm9zFClYU3lzdGVtLkJ5dGUsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OY0BAzwDPwN4A20DbAMgA3YDZQNyA3MDaQNvA24DPQMiAzEDLgMwAyIDPwM+Aw0DCgM8A0EDcgNyA2EDeQNPA2YDUwNvA3IDdANJA24DZgNvAyADeANtA2wDbgNzAzoDeANzA2kDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMtA2kDbgNzA3QDYQNuA2MDZQMiAyADeANtA2wDbgNzAzoDeANzA2QDPQMiA2gDdAN0A3ADOgMvAy8DdwN3A3cDLgN3AzMDLgNvA3IDZwMvAzIDMAMwAzEDLwNYA00DTANTA2MDaANlA20DYQMiAyADLwM+BQlScHRTb3VyY2UFN0NyeXN0YWxEZWNpc2lvbnMuUmVwb3J0U291cmNlLk5vbkhUVFBDYWNoZWRSZXBvcnRTb3VyY2UFA2Nzc2U=", "rptAlbumOrder":["0"], "toolPanelType":"GroupTree", "toolPanelWidth":200, "toolPanelWidthUnit":"px", "iactParams":[{"paramName":"pFromDate", "description":"From Date", "valueDataType":"d", "value":[{"d":9, "m":4, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pToDate", "description":"To Date", "valueDataType":"d", "value":[{"d":9, "m":6, "y":2014, "h":0, "min":0, "s":0, "ms":0}], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pGroupBy", "description":"Group by", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pDistributionBy", "description":"Distribution by", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"RN"}, {"value":2, "desc":"ARR"}], "defaultDisplayType":1}, {"paramName":"pShowDetails", "description":"Show details", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pSubGroupBy", "description":"Sub Group", "valueDataType":"n", "value":[-1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":1, "desc":"Boardtype"}, {"value":2, "desc":"Room type"}, {"value":3, "desc":"Rate Room type"}, {"value":4, "desc":"Rate code"}, {"value":5, "desc":"Guarantee code"}, {"value":6, "desc":"Adults"}, {"value":7, "desc":"Children"}, {"value":8, "desc":"Market code"}, {"value":9, "desc":"Source code"}, {"value":10, "desc":"Channel code"}, {"value":11, "desc":"Country"}, {"value":12, "desc":"Nationality"}, {"value":13, "desc":"Created by"}, {"value":14, "desc":"Adult+Child"}, {"value":15, "desc":"Agency"}, {"value":16, "desc":"Company"}, {"value":17, "desc":"Source"}, {"value":18, "desc":"Group"}, {"value":19, "desc":"Micros Discount"}, {"value":-1, "desc":"None"}], "defaultDisplayType":1}, {"paramName":"pIncludeDayUse", "description":"Include Day Use", "valueDataType":"b", "value":[true], "allowCustomValue":false, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[{"value":true}, {"value":false}], "defaultDisplayType":1}, {"paramName":"pDateType", "description":"Date Type", "valueDataType":"n", "value":[1], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pCompHuse", "description":"Comp-Huse", "valueDataType":"n", "value":[0, 1, 2], "allowCustomValue":true, "allowMultiValue":true, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}, {"paramName":"pOrderBy", "description":"Order By", "valueDataType":"n", "value":[2], "allowCustomValue":true, "allowMultiValue":false, "allowRangeValue":false, "allowDiscreteValue":true, "isEditable":true, "usage":25, "isDataFetching":false, "attributes":{"IsDCP":false}, "isOptionalPrompt":false, "allowNullValue":false, "defaultValues":[], "defaultDisplayType":1}], "paramOpts":{"numberFormat":{"groupSeperator":".", "decimalSeperator":","}, "dateFormat":"d.M.yyyy", "timeFormat":"H:mm:ss", "dateTimeFormat":"d.M.yyyy H:mm:ss", "booleanFormat":{"true":"True", "false":"False"}, "maxNumParameterDefaultValues":"200", "canOpenAdvancedDialog":true}, "zoom":100, "zoomFromUI":false, "lastRefresh":"9.7.2014 17:47:04"}, "curViewId":"0"}
viewer_toptoolbar_search_textField:Bul...
text_viewer_toptoolbar_selectPg:2 / 5
text_viewer_toptoolbar_zoom:100%
__CALLBACKID:viewer
__CALLBACKPARAM:{"tb":"next"} -
Safari Browser issue on Mac with crystal report viewer JSP
Safari Browser issue with crystal report viewer JSP
This is my configuration:
Operating System : Mac X
Browser : Safari Browser 3.1.4
Crystal Report : XII Release 2
Application Server : Jboss 4.2.0
I am using the following code to view the crystal report in jsp.
<%@ page import="com.crystaldecisions.report.web.viewer.*" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.application.ReportClientDocument" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
CrystalReportViewer theViewer = null;
ReportClientDocument document = null;
IReportSource reportSource = null;
theViewer = new CrystalReportViewer();
reportSource = document.getReportSource();
reportSource.refresh();
theViewer.setReportSource(reportSource);
theViewer.setOwnPage(true);
theViewer.setHasExportButton(true);
theViewer.setHasPrintButton(true);
theViewer.setHasRefreshButton(true);
theViewer.setHasLogo(false);
theViewer.setEnableParameterPrompt(true);
theViewer.refresh();
theViewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
theViewer.dispose();This code is working fine when the browser is IE or Firefox on Mac X.
But it is giving me error message when the browser is Safari on Mac X.
If there is no parameter in the report then the error message is:
Null Totaller
If there is parameter in the report then the error message is:
Parameter prompting is not supported
Please Help.
Thanks
Edited by: VINCEJOHNSON on Jul 30, 2008 7:11 AMI am having this exact same issue, only on an ASP.NET page. I can print the report, but it does not display at all.
-
Deadlock with thread issues while generating reports with Crystal Report XI
We are facing deadlock with thread issues while generating report with Crystal Report XI
Version Number is 11.0 and the database used is Oracle
In the log file on line number 74350 by 2008/12/16 13:35:54 there is a dead lock with Thread: u20184u2019 is waiting to acquire lock for 'com.crystaldecisions.reports.queryengine.av@15214b9' which is held by the Thread: '0'.
And a dead lock with Thread: u20180u2019 is waiting to acquire lock for 'com.crystaldecisions.reports.queryengine.av@15214b9' which is held by the Thread: '4'.
Exactly after 10 minutes we can see the thread 4 and 0 are declared as STUCK by 2008/12/16 13:45:54 .
Is this an existing issue with Crystal Report?
Is there some solution for this problem?
THE LOG FILE INFORMATION IS GIVEN BELOW
[deadlocked thread] [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)':
Thread '[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'com.crystaldecisions.reports.queryengine.av@15214b9' that is held by thread '[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)''
Stack trace:
com.crystaldecisions.reports.queryengine.av.V(Unknown Source)
com.crystaldecisions.reports.queryengine.av.do(Unknown Source)
com.crystaldecisions.reports.queryengine.as.if(Unknown Source)
com.crystaldecisions.reports.reportdefinition.datainterface.j.c(Unknown Source)
com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
com.crystaldecisions.reports.reportdefinition.cy.b(Unknown Source)
com.crystaldecisions.reports.reportdefinition.cy.long(Unknown Source)
com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
com.crystaldecisions.reports.reportdefinition.a1.a(Unknown Source)
com.crystaldecisions.reports.common.ab.a(Unknown Source)
com.crystaldecisions.reports.common.ab.if(Unknown Source)
com.crystaldecisions.reports.reportdefinition.a1.if(Unknown Source)
com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.a.a(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.a.a.b.a(Unknown Source)
com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
com.sysarris.aris.crystalreports.RepServlet.generateReport(RepServlet.java:65)
com.sysarris.aris.crystalreports.RepServlet.doPost(RepServlet.java:40)
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
[deadlocked thread] [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)':
Thread '[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'' is waiting to acquire lock 'com.crystaldecisions.reports.queryengine.av@12e0415' that is held by thread '[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)''
Stack trace:
com.crystaldecisions.reports.queryengine.av.V(Unknown Source)
com.crystaldecisions.reports.queryengine.av.do(Unknown Source)
com.crystaldecisions.reports.queryengine.as.if(Unknown Source)
com.crystaldecisions.reports.reportdefinition.datainterface.j.c(Unknown Source)
com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
com.crystaldecisions.reports.reportdefinition.cy.b(Unknown Source)
com.crystaldecisions.reports.reportdefinition.cy.long(Unknown Source)
com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
com.crystaldecisions.reports.reportdefinition.a1.a(Unknown Source)
com.crystaldecisions.reports.common.ab.a(Unknown Source)
com.crystaldecisions.reports.common.ab.if(Unknown Source)
com.crystaldecisions.reports.reportdefinition.a1.if(Unknown Source)
com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.a.a(Unknown Source)
com.crystaldecisions.reports.reportengineinterface.a.a.b.a(Unknown Source)
com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
com.sysarris.aris.crystalreports.RepServlet.generateReport(RepServlet.java:65)
com.sysarris.aris.crystalreports.RepServlet.doPost(RepServlet.java:40)
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
Can you please suggest any work around for this?I'm not referring to Servlet threading issues.
I'll clarify.
You have two threads, both entering ReportClientDocument.open(...) method.
Thread 4 is waiting to acquire 'com.crystaldecisions.reports.queryengine.av@15214b9'
Thread 0 is waiting to acquire ''com.crystaldecisions.reports.queryengine.av@12e0415'
So I'm thinking ??? are they the same objects?
My specific question concerning the ReportClientDocument is that both are calling open - i.e., trying to open a new report. You wouldn't be trying to open different reports using the same ReportClientDocument - so was wondering if you've cached the RCD and trying to open two different reports at the same time on the same instance via different threads.
You'd normally tie a ReportClientDocument instance to a HTTP Session, to ensure each user gets their own copy.
Sincerely,
Ted Ueda
Maybe you are looking for
-
How to set image background color ?
Hi All, In my project i have image,and if image have black spot or any unwanted spot then i will select that area and say clear it then it will remove that spot and set color of that area similar to area around that spot. I have written code for gett
-
Has Apple blocked Flash Player again, listing it in the block list. I am able to download the image from Adobe, and begin the install process. Once I get to the option to select update Flash automatically or not, I cannot select an option or click
-
If I place a PDF made in Illustrator that has spot colors into InDesign 6, than convert to CMYK I get incorrect CMYK build but when I place it in 5 and covert to CMYK it has the correct build??? Anyone know how to get InDesign 6 to convert the color
-
IPod charges with firewire but sporadic with USB
I haven't had problems charging wiith the Apple firewire charger with my 20G 4G iPod. But, when I bought a USB car charger and AC adapter, it seems the iPod only charges when it feels like it which is sporadic, no pattern. If fact, when it's not acti
-
To maintain smartform in english and chinese
Hi, How to maintain same form in 2 languages in English and Chinese. When the user logs in with English languge,smartform output has to be displayed in English. When he logs in with Chinese language,output has to be displayed in Chinese. Please reply