CE10 - Report to Unmanaged Disk perpetual pending
Hello,
I am a report writer who has had to assume distribution responsibilities so I don't have much experience in troubleshooting Crystal Enterprise.
I am attempting to schedule a report that is intended to write to a folder on a Linux server.
1. The host file on my Crystal Enterprise server has been edited to see the Linux server as having a name recognizable to Windows:
rdfun01
2. I can, while using Windows Explorer from the Crystal Server, go to the appropriate folder
rdfun01\datapump\
3. I thusly scheduled the report destination as follows:
-Unmanaged Disk
-//rdfun01/datapump
-billing.%ext%
-Login information applied
4. When I run the report it sits at a perpetual pending status
Does anybody have any ideas?
Thank you,
Michael Hargett
Disetronic Medical Systems
Try Mapping the drive first
Similar Messages
-
Error Scheduling Crystal Report to save to Unmanaged Disk destination
When trying to schedule a Crystal Report to save to an "Unmanaged Disk" destination using the "Plain Text" format, and using the "Run Now" option, I receive the following error message "Error Message: Invalid export options. D:\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\OUT-PHOENIX.reportjobserver\~tmp17105a42ccb5ae4.rpt" I have enabled "Unmanaged Disk" capabilities within the ReportJobServer thru the CMC, and I have stopped and started the service. I still receive the error message...Help!
Hi Karla,
do you have any service packs installed on your BOBJ server? Does your destination folder reside on a network drive?
Regards,
Stratos -
How to Retrieve a Crystal Report's Unmanaged Destination Filename
Hi all,
I have looked very closely at Robert Twigg's response to the post "[Destination Path and name of a scheduled Report|http://forums.sdn.sap.com/thread.jspa?messageID=9588160#9588160]" dated 9/1/10 and while it does retrieve the unmanaged destination path, the filename retrieved is the managed filename. How does one go about retrieving an instance's unmanaged filename?
When I look at a Crystal Report instance details, it definitely knows what the unmanaged filename that was populated, here is a sample instance detail:
External Destination: File copy the instance with the filename: "ALOG_Deferred_Clearing_RPT_2011-12-13-11-43-09.pdf" to the folder: "/apps/efs_bobj/IMPL/XX" .
As you can clearly see, the filename consists of report name, date, and time that was specified as "%SI_NAME%_%SI_STARTTIME%.%EXT%" in the destination filename.
Here's the snippet to retrieve the managed filename:
IInfoObject report = (IInfoObject) reports.get(0);
// Get the file name from the instance.
IFiles files = (IFiles) report.getFiles();
IFile file = (IFile) files.get(0);
Any insight on how to retrieve an instance's unmanaged filename would be highly appreciated.
Thanks in advance,
Hart Penn
Edited by: hartpenn on Dec 14, 2011 2:14 PM
Edited by: hartpenn on Dec 14, 2011 2:15 PM
Edited by: hartpenn on Dec 14, 2011 2:19 PMThank you for your response. I am querying for the report instances using the query below:
IInfoObjects iRptObjects = infoStore.query("SELECT * FROM CI_INFOOBJECTS " +
"Where SI_KIND='Pdf' AND " +
"SI_INSTANCE>0 ");
Collection<IInfoObject> iRptObjs = iRptObjects;
for (IInfoObject iRptObj : iRptObjs) {
ISchedulingInfo iSchedInfo = iRptObj.getSchedulingInfo();
IEvents triggerEvents = iSchedInfo.getDependants();
if (triggerEvents.size() > 0) {
for (int j=0; j < triggerEvents.size(); j++) {
IInfoObjects events = (IInfoObjects)infoStore.query("SELECT * FROM CI_SYSTEMOBJECTS " +
"Where SI_KIND='Event' AND " +
"SI_ID=" + (Integer) triggerEvents.get(j));
if (events.size() > 0) {
IEvent curEvent = (IEvent)events.get(0);
IDestinationPlugin destPlugin =
(IDestinationPlugin) infoStore.query("Select Top 1* from CI_SYSTEMOBJECTS " +
"Where SI_NAME = 'CrystalEnterprise.DiskUnmanaged'").get(0);
IDestinations dests = iSchedInfo.getDestinations();
Collection<IDestination> destObjs = dests;
if (dests.size() > 0) {
// we have a dest set up
for (IDestination destObj : destObjs) {
if (destObj.getName().compareTo("CrystalEnterprise.DiskUnmanaged") == 0) {
// Copy the destination properties to the destination plugin.
destObj.copyToPlugin(destPlugin);
// Get the scheduling options for the unmanaged disk.
IDiskUnmanagedOptions diskUnmanagedOptions =
(IDiskUnmanagedOptions) destPlugin.getScheduleOptions();
// Get the destination files
List destFiles = diskUnmanagedOptions.getDestinationFiles();
String pathName = (String)destFiles.get(0);
IFiles iFiles = (IFiles) iRptObj.getFiles();
IFile myFile = (IFile) iFiles.get(0);
logger.debug("Object: " + iRptObj.getTitle() +
", ID: " + iRptObj.getID() +
", Kind: " + iRptObj.getKind() +
", Trigger Event: " + curEvent.getEventName());
logger.debug("Dest: " + pathName);
logger.debug("Filename: " + myFile.getName());
while this is not efficient, it does retrieve the instances. However, the file name returned is not what was specified in the destination filename. Here is some info returned and displayed:
Object: ALOG_Deferred_Clearing_RPT, ID: 128776, Kind: Pdf, Trigger Event: EVT_121311_114308
Dest: /apps/efs_bobj/IMPL/XX/%SI_NAME%_%SI_STARTTIME%.%EXT%
FileName: ~ce46086dd492ac788.pdf
As you can see, the filename is clearly the managed filename.
Edited by: hartpenn on Dec 14, 2011 3:43 PM
Edited by: hartpenn on Dec 14, 2011 4:02 PM
Edited by: hartpenn on Dec 14, 2011 4:03 PM
Edited by: hartpenn on Dec 14, 2011 4:17 PM
Edited by: hartpenn on Dec 14, 2011 4:26 PM
Edited by: hartpenn on Dec 14, 2011 4:27 PM
Edited by: hartpenn on Dec 14, 2011 4:28 PM -
Issue on Java Run Deski document, save format in a unmanaged disk location
Post Author: usaitconsultant
CA Forum: JAVA
m developing an java application-based that will
run deski report/document in a window machine and save output formatted
report/document (pdf, etc.) to a local destination (unmanaged disk).
However, no physical file was created after I execute my program. Note
that BO XI server is on the other machine. Below is the code. Please
let me know whats the problem? Thanks.
sql = "SELECT SI_ID, SI_NAME, SI_PROCESSINFO.SI_PROMPTS " +
"FROM CI_INFOOBJECTS " +
"WHERE SI_NAME = '" + reportName + "'";
infoObjects = infoStore.query(sql);
if (infoObjects.size() < 1) {
System.out.println("Report does not exist.");
reportFound = false;
if (reportFound) {
infoObject = (IInfoObject) infoObjects.get(0);
//Set Report Schedule
ISchedulingInfo schedulingInfo = infoObject.getSchedulingInfo();
schedulingInfo.setType(0);
schedulingInfo.setRightNow(true);
System.out.println("Schedule report successful.");
//Set report type format (3 is for PDF -- need to identify int per report type format)
IFullClientFormatOptions reportFormatOptions = ((IFullClient)infoObject).getFullClientFormatOptions();
reportFormatOptions.setFormat(3);
//Set parameters
//Code here
// Get the destination object from schedulingInfo
IDestination destinationObject = schedulingInfo.getDestination();
// Specify that we are writing to disk destinationObject.setName("CrystalEnterprise.DiskUnmanaged");
// Get the Destination plugin. Note that the SI_PARENTID will always be 29.
sql = "SELECT * " +
"FROM CI_SYSTEMOBJECTS " +
"WHERE SI_PARENTID=29 " +
"AND SI_NAME='CrystalEnterprise.DiskUnmanaged'";
IDestinationPlugin destinationPlugin = (IDestinationPlugin) infoStore.query(sql).get(0);
destinationObject.copyToPlugin(destinationPlugin);
IDiskUnmanagedOptions diskUnmanagedOptions = (IDiskUnmanagedOptions)
destinationPlugin.getScheduleOptions();
diskUnmanagedOptions.getDestinationFiles().add("c:/sample.pdf");
destinationObject.setFromPlugin(destinationPlugin);
schedulingInfo.setRightNow(true);
//Tells the CMS to schedule the report.
infoStore.schedule(infoObjects);Post Author: usaitconsultant
CA Forum: JAVA
Hi Ted,
Thanks for the reply.The file is not available in the server. Though, I checked CMS and I found an instance in history tab and the status is failed with error below.
Error Message:
A variable prevented the data provider Query 1 with BANRRD30 from being refreshed. (DMA0008).When I checked my codes, I found out that the object Im using is for web intelligence data provider. However, I cannot find any documentation and example for passing parameter values in desktop intelligence data provider. Any idea on this? You think this is not suported by Report Engine SDK?Thanks. -
Set 'Use Job server default' for Unmanaged disk destination
Hi,
I am using BO XI R2 SDK to schedule reports.
I want to set all my reports destinations to Unmanaged disk to a particular folder. I have set these in reportjobserver's destination configuration too.
Now i want create schedules through code for all my reports. I want these reports to use the job server defaults. I am unable to find a solution for this. The code i am currently using is as follows:
Code:
InfoObject diskObj = tempStoreForDisk.Query("SELECT * FROM ci_systemobjects where si_name='CrystalEnterprise.DiskUnmanaged'")[1];
DestinationPlugin destDiskPlugin = (DestinationPlugin)diskObj;
DiskUnmanaged diskUnmanaged = (DiskUnmanaged)destDiskPlugin;
DestinationOptions destinationOptions = (DestinationOptions)diskUnmanaged.ScheduleOptions;
DiskUnmanagedOptions diskUnmanagedOptions = new DiskUnmanagedOptions(destinationOptions);
diskUnmanagedOptions.DestinationFiles.Add(path);
schedulingInfo.Destinations.Add("CrystalEnterprise.DiskUnmanaged");
schedulingInfo.Destinations[1].SetFromPlugin(destDiskPlugin);
I want the italics line of code to be replaced with some code that enables the instance to use job server defaults.
If a solution for the above query is not available, is it possible to set 'specific filename with extension' in the unmanaged destination through code?
Could anyone please help me with any pointers?
Thanks.Hello, Gayathri;
I am not aware of a method to get defaults from the Job Server.
You can use Visual Studio .NET to schedule to a disk file. We do have samples associated with our Developers Library on line.
http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
The sample I am thinking of is "Schedule Report".
http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/BOE_SDK/sampleList.htm
Here is a simple sample that schedules to disk:
Imports CrystalDecisions.Enterprise
Imports CrystalDecisions.Enterprise.Desktop
Imports CrystalDecisions.Enterprise.Dest
Public Class ScheduleDisk
Inherits System.Web.UI.Page
Dim ceSession As EnterpriseSession
Dim ceEnterpriseService As EnterpriseService
Dim ceInfoStore As InfoStore
Dim ceReportObjects As InfoObjects
Dim ceReportObject As InfoObject
Dim ceReport As Report
Dim sQuery As String
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Try
'grab the Enterprise session
If TypeOf Session.Item("ceSession") Is Object Then
ceSession = Session.Item("ceSession")
'Create the infostore object
ceEnterpriseService = ceSession.GetService("", "InfoStore")
ceInfoStore = New InfoStore(ceEnterpriseService)
'Create query to grab the desired report
sQuery = "Select SI_ID From CI_INFOOBJECTS Where SI_PROGID = 'CrystalEnterprise.Report' AND SI_Name='Consolidated Balance Sheet' AND SI_INSTANCE=0"
ceReportObjects = ceInfoStore.Query(sQuery)
'check for returned reports
If ceReportObjects.Count > 0 Then
ceReportObject = ceReportObjects.Item(1)
ceReport = CType(ceReportObject, Report)
'Create an interface to the scheduling options for the report.
Dim ceSchedulingInfo As SchedulingInfo
ceSchedulingInfo = ceReport.SchedulingInfo
'run the report right now
ceSchedulingInfo.RightNow = True
'run the report once only
ceSchedulingInfo.Type = CeScheduleType.ceScheduleTypeOnce
'When scheduling to all destinations except the printer, you must first retrieve
'the appropriate destination object. Each destination InfoObject is stored in the
'CMS system table (CI_SYSTEMOBJECTS) under the Destination Plugins folder
'Retrieve the DiskUnmanaged Plugin from CI_SYSTEMOBJECTS
Dim ceDestinationObjects As InfoObjects
Dim ceDestinationObject As InfoObject
ceDestinationObjects = ceInfoStore.Query("Select * from CI_SYSTEMOBJECTS Where SI_NAME = 'CrystalEnterprise.DiskUnmanaged'")
ceDestinationObject = ceDestinationObjects.Item(1)
'Create the DestinationPlugin object
Dim ceDisk As New DestinationPlugin(ceDestinationObject.PluginInterface)
'Create a diskUnmanagedOptions object and its ScheduleOptions from the Destination plugin
Dim ceDiskOpts As New DiskUnmanagedOptions(ceDisk.ScheduleOptions)
ceDiskOpts.DestinationFiles.Add("c:\ScheduledReports\ScheduledToDisk.rpt")
'Copy the properties from the Destination Plugin object into the report's scheduling
'information. This will cause the file to be transfered to Disk after it has been run.
Dim ceDestination As Destination
ceDestination = ceSchedulingInfo.Destination
ceDestination.SetFromPlugin(ceDisk)
'schedule report
ceInfoStore.Schedule(ceReportObjects)
Response.Write("Report Scheduled Successfully with an Object ID of : " + ceReportObject.Properties("SI_NEW_JOB_ID").ToString)
Response.Write("<br>Report Scheduled to the following location: " + ceDiskOpts.DestinationFiles(1).ToString)
Else
'no objects returned by query
Response.Write("No report objects found by query <br>")
Response.Write("Please click <a href='Index.aspx'>here</a> to return to the logon page.<br>")
End If
Else
'no Enterprise session available
Response.Write("No Valid Enterprise Session Found!<br>")
Response.Write("Please click <a href='Index.aspx'>here</a> to return to the logon page.<br>")
End If
Catch err As Exception
Response.Write("There was an error scheduling the report: <br>")
Response.Write(err.Message.ToString + "<br>")
Response.Write("Please click <a href='Index.aspx'>here</a> to return to the logon page.<br>")
End Try
End Sub
End Class
Elaine -
Split a PDF by sections and name them into one unmanaged disk destination
Hi,
I have a report wich I export as a PDF to an unmanaged disk destination. The report is grouped by geographic area, and I want to separate the PDF into each of the 200 geographic areas. Is there any way to do this without having 200 versions of the report or without having 200 instances with a different parameter?
Thanks,Thanks Bashir,
It is a Crystal report, and I already have the sections with the tree in the left part to get to the appropiate section, the problem is that the report is too big and users prefer to access just the file they need; that is why I want to split into separate PDFs. The other advantage is that it make it easier to link from my Intranet just to the part each group need, and for users who access remotly, opening a small file takes less time than opening a huge file, so there are many reson to split it.
Any ideas? -
Schedule to Unmanaged Disk failure
I have seen a few messages related to this issue, but none have been help in my case.
I recieve the following message when attempting to schedule a report to an unmanaged disk using a specific domain account that I can use to log into the specific server locally:
Status: Failed
Printer: The instance is not printed.
External Destination: Copy the instance with filename 'IA - Fin Ban Upload.xls' to the directory '//DESTINATIONSERVERNAME/parentfolder/childfolder'.
Creation Time: 4/24/2009 11:19 AM
Start Time: 4/24/2009 11:19 AM
End Time: 4/24/2009 11:19 AM
Server Used: BUSINESSOBJECTSSERVER.M5runI
Error Message: login error. CrystalEnterprise.DiskUnmanaged: Logon failure: user not allowed to log on to this computer.
And the message below when attempting to schedule a report to an unmanaged disk using a local account to 'DESTINATIONSERVERNAME':
Status: Failed
Printer: The instance is not printed.
External Destination: Copy the instance with filename 'IA - Fin Ban Upload.xls' to the directory '//SERVERNAME/parentfolder/childfolder'.
Creation Time: 4/24/2009 11:19 AM
Start Time: 4/24/2009 11:19 AM
End Time: 4/24/2009 11:19 AM
Server Used: BUSINESSOBJECTSSERVER.M5runI
Error Message: login error. CrystalEnterprise.DiskUnmanaged: Logon failure: unknown user name or bad password.
It works when myself and other users use our personal domain accounts. All accounts being used I have elevated to Administrative privleges on the DESTINATIONSERVERNAME and none have privleges on the BUSINESSOBJECTSSERVER. I am using a Business Objects Server enterprise account to schedule the jobs, as we do not have our BOS using domain authentication. I need to be able to use one of our generic domain accounts or a local account to the DESTINATIONSERVERNAME to schedule jobs because our security policies make us change our personal domain account passwords on a regular basis. I do not want to reset the password on the 30+ jobs I have scheduled everytime my personal domain account password changes.
Here is our BOS specs:
Build Date: 2007/03/01 05:19:03
Build Number: 826
Product Version: 11.5.8.826
Data Source: BOE115:127.0.0.1:3306
Database Name: 4.1.13a-pro
Database User Name: BusinessObjects
Auditing: Disabled
If anyone has any insight to this, I would be greatly appreciated.Just a thought, I never tried this before, but if you were to open a program such as wordpad or notepad on the server using Microsoft "run as" (the domain account running the BO job server) then save as to the UNC location you should be able to verify all NTFS, network permissions, and policy are in order.
If so then the problem would seem to be BO config. The most common issues are making sure you use the UNC path name to access to reference the share and make sure in the CMC > servers > job server > destinations that the unmanaged is enabled (you must do this for the report job server for scheduling and destination job server for sending.
Regards,
Tim -
Unmanaged disk destination - overwrite file possible?
Hi,
I have defined an unmanaged disk location for my Crystal Reports Server XI system. The dozen or so reports that I have scheduled daily write to that destination fine -- unless an existing file with the same name already exists in that location.
Since i have defined specified filenames (%SI_NAME%.%EXT), rather than the randomly generated name, each day's report is generated with the same name as any other day's. However, the new reports do not overwrite the old, which I would like to enable if possible. Please do not suggest adding %SI_STARTTIME%, to make the filename unique, for I need to retain a consistent filename for manually uploading (and overwriting) to Sharepoint (another topic of discussion).
Is it possible to configure the unmanaged disk destination to overwrite existing files if same filename exists?
Thank you,
G.BrownHi Greg,
We're not using Crystal reports but do schedule BO Deski documents to publish as pdf files to a networked drive and we are using '%SI_NAME%.%EXT%' to specify the filename and it does automatically overwrites the existing files. Does the username that your job is running under have full permissions on the folder in question on your unmanaged disk?
Regards,
Anne. -
Unmanaged Disk Destination settings Default
Hi,
How can one change the u201CUnmanaged Disk Destination settings Defaultu201D option in any job servers to False?
I need all the users to provide their domain username and password while scheduling reports to the unmanaged disk. Present value of the metric is "True". I don't find any way to change it back to false. I cant also use the reset to default option in case needed, as other configurations will get affected.
Thanks & Regards
Karuppiah NHi Karuppiah!
I think there is no way to deselect the standards for the output formats.
You have following possibilities:
1. Teach your users, that they have to unmark the default, and have to provide their own entries.
2. Enter defaults for each report.
I thought about the file output for a standard user, but I came to the conclusion that it would be better if the users only use the email output for their purpose. The file output is only used by the admin to deliver reports to different systems.
ciao -
My Time Machine is not backing up and gives me this error report:
The backup disk image "/Volumes/Data/Valarie'siMac.sparsbundle" is already in use
Time Machine could not complete backup
Can anyone help me?Look at the discussion on the following forum:
https://discussions.apple.com/thread/3882138?start=0&tstart=0
The responses given there may help. -
Report for GR done MIRO pending
All SAP Gurus,
Is there any standard Report for GR done MIRO pending?
Regards,hi,
You can check in two ways:
1. From table EKBE(Purchasing doc history)
2. from report ME2N, ME2B, ME2C ....by using the selection parameter as "RECHNUNG"...
Hope it helps..
Regards
Priyanka.P -
My computer is reporting a hard disk failure. what to do?
My hard disk is reporting a failure (Disk Name Toshiba MK6465G4x ATA Device) on my HP Pavilion dv6 Notebook PC (64 bit OS) which uses windows 7 home premium. When I run a hard disk check, it fails (failure M11V51-55V5Q8-XD003G-60E803). ANY SUGGESTIONS?
Unfortunately with that fail code, no it can not be fixed. Some fail codes indicate a recovery can be run or the check disc might fix it, but not with this fail code.
I work for HP. -
UNABLE TO SAVE PORTAL REPORTS OUTPUT TO DISK WHEN USING INTERNET EXPLORER
Hi,
We are unable to save portal reports output to disk when we are using
Internet Explorer. This works fine if we use Netscape.
Steps to reproduce
1. Run a report from portal
2. Now from the IE menu, select File-> Save As
We get a warning saying that IE cannot save the web page
Any thoughts ?
Thanks
TimTim,
Are you trying to save the HTML output ? You might encounter probs. with that, but that is more due to IE security
settings than the Portal.
You might want to check your IE security settings.
Hi,
We are unable to save portal reports output to disk when we are using
Internet Explorer. This works fine if we use Netscape.
Steps to reproduce
1. Run a report from portal
2. Now from the IE menu, select File-> Save As
We get a warning saying that IE cannot save the web page
Any thoughts ?
Thanks
Tim -
Problem: Final Cut Pro X inaccurately reports "Out of disk space", when I have 333GB free.
Trying to "share" the compound clip I've created as an mp4 1080p file.Editing MP4 media can create all sorts of havoc with FCP.
Convert the clips to .mov files – either Compressor or MPEG Streamclip will do that – preferably in Pro Res 422
Russ -
Problem with Scheduling a Report to an Unmanaged disk destination
I am trying to schedule a Crystal report to a file share. I have supplied the UNC path in the Directory field. Supplied a user name (using domainname\userid) and password that has write rights to the file share. When I schedule the report, I get the following error:
login error. CrystalEnterprise.DiskUnmanaged: Logon failure: the user has not been granted the requested logon type at this computer.
What kind of rights do I need to make it work?
Using BOE XI R2 Fix Pack 2.4
Regards,
MaureenAre you running the Crystal Report Job Server under an account that has access to the share? Try doing that if not. (CCM > stop job server > properties > change to an AD user with access to both the file share and local Admin to run the service)
Regards,
Tim
Maybe you are looking for
-
How can I make only the shape active for the mouse events, not the whole box around it?
I want to create mouse over events for different parts of an image (say of a hard disk drive), so when the user places their mouse over the spindle, say, it will change colour. At the moment I have it working however the event is triggered when ever
-
Converting report output to pdf by submit spooland email to multiple vendor
Hi all, my current program converting the report output to pdf and then downaloding andsending to vendor email.If user enter single vendor is o.k. but if suppose user enter multiple vendors,report is dipalying with multiple vendor informa
-
I have an OpenType font installed on my system that appears in Mac OS X's Font Book as 5 fonts (regular, condensed, etc.). Within each of those fonts are the many bold and italic style variations, shown just as I want them. However, InDesign shows th
-
Expand or collapse all collapsible panels at once.
Hi, I have a page with a number of collapsible panels on it generated from SpryData. I know the collapsible panel names because their IDs are generated from the Spry data with <div class="CollapsiblePanel" id="cp{ds_RowNumber}" spry:repeat="Events">
-
Communications between 2 different forests
Dear Microsoft forum's members I am setuping a virtual lab on my own computer. The image below represents to my own topology. http://i1354.photobucket.com/albums/q685/marko_vn/Labtopology-questions_zps7843b309.jpg I want to reach the targets mentione