Report on Server
I've written a 'GUI' report (v6) that is executed from a form running under Windows NT. The users generally produce the output to the screen but they also want to direct the output to a comma delimitted file, this works fine.
I've now been asked to change an existing piece of SQL (running on the AIX Server) to produce the same output as this report automatically 'under the covers' when a certain action takes place; the users still want the option of running the 'GUI' report.
Obviously I could just write a piece of SQL to run on the server to produce the output but ideally I'd like to have the code in one place. I've never written a report to run on the server but I assume that it's possible. I also assume that it would be possible to change the SQL script to include a host command to run this report.
Can anyone please provide advice on the best way to proceed.
Thanks
It sounds like what you want is an event-driven report (i.e., when an event occurs on the database the report be triggered and run). There's functionality provided in 9i for this, so I'd first suggest that you look at this and see whether you can upgrade.
If not then you could make use the utl_http database package to construct a call to run a report on the server from within a database trigger (I'm assuming that the required event can trigger a database trigger).
Have a look at this and see whether it solves your problem.
Regards,
Danny
Similar Messages
-
Crystal Reports "Report Application Server"
Does anyone have any experience with Crystal Reports' Report Application Server (RAS)?
The provided documentation is very thin and support are taking an age to respond.
I want to use a Bean as a data source for a report. The blurb says you can do this, but the only documented way I can find is for the bean to return a ResultSet, completely missing the point of using a bean or EJB in the first place.
Now, Seagate's sales blurb states that Beans and EJBs can be used as data sources, but if the only way to do this is to return a common or garden ResultSet, what's the point of the bean???
So, has anyone sucessfully used a bean or EJB as a data source for report generation under RAS, or merely CR in general, without resorting to a ResultSet??Crystal Reports YUK!! especially in Java Forum!Tell me about it!!
But, like many developers, I don't get a choice. I have to use CR, and I have to integrate it into a Tomcat (4.1.24) based app. There is a Java API for RAS, but it is a pile of dung. Can you imagine publishing an API with public methods with 'do not use, for internal use only' plastered all over them!!!
But still, back to the original question, I have to find a way of doing this, but Seagate's javadocs are a mess, as are the howto docs. All of the examples, as you might expect, are childishly simple and don't give any insight into the large and hideous API :(
Here is an example of a CR howto.....
There appear to be two ways of creating a data source that isn't an existing report or a database query. This
Runtime data sources
One of the strengths of RAS over the Crystal Reports application, is that the RAS
can use data generated programatically at runtime. With a runtime data source,
you can take data from any source�such as a database, a data stream, or a flat
file�manipulate it with the programming language of your choice, and display it
with RAS.
To use a runtime data source
1 Put your manipulated data in a rowset form that can be processed by the RAS.
Consult the Rowset object and interface in the SDK JavaDocs, for details on
creating rowsets.
2 Create and fill the Dataset object with the rowset data.
3 Create a RowsetController object.
4 Add or set the data source using the RowsetController�s AddDataSource or
SetDataSource methods respectively.
The runtime data source is now available for use.
Note: If you create a report based on a data set, the data that is used is not saved
with the report. To populate the report with data the next time you open it, you
must either re-apply the data source to see current data, or access a saved version
of the data source for preview.
All well and good, but RowsetController doesn't have an AddDataSource or SetDataSource method!!!!
and this......
JavaBean custom data sources
You can use a JavaBean (or a Java class that does not extend the bean type) in order
to specify a custom data source. In order to do this, you will need to:
� Creating a Java class that specifies a custom data source
� Referencing a java class to provide data for a report
Creating a Java class that specifies a custom data source
To use a JavaBean (or a Java class that does not extend the bean type) in order to
specify a custom data source, you will need to create a class that serves as a Java
Beans Connectivity data source for creating Crystal Reports.
This class will need to conforms to the JavaBean standard by defining private
properties that are accessible only through get and set methods. In this way the
Crystal Reports designer can introspect the class as a Bean. The JavaBean
connectivity classes require the following.
� The constructor must have zero parameters.
� Methods that are used as "tables" must have a return type of ResultSet.
� Statement objects must be created using the
ResultSet.TYPE_SCROLL_SENSITIVE and ResultSet.CONCUR_READ_ONLY
arguments.
Note: Methods returning ResultSet can take arguments, these are treated as
Stored Procedure parameters by Crystal Reports.
Now, what the hell is the point of going to the trouble of abstracting your business data into a bean or EJB, if that bean has to return a ResultSet for Crystal Reports to use??!! -
Problem with Crystal Report Job Server Destinations
I am using Crystal Reports XI Server and I am having problems with scheduling. I believe that the problem is that I have not enabled any destinations under the Crystal Reports Job Server. The following is an observation list:
-Enabled and set up all destinations for other servers, such as the Destination Server.
-Have been able to use Infoview to directly email, inbox, and file save reports in different formats (I believe the Destination Server controls this, right?)
-All servers are enabled in the Central Configuration Manager
-Have been able to go into the Crystal Reports Job Server within the CMC, but I DO NOT FIND ANY destinations to enable (why is this?)
-Have not been able to schedule an instance of any report (neither email, nor inbox, nor file, ...nothing)
Could somebody please help me with this? Is this a limitation to the Crystal Reports XI Server vs the Enterprise edition? Is there something else I am missing? I have never been able to successfully schedule a report.Thank you for the input, but I have not yet solved my problem. Please allow me to provide some additional information which may give more hints:
I have Crystal Reports XI Server R2 installed as 5 named user license (version that comes with developer)
The following servers are enabled in CMC (which is all of them)
-Input.DomainNameSQL
-DomainNameSQL.cacheserver
-DomainNameSQL.cms
-DomainNameSQL.destinationjobserver (has all destinations enabled)
-DomainNameSQL.eventserver
-DomainNameSQL.ListofValuesJobServer (no destination tab)
-DomainNameSQL.pageserver
-DomainNameSQL.programjobserver (has all destinations enabled)
-DomainNameSQL.RAS
-DomainNameSQL.reportjobserver (has destinations tab, but there are no destination entries to enable! Object type is: CrystalEnterprise.Report and detail: IDL:omg.org/CORBA/UserException:1.0
. Details: %2.'
These are the ONLY two event IDs that appear after I schedule the report instance. No other events occur.
Are there any other logs that I can check? How do I look up what event ID 45387 and 45385 are?
Thanks! -
Error when calling a report from Server?
We have a .NET application on the server and we want to call a crystal report (.rpt) from one of the forms (.NET aspx page). We are getting below error. The report works fine on the desktop where it is developed. Please let us know if there is any specific process to move the reports to server. Any help is appreciated.
The report is developed in Crystal Reports 2008 and we are using Visual Studio 2005. We are using Crystal Report Viewer control to call / associate the report developed.
Error message,
An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
Thanks
Sridhar
Edited by: Sridhar Thodupunoori on Dec 4, 2008 4:13 PMHi,
It seems that you are having issue with Crystal reports .Net SDK's.
Post your question in Crystal Reports .NET SDK forum.
That forum is monitored by qualified technicians and you will get a faster response there. Also, all .NET SDK queries remain in one place and thus can be easily searched in one place.
Thank you for your understanding,
Amit -
Error when calling the report on server?
We have a .NET application on the server and we want to call a crystal report (.rpt) from one of the forms (.NET aspx page). We are getting below error. The report works fine on the desktop where it is developed. Please let us know if there is any specific process to move the reports to server. Any help is appreciated.
The report is developed in Crystal Reports 2008 and we are using Visual Studio 2005. We are using Crystal Report Viewer control to call / associate the report developed.
Error message,
An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
Thanks
SridharHi,
Have you install the runtime files of CR 2008 on server, if not then install it from [here|http://resources.businessobjects.com/support/additional_downloads/runtime.asp#08].
Download according to the service pack applied on CR 2008.
Also ensure that you are at service pack 1 level of CR 2008 as its a latest service pack available for CR 2008.
Hope this will help!!
Regards,
Amit -
Load Report Failed - Report Application Server Failed error at runtime
Hello, I'm pretty new to Crystal Reports so please bear with me.
I just installed CR 2008 on my development box, which is running VS2005 .NET 2.0. I changed over all of my assembly references in my web.config to the new version:
<add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral,
PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
Also the webpage that is displaying the ReportViewer object has this reference as well:
<%@ Register Assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
Now, in my code behind I am simply trying to open a pre-built crystal report that came in the sample pack
When I try and do this in our already built website I get an error:
"Load report failed"
With the inner exception saying:
"The Report Application Server failed"
This same piece of code works perfectly if I build a new website, however when I try and impliment this into our existing code base I get the error shown above. Also the samples I've used all use .NET 3.5 and the website is in 2.0. I'm not sure if that is a factor or not but that is also another piece of information that could be useful.
Any help on this matter would be greatly appreciated. Thank you for you're time.
Chris McMahan
Edited by: Arithal on Aug 4, 2009 8:36 PMAnd finally the stack trace. Sorry for the length of these posts.
[COMException (0x800001f5): The Report Application Server failed]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +575
[CrystalReportsException: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +646
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1374
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +169
Report_Viewer_Crystal_CrystalView.ConfigureCrystalReports() in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:49
Report_Viewer_Crystal_CrystalView.Page_Init(Object sender, EventArgs e) in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:33
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnInit(EventArgs e) +99
System.Web.UI.Page.OnInit(EventArgs e) +9
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834 -
I've just installed a new copy of XI R2 running parallel with Crystal Enterprise 10. My Enterprise 10 has 4 report job servers and I need to have XI R2 configured with 4 too before I start migrating the reports from CE10 to XI - How is this accomplished?
On the server, launch the CCM (central configuration manager) from the program files\business objects.
one of the icons looks to be a plus sign, holding the mouse over it would indicate "add server" Do this to add additional job servers. Since there are multiple jop servers insure that you select the crystal reports job server.
Regards,
Tim
Edited by: Tim Ziemba on Jul 15, 2008 10:56 AM -
Service Manager data warehouse SQL Reporting Services server is currently unavailable
I keep getting this error when I launch my SCSM Console. Take a look at the event log > operation manager and saw this error message below.
Tried to google around but unable to find any solution to it. Anybody can enlighten me on this issue that I am encountering? Thanks
Cannot connect to SQL Reporting Services Server. Message= An unexpected error occured while connecting to SQL Reporting Services server: System.Net.WebException: The request failed with HTTP status 404: Not Found.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.EnterpriseManagement.Reporting.ReportingService.ReportingService2005.FindItems(String Folder, BooleanOperatorEnum BooleanOperator, SearchCondition[] Conditions)
at Microsoft.EnterpriseManagement.Reporting.EnterpriseReporting.FindItems(String searchPath, IList`1 criteria, Boolean And)
at Microsoft.EnterpriseManagement.Reporting.EnterpriseReporting.FindItems(String itemPath)
at Microsoft.EnterpriseManagement.Reporting.EnterpriseReporting.FindItem(String itemPath, ItemTypeEnum[] desiredTypes)
at Microsoft.EnterpriseManagement.Reporting.EnterpriseReporting.GetFolder(String path)
at Microsoft.EnterpriseManagement.Reporting.EnterpriseReportingGroup.Initialize()
at Microsoft.EnterpriseManagement.Reporting.ServiceManagerReportingGroup..ctor(DataWarehouseManagementGroup managementGroup, String reportingServerURL, String reportsFolderPath, NetworkCredential credentials)
at Microsoft.EnterpriseManagement.Reporting.ServiceManagerReportingGroup..ctor(DataWarehouseManagementGroup managementGroup, String reportingServerURL, String reportsFolderPath)
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.ManagementGroupServerSession.TryConnectToReportingManagementGroup() Remediation = Please contact your Administrator.
JeronHi,
This may occur when there is a mismatch between the Report Server URL entered on the SSRS Server Location window for the Report Deployment Wizard and the SSRS Web Service Virtual Directory for the Reporting
Services Configuration Manager.
Use the following steps to resolve the issue:
Launch the Reporting Services Configuration Manager on the server hosting SSRS
Select Web Service URL
Copy the value entered in the Virtual Directory textbox
Paste it after the last forward slash in the Report Server URL textbox in the Report Deployment Wizard
Continue on with the deployment
In addition, we may need to check you default web server IP is 'all unassigned', and ping the machine and see what default ip it has assigned.
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Reporting Services server cannot connect
Hi,
I am trying to install the SAP BPC MS version and so far been hit with many issues. The latest issue is that the installer cannot connect to the Reporting Services server, in which from the installation documentation this should come as standard with MSSQL.
Any idea how to activate this manually?
Thanks.Hi,
In that case, I believe, the reporting service was not installed. When you are installing SQL server, you need to check the reporting services from the list. If thats not selected, then it wont be installed.
I guess, you have to run the installation once again. While doing the installation, please check the required services from the list, including reporting services.
Hope this helps. -
Reporting Services Server cannot connect to the DPM database. ( dpm 2010 )
Reporting Services Server cannot connect to the DPM database.
To repair the configuration, follow steps for repairing DPM from DPM Setup Help.
ID: 3001
i can not try the Recommended action from error codes catalog because i did not found Change reporting
passwordHi,
We have had several customers report this after installing DPM 2012 R2.
To get past the below error while scheduling reports to be mailed.
Reporting Services Server cannot connect to the DPM database.
To repair the configuration, follow steps for repairing DPM from DPM Setup Help.
ID: 3001
Perform the following steps as necessary:
1. Created a new local group called "DPMDBReaders$<DPMServerName>"
2. Created a new user called, "DPMR$<DPMServerName>" and added this user to DPMDBReader group that we created on step 1.
3. Open SQL management studio and add the DPMDBReaders$<DPMServerName group to Logins under Security in SQL Management Studio.
4. Modify the properties and under General – change the default database to the current DPMDB name.
5. Under User Mapping – select the current DPMDB name and check the db_datareader checkbox.
6. In SQL Management Studio, navigate to the Databases > DPMDB > Security > Users > and select the DPMDBReaders$<DPMServerName>" group.
Right-click the DPMDBReaders$<DPMServerName>" group and select properties. Under the
Securables section, click on Search. On the add objects dialog, click OK.
On the Select Objects dialog, click the Objects type, then check the
stored procedure checkbox. Browse and add the following two stored procedures
“Prc_MOM_Heartbeat_Get” and “prc_MOM_ProductionServer_Get”. Grant the Execute permission for both of the stored procedures added.
7. In SQL Reporting Services Configuration manager, under Report Manager URL - click on the link to open the portal (http://localhost/Reports)
i. Click on the DPMReoprts_GUID to open the DPM reports.
ii. Click on the DPMReporterDataSource
iii. On the poperties page, enabled "Credentials stored securely in the report server" on DPMReporterDataSource configuration page and added “DPMR$<DPMServerName>” user account that we created in step 2.
iv. tick "Use as Windows credentials when connecting to the data source."
v. Click ‘Test connection’ on the same page to verify whether it can connect successfully.
8. In SQL Reporting configuration manager - change the Service Account to use build-in account: Network Service
9. Reboot the DPM Server.
10. You should then be able to schedule e-mailed reports.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
posting is provided "AS IS" with no warranties, and confers no rights. -
The error also has "to repair the configuration, follow steps for repairing dpm from DPM setup help ID: 3001
I tried the solution outlined here:
http://social.technet.microsoft.com/Forums/en-US/8be919ee-f358-47a4-9cc3-d23eb05d3f18/system-center-2012-r2-dpm-smtp-issue-reporting-services-server-cannot-connect-to-the-dpm?forum=dataprotectionmanager
and also the graphical depiction here: http://www.ms4u.info/2014/01/reporting-services-server-cannot.html
I tried these steps, but everytime i try to change it, it tells me:
"The permissions granted to user 'domain\userid' are insufficient for performing this action rsaccessdenied..
Nothing seems to work..
I thought if i went into sql management studio and made sure my userid had admin rights to the db it would work.. but i cant change it there (via integrated security).. i believe i need to login as SA, but i dont recall the password for SA, though it appears
i can change the SA password from within sql management studio.. i'm unsure if doing so will break DPM though or is even needed to fix the reporting integration issue..
Any thoughts on this?
Thanks
Tech, the Universe, Everything: http://tech-stew.comUsing:
data source="servername\MSDPM2012";persist security info=False;initial catalog=DPMDB
I used the domain sqlservice account and test connection was ok.
However.. accessing reports still crashes in the MMC
Tech, the Universe, Everything: http://tech-stew.com
When i recreated the db.. i called it Reporting2 or similiar..
Then the reports folder i created called "Reports Folder"
Then datasource name "reports datasource"
The issue here is that the DPM reports in the reporting web interface are gone, since this is a new DB.. how do i redeploy them
Tech, the Universe, Everything: http://tech-stew.com
i went back into the sql reporting services area.. hit change db.. chose the original .. then back to the url.. went to the OLD reporting services folder and datasource.. added the connect string and now reporting area works.. so does scheduling..
Problem now solved
Tech, the Universe, Everything: http://tech-stew.com
Oops spoke too soon.. the first time i set it to do "status" as a schedule.. it seemed to work (clicked ok, no error).. went back and added an email notification..
Now i'm getting.. "an error occurred causing the reporting job to fail" "system files may be corrupt".
Seems to only occur if i try to add the email address portion
Tech, the Universe, Everything: http://tech-stew.com
rechecked the datasource.. i think there was an error in the connect string.. now everything seems to be working.. email notifications and all.
Tech, the Universe, Everything: http://tech-stew.com -
Getting "The Report Application Server failed" when trying to view a report
I'm getting an error pop up:
Crystal Report Windows Forms Viewer
The Report Application Server failed
OK
When trying to display a report using the Crystal Reports viewer (as shipped with VS2008)
The stack trace implies it's having problems rendering the first page of the report:
System.Windows.Forms.dll!System.Windows.Forms.MessageBox.ShowCore(System.Windows.Forms.IWin32Window owner = null, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, bool showHelp) + 0x220 bytes
System.Windows.Forms.dll!System.Windows.Forms.MessageBox.Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) + 0x18 bytes
CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.MainReportDocument.GetPage(CrystalDecisions.Shared.PageRequestContext context = {CrystalDecisions.Shared.PageRequestContext}) + 0x6a9 bytes
CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.ReportDocumentBase.GetPage(int pageN = 1) + 0x1a3 bytes
CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.DocumentControl.ShowNthPage(int PageNumber = 1) + 0x79 bytes
CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.DocumentControl.ShowFirstPage() + 0x48 bytes
CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.PageView.ShowFirstPageEx() + 0x1ec bytes
CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowReport() + 0xea bytes
CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.CrystalReportViewer.OnPaint(System.Windows.Forms.PaintEventArgs evtArgs = {ClipRectangle = {System.Drawing.Rectangle}}) + 0x182 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.PaintTransparentBackground(System.Windows.Forms.PaintEventArgs e, System.Drawing.Rectangle rectangle, System.Drawing.Region transparentRegion = {System.Drawing.Region}) + 0x16c bytes
Any ideas how to fix this?There is a good process for getting bugs fixed. However, you will have to provide a reliable way of reproducing the issue. E.g.; I can not go to R&D and ask that they fix a bug with a report that sometimes works and sometimes does not work.
I suspect the best way to approach this, will be to actually see the report and try to determine what part of the report may be the issue. To be able to share the report, you will have to create a phone case here:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
and discuss this at length with a support engineer.
Ludek -
ReportDocument.Load Exception: Failed to find Report Applicatication Server
I am using ReportDocument.Load(InfoObject infoObject, EnterpriseSession enterpriseSession) to load from an InfoObjects retrieved using InfoStore.Query. Though the query returns a valid report (the InfoObjects object is populated), I continue to get the following exception:
Exception Message = "Load report failed."
InnerException Type = System.Runtime.InteropServices.COMException
InnerException Message = "Failed to find an available Report Application Server."
According to [this thread|Failed to find an available Report Application Server;, I need to check CCM to make sure the Report Application Server is running. It does not show up in my CCM, but in CMC it is running and enabled. I also verified that the Guest account is enabled and has permissions to the reports folder and RAS.
Is there a way to test (with code) that my RAS is running and accessible? The code I am running is located on a different machine than the BOE server.
My purpose in attempting this is to export a report to disk using ReportDocument.ExportToDisk.
Thank you for your help,
-colin-This was an issue of mixed code. Colin has opened an incident with SAP Support and the issue will be handled there.
-
Custom tool error for COMexception: The report application server failed.
hi there,
i am using crystal reports for the last one year onwards, i don't get any errors till know. Yesterday when i modified some information in 40 reports. out of these reports 34 reports are successfully build, but for the remaining six reports the code is not generating.
Custom tool error: "Code generator 'ReportCodeGenerator' failed. Exception stack = CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: The Report Application Server failed
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath, String resourceNamespace)
at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"
i am not understanding why it is getting for me, Please help meHello,
Whoever wrote the CustomCodeGenerator will have to help you with this one. We know nothing about the underlying code they are using and therefore can't determine the cause.
Appears the error is it can't even load the report so there is something wrong with the workings. Open the report again in CR Designer and Verify Database and then check the changes you did. Something is not right or the DB driver their application is using does not match with what you are using.
Don -
Trying to order oracle reports developer/server 6i
Does anybody know what's the part number for ordering
Oracle Reports Developer/Server 6i or know where i can get the information? I need Reports builder for NT and Reports Server for Sun Solaris. I've tried to search tru Oracle online store and was not succesfull.
Thanks in advance!
Durand KwokPatch 11 has not released yet.
You can find patch 10 from metalink site, click patches button on the left, type in 2356680 for the patch number. (aru ID:1703176 Patchset::2356680)
Thanks,
-Shaun -
500 - Internal server error hosting Crystal Reports XI Server on IIS 7
Hi. I have just moved a to IIS 7 running in 32 bit mode and despite a few stumbling blocks along the way, it is now up and running. The Crystal report documents output as .pdf format in their own frame with no problems but when I try and output the same reports in html 4.0 format, I get the following error: CrystalDecisions.CrystalReports.Engine.InvalidArgumentException: Invalid export options. Has anyone got any ideas what might be causing this? Any help would be appreciated.
Edited by: foxdeveloper2000 on Dec 10, 2009 6:17 P MHi Ludek, I tried the Process Monitor and it doesn't throw up anything obvious as is causing this, neither do the logs. I tried installing Crysyal X1 designer on the server and when I try html preview I get the following message:
HTML Preview Configuration Required
HTML Preview will be enabled when:
You are logged on to Business Objects Enterprise. You can log on using the Repository Explorer
You have entered location of a Report Application Server. You can enter the Report Application Server Location on the Files->Options Dialog, Smart tag and html Preview tab.
Please can someone explain what this means and how I do can get my reports to output in html format.
Many thanks in advance
Maybe you are looking for
-
Cannot customize MY.MSN after upgrading to 4.0
After upgrading to 4.0, after going to my.msn all my customizing has disappreared. Now it won't let me do anything to the page at all. Not happy so far with 4,0
-
Need help in extracting value from an xml tag.
Hi ALL, Good Morning to all, i have problem in fetching a value from a xml tag. I have created a xml schema based on the schema i have created a xmltype table and inserted a value to the table. When i am trying to fetch a value from a particular tag
-
Upload a dvd from my computer to my i pod
how can i upload a dvd from my computer to my i pod
-
How to pass parameters to a function ?
I defined successfully a function like CREATE OR REPLACE FUNCTION my_func (inparm IN TEST.COL1%TYPE) RETURN NUMBER When I try to call this function with EXEC my_func 1; I am getting an error: ORA-06550 resp. PLS-00103 Found "0" when expection of of :
-
Confusion over Skype numbers and forwarding
I must be getting old because I cannot figure this out. I have a Skype number in USA, one in Japan and one in UK. I also have a worldwide call subscription. (I can call any landline, mobile or Skype account anywhere in the world free of charge (aside