Cascading Parameters prompting twice when scheduling report on CMC
Hi all,
I am having some difficulty with the Central Management Console (CMC) when scheduling a report I created.
The report contains one sub-report with a stored procedure to generate the data. This stored procedure has 5 parameters including region and city. In the main report I implemented cascading parameters for region and city and passed their values to the parameters of the stored procedure for the sub-report. All of this works fine within Crystal Reports when I run the report and even when I use the "View" option in CMC. However when I use the "Schedule" option in CMC to schedule the report and I am setting the parameters for the report, there is some odd behavior. The first parameter shows two values, one for region and one for city (this is fine). The next parameter is a string variable. When I try to set this parameter, I am prompted again with the cascading parameters for the region and city. This messes up all the parameters and if I continue to set the other parameters, I am prompted to give a value for the previous parameter.
Why am I being prompted twice to enter a value for the cascading parameters? How can I fix this?
Thanks in advance for your help.
P.S. I thought about using the cascading parameters as filters in the Crystal Report itself but this causes the report to be slow as a lot of data is brought back from the stored procedure before filtering.
P.P.S. I am using Crystal Reports 2008
Hi Jevon,
What version of BO (Service Pack, Patch) are you using?
Try upgrading the version to a higher Service Pack/Patch on a Test environment to see if that resolves the issue.
-Abhilash
Similar Messages
-
How to handle the OK button of the parameters prompt of a crystal report
Hi,
how to handle the OK button of the parameters prompt of a crystal report in vba.NET?
I want to use the parameter prompt from the crystal report itself and I want to know when the report is ready. I need to export programatically by sending email to a list of employees after the parameters has been set. The emails I send depends on the results of the report.
Im using a CrystalReportViewer control in VS2010 and Crystal Report for VS2010 v13.0.1.220.Right. But the parameter screen is driven by the viewer. Unless you create your own parameter screen and pass the parameters to the report via code.
Another thing I am not sure about:
"Then by code I want to read all the employees id from the report and send email to them with specified pages of the report. (1 page per employee)"
How do you plan on reading the employee ID from the report? I am not aware of any API that will read a value in a report so that you can then decide what page to send to whom.
I think you're approaching this kinda backwards. A question to ask is; can you do what you are trying to do in code in the CR designer? If not, using APIs will not work either. I suspect your approach should be a report that uses an employee filter. Run the report for employee x, get the report populated with the data for that employee and email it. Repeat for employee x1, employee x2, etc.
- Ludek -
We do not have destinations set up for FTP, email and unmanaged disk in our environment due to our stringent security requirements. Even after being told these are not available, our users continue to try to schedule the report to go to these destinations and they are causing the reports to fail and utilize database resources for a report that will not complete successfully.
Does anyone know if there is a way to hide the destinations from users when they schedule reports? I know this was an option a couple of versions back but I cannot find it in BOE XI3.1 SP3. The only option we want our users to see is Inbox and their personal folders.
Our environment is:
Windows Server 2003 SP2
Tomcat 5.5.30
Java 1.6
BOE XI 3.1 SP3 FP3.2
Thanks.
RichHi,
We can control distinations by configuring them on Respective Servers, which should be protected from business users.
Assuming that you wish to configure only email as destination for Crystal Reports, then
Step 1 : Access properties of Server-> CrystalReportsJobServer
Step 2 : Choose only valid Desitnations that you wish to provide, In our case it is only eMail
Always go for cloning existing server if you are customization. Which is good practice than directly working on default server.
HTH
B Ravi Shankar -
No Option to 'Clean up instance' when scheduling report as HTML
Running BO XIR2 SP3.
When scheduling a report as pdf, xls or txt I have the option to 'Clean up instance after scheduling'. When I select HTML format, this option is not there. Where am I going wrong?Running BO XIR2 SP3.
When scheduling a report as pdf, xls or txt I have the option to 'Clean up instance after scheduling'. When I select HTML format, this option is not there. Where am I going wrong? -
Email to users when scheduled report are finished
Hi!
We run BO 6.5 and have a lot of reports in BCA that run on both indicator and time. Sometimes the reports are delayed due to late indicator and therefore we have some users that would like to have an e-mail each time theese reports are finished. Is that possible to set up in either Desktop or BCA?
Regards, MarianneMarianne,
That is possible. In our situation we send e-mails to users (and even a number of our customers) when a report has been refreshed by the BCA.
What we have done is added a piece of VBA code to each of the documents which need to send an e-mail after refresh. In our situation the VBA saves the report as a pdf or excel file and sends that as an attachment to the recipient. But you could also just send a standard message to the users.
In our situation the VBA (very simplified) looks as follows:
Private Sub Document_AfterRefresh()
Dim FileN As String
FileN = "Path and Filename of document.rep/pdf"
On Error Resume Next
doc.SaveAs (FileN)
'Mail the report to the user(s)
On Error Resume Next
Shell "cscript.exe pathname+filename.vbs", vbHide
End Sub
After the refresh the document is saved as a pdf or xls file and a cscript is executed which actually performs the sending of the e-mail.
Below an example of one of our cscript files (adjusted)
'Sending SMTP mail via port 25 using CDOSYS
'This ASP page uses CDOSYS to send SMTP mail using port 25 of the SMTP server that is set.
'The e-mail delivery is handled by the SMTP server that is set in the configuration object.
'send by connecting to port 25 of the SMTP server
Dim iMsg
Dim iConf
Dim Flds
Dim strHTML
Dim strSmartHost
Dim SendList
Const cdoSendUsingPort = 2
StrSmartHost = "NAME OF HOST"
set iMsg = CreateObject("CDO.Message")
set iConf = CreateObject("CDO.Configuration")
Set Flds = iConf.Fields
' set the CDOSYS configuration fields to use port 25 on the SMTP server
With Flds
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = cdoSendUsingPort
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strSmartHost
.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
.Update
End With
' build HTML for message body
strHTML = "<HTML>"
strHTML = strHTML & "<HEAD>"
strHTML = strHTML & "<BODY>"
strHTML = strHTML & "<b> This is the test HTML message body</b></br>"
strHTML = strHTML & "</BODY>"
strHTML = strHTML & "</HTML>"
SendList = "e-mail addresses seperated by ;"
' apply the settings to the message
With iMsg
Set .Configuration = iConf
.To = SendList
.From = "anything"
.Subject = "Your subject description"
.HTMLBody = strHTML
.AddAttachment "Any attachments"
.Send
End With
' cleanup of variables
Set iMsg = Nothing
Set iConf = Nothing
Set Flds = Nothing
Hope this will get you started.
Regards,
Harry -
Automatic Email When Scheduled Report Fails?
Is there a way to configure XI to automatically send an email if a scheduled report fails to run successfully?
This is actually configured at the report level from the CMC and not via auditing. For each report that you want notification(s)to be set for, switch to the Schedule tab --> Notification in the CMC. Enable email notifications as required. ie. "A job has failed to run. "
-
Error when running report in CMC and Infoview
Hi all,
i have this following problem:
- when i try to run report in cmc it fails and i get this error message: Error in File ~tmp1a745af945b59b0.rpt: Failed to load database information
- when i try to run the report in infoview the error message looks like this: Error in File test_4: Failed to load database information.
Where can be the possible problem ?
Thanks for any suggestions.<b>i dont know if this could help you, but i found something when trying to refresh report in infoview - the full error log:</b>
2009-05-27 08:40:54
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error in File Vykaz_2:
Failed to load database information.---- Error code:-2147215357 Error code name:internal
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.a(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.findGroup(Unknown Source)
at com.businessobjects.report.web.event.q.a(Unknown Source)
at com.businessobjects.report.web.event.z.a(Unknown Source)
at com.businessobjects.report.web.event.bt.broadcast(Unknown Source)
at com.businessobjects.report.web.event.ak.a(Unknown Source)
at com.businessobjects.report.web.a.q.if(Unknown Source)
at com.businessobjects.report.web.e.a(Unknown Source)
at com.businessobjects.report.web.e.a(Unknown Source)
at com.businessobjects.report.web.e.if(Unknown Source)
at com.crystaldecisions.report.web.viewer.CrystalReportViewerUpdater.a(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.if(Unknown Source)
at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
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 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):
Edited by: Martin Zluky on Jul 27, 2009 9:35 AM -
Error when running report in CMC and Infoview_2
I made this same thread in BOBJ Administration section but maybe it belongs here..........
Hi all,
i have this following problem:
- when i try to run report in cmc it fails and i get this error message: Error in File ~tmp1a745af945b59b0.rpt: Failed to load database information
- when i try to run the report in infoview the error message looks like this: Error in File test_4: Failed to load database information.
Where can be the possible problem ?
Thanks for any suggestions.Hi,
this forum is about the Integration Kit with SAP. seems to belong to the BusinessObjects administration area
Ingo -
Discoverer 3.1.25: getting error ORA-06550 when scheduling report
Hello,
we are still using the Discoverer version 3 (release 3.1.25). I know that this version is out of support, but that doesn't harm use from using it...
The Discoverer has been working fine for the last couple years. At the beginning of every month the same already defined reports are getting generated. But with the beginning of the year 2010 we are getting the error:
ORA-06550: line 1, column 93:
PLS-00201: identifier 'EUL$BATCH_PACKAGE0100112082923.RUN' must be declared
ORA-06550: line 1, column 93:
PL/SQL: Statement ignored
ORA-06512: at "SYS.DBMS_JOB" line 79
The numbers "0100112082923" after the identifier "EUL$BATCH_PACKAGE" specify the date and time:
082923: 08 hour, 29 minutes, 23 seconds
0100112: 010 year, 01 month, 12 day
The reason of that error is that the mentioned Package/Packagebody EUL$BATCH_PACKAGE*0*100112082923 doesn't exist in the database. But as a matter of fact the Package/Packagebody 'EUL$BATCH_PACKAGE100112082923 does exist. The Discoverer creates the Package/Packagebody without the "0" after the identifier "EUL$BATCH_PACKAGE" in the database, but wants to use the Package/Packagebody with the "0" after the identifier "EUL$BATCH_PACKAGE". Seems like a bug to me - does anybody have the same problem?
Until the year 2009 the year was specified with just two digits (09) - now the year seems to get specified with 3 digits (010) - but in the database just two digits are used. Is there any property table or button where this gets defined?
Any help will be appreciated!Seems like if I have found the bug by myself...
In the procedure SubmitJob(...) of the package EUL$BATCH_REPOSITORY the name of the scheduled procedure gets generated with the hardcoded string
"EUL$BATCH_PACKAGE0". The zero after "PACKAGE" is only correct when the year ends with one digit (e.g. 2001, 2002, ..., 2009). When shortening the
string to "EUL$BATCH_PACKAGE" everything works fine again...
Rgds -
Intermittent "Invalid specified printer" when scheduling reports to printer
Hi All,
looking for pointers to resolve this issue .
Every now and again (about once a week) a print schedule will fail with the error message "Invalid specified printer".
- Issue is intermittent, and dozens of other print jobs run successfully.
- No specific pattern has been found (no specific document, time, server, user). Documents scheduled are Crystal Reports
- there are several printers installed on the machine, but only one used for those schedules (HP 4350 PCL6) set as default.
- nothing specific appears in the event viewer when the issue occurs
- at the time of the traced issue there were only 4 print jobs going on (low volume).
- scheduled documents are small, and schedules run automatically (based on events)
- using "No printer' parameter in the CR templates (early recommendation) seems to have reduced the number of occurence of the issue, but it still happens every other week
- using XI3.1 SP2 clustered windows environment.
Already tried the following steps with no success:
- Running the CR Job server on a Domian Account
- Re-installing printer drivers
- Updating to the latest Printer drivers
- rights on all machines/servers have been checked
- In CR report properties for the 'Print Settings' tried with both the options - 'Default Printer' and 'Specify the Printer'
excerpt from traces (JobServerChild_<pid>_crpe_functions.log):
PESelectPrinterN ~ce24e866c818dcfc2.rpt 0 printJob:3,driverName:,printerName:\\sinfp03p\RM43-062A,portName: IN tdrcws 0 <==
PESelectPrinterExW ~ce24e866c818dcfc2.rpt 0 printJob:3,printerInfoW:<driverName:>, <printerName:\\sinfp03p\RM43-062A>, <portName:>, <StructSize:4272652726> IN tdrcws 0 <==
PESelectPrinterExW ~ce24e866c818dcfc2.rpt *513* OUT printJob:3,printerInfoW:<driverName:>, <printerName:\\sinfp03p\RM43-062A>, <portName:>, <StructSize:4272652730> tdrcws 0 <==
PESelectPrinterN ~ce24e866c818dcfc2.rpt *513* OUT printJob:3,driverName:,printerName:\\sinfp03p\RM43-062A,portName: tdrcws 0 <==
The traces above look exactly similar in successful occurrences, except the 513 returned is 0 instead. They continue below (error case only)
PEGetErrorCodeAndSubstituteStrings ~ce24e866c818dcfc2.rpt 0 printJob:3,errorInfo:<lastErrorCode:0><StructSize:26><nSubstitutionHandle:0> IN tdrcws 0 <==
PEGetErrorCodeAndSubstituteStrings ~ce24e866c818dcfc2.rpt 0 OUT printJob:3,errorInfo:<lastErrorCode:513><StructSize:26><nSubstitutionHandle:1> tdrcws 0 <==
PEGetErrorTextEx ~ce24e866c818dcfc2.rpt 0 printJob:3,textHandle:0,textLength:0,lcid:4294967295 IN tdrcws 0 <==
PEGetErrorTextEx ~ce24e866c818dcfc2.rpt 0 OUT printJob:3,textHandle:1c8002c,textLength:100,lcid:3081 tdrcws 0 <==
PEGetHandleStringExN 0 textHandle:1c8002c,text:*Invalid printer specified*.
Any idea what to look for?
Thanks for your help
Antoine
Edited by: Antoine Desmarets on Feb 18, 2011 6:52 AMA print server is indeed used.
It is actually the company print server, but only one printer is used for this particular app.
Unfortunately nothing canbe changed / tested regarding the printer / print server settings.
Regarding error logs, it seems that the print requests don't even show on the print server at all.
For example, 18 CR reports were scheduled to print and 17 were successful, 1 failed with the "Invalid printer specified" error.
The print server only had signs of the 17 successful jobs, but nothing (no error, no pending, nothing) about the missing report. -
Prompt Order when opening Report - And order in List Of Values
I guess this is a fearly easy question... But I thought easier to ask you guys than struggling all night.
1 - I have a report with some prompts. How do I change the order they appear in ?
2 - For some List Of Values I have really a strange order. How come ? And What should I do to fix it ?
Hoping on some good answers in the weekend
Best Regards
IngridHi Ingrid,
You can set the "Prompt Order" in "Properties" tab in the Query Panel.
1.Make sure that you are in the Query Panel. Make sure that "Edit Query" button is pressed.
2.Click on the "Properties" tab, just beside "Data" Tab
3.Scroll down to see the "Prompt Order" option. Select the prompt and use " UP or DOWN" arrows (not the keyboard arrows. Expand the "properties" tab window, if you don't see the arrows) to change the prompt order.
Thanks,
Raveendra -
Get Report Error when schedule report run
No problem I know what it is.
Issue was related to the Console URL setting in the Grid Control Overview tab, it was set to http://<host>:<port>/em/console and should have been set to http://<host>:<port> instead.
-
Failed to load database information. When previewing report in CMC
I attempting to load reports that are from our accounting program. The account program uses a ProvideX driver and every report I add to the CMC displays the same results
Unable to retrieve Object.
Failed to load database information. File xxxxxxxxx.rpt
When I am listing my connection source for the report I have the following selected:
Use custom database logon information specified here
For the driver I am listing
MAS 90 4.0 ODBC Driver
Server = SOTAMAS90
DATABASE= ABC
USER= bmb
Password= password
If I have any other settings or if I just choose standard ODBC I get the following results
Unable to retrieve Object.
The database logon information for this report is either incomplete or incorrect.
I can view reports fine from my Access Database but the SOTASMAS90 is causing problems.
Any ideas?
Thanks in advance!
BrianI tried using the standard ODBC connection and I tried placing MAS 90 4.0 ODBC Driver in the custom driver.
If I go to my ODBC connections in my Administrative tools and select Add driver, the driver name that displays is MAS 90 4.0 ODBC Driver. So I was thinking that the CMC would be able to determine the driver if I used the same naming convention that was used by Windows.
I have some screenshots that I uploaded if you want to take a look. I figure this should just work.
Shows when I have selected the standard ODBC
http://i36.photobucket.com/albums/e31/bberrelez/image1.jpg
Shows when I specify a custom driver
http://i36.photobucket.com/albums/e31/bberrelez/image2.jpg
Displays the drivers I am able to choose from within CMC
http://i36.photobucket.com/albums/e31/bberrelez/image3.jpg
If I were to create a new ODBC connection in Windows
http://i36.photobucket.com/albums/e31/bberrelez/ODBC.jpg
Thanks helping me with this. I appreciate it! -
Database Credentials When Scheduling Crystal Report
In our Crystal Reports 2008 server, each user has their database credentials populated in their user account on the Crystal Reports Server.
(in the area where is says "Enable Database Credentials").
For each of our reports, we have the option "Use SSO context for database logon" selected.
This causes the server to connect to the database using each user's database credentials when they run reports "on-demand".
However, these credentials do not automatically populate when they go to schedule a report.
Is there a way to get these credentials to populate the Database Login fields when scheduling reports to run?
It seems odd to me that it would use the credentials "on-demand", but not when setting up a scheduled report.
Any info would be appreciated.
Thanks.Thanks Brian.
What you describe is what we currently have setup.
The difference with what I'm asking is that each user's account has different database login credentials.
So when running "on-demand", it logs in using the credentials in their account settings.
But when running "scheduled" everyone logs into the database using the default account.
We have row-level security on the database (using Oracle VPD) to enforce security based on the user account that is logged into the database.
This means that when running the report scheduled, the security doesn't work because it doesn't populate the database credentials from the user's account. -
Scheduled report failures - Unexpected error getting the HTTP response
Getting this error when scheduled report executes:
Unexpected error getting the HTTP response stream while generating report: http://cdmdb1c.nam.nsroot.net:4889/em/console/reports/renderHi..
Thanks for the comment.
Below is how my web.xml entry looks like.
The requirement is to send a 404 error response and that will be handled by a servlet which inturn writes the output to the response object.
<servlet>
<servlet-name>ErrorPageServlet</servlet-name>
<servlet-class>com.test.ErrorPageServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ErrorPageServlet</servlet-name>
<url-pattern>/error</url-pattern>
</servlet-mapping>
<error-page>
<error-code>404</error-code>
<location>/error</location>
</error-page>>>
the first option to turn off the "show friendly html error pages" works fine.
It would be better if I can get a different solution
Maybe you are looking for
-
How to use 2 HD's for Bootcamp?
Hey guys, i need some help. I have a late '07 MacBook Pro, 6gb ram, 80gb SSD hard drive, and a 640gb SATA in the dvd drive bay. I have Mountain Lion on the SSD, but i was wanting to use bootcamp to install Windows on the SATA, how can i do this?
-
No working part of my iPad mini screen
I don't know what happen with my iPad mini , some time I can't contral it , it can open a program by itself And have part of screen doesn't work,I am using in a good condition. I try to restore and restart but this problem still happening.can I have
-
How can i get radio on my iphone4s without the internet
How can i get radio on my iphone 4s without the internet. tyou
-
How to download pdf files, & Microsoft office words, Excel files PC
I just got my 3Gs a few days ago. I am so use of getting all my pdf files, words files na excel sheet into my phones so that I can work with when I am travelling. I am using a PC and do not how to do this even though I have Document to go software th
-
How to create a form layout without borders
hi, is there any way to create a form layout with the jsp page rendered without the borders?