U201Ccom.crystaldecisions.report.web.viewer-600,000 milliseconds timeout
Could you please help me as I am getting the following error when I run the report fro GUI.
I am using the CR10 on UNIX env and Webshere.
u201Ccom.crystaldecisions.report.web.viewer.ReportExportControl The request timed out because there has been no reply from the server for 600,000 millisecondsu201D
But when i ran the same report from Crystal Manaagement console - It works fine.
Please help me
Could you please help me as I am getting the following error when I run the report fro GUI.
I am using the CR10 on UNIX env and Webshere.
u201Ccom.crystaldecisions.report.web.viewer.ReportExportControl The request timed out because there has been no reply from the server for 600,000 millisecondsu201D
But when i ran the same report from Crystal Manaagement console - It works fine.
Please help me
Similar Messages
-
NoClassDefFoundError: com/crystaldecisions/report/web/jsf/JSFViewerTag
any help appreciated, I get this error when I deploy to weblogic 10.x server.
it works fine for tomcat 6.
java.lang.NoClassDefFoundError: com/crystaldecisions/report/web/jsf/JSFViewerTag : javax/faces/webap
p/UIComponentTag
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:291
Truncated. see log file for complete stacktrace
java.lang.NoClassDefFoundError: com/crystaldecisions/report/web/jsf/JSFViewerTag : javax/faces/webap
p/UIComponentTag
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:291
Truncated. see log file for complete stacktrace
>
============================================
Which libs I am missing in my war file,this is taken care,
If you use project of WTP 2.5 type, it has issues, if your project is of type 2.4 this is no more issue. -
Crystal Report 2011 CrystalDecision.reports.web.dll Not found
Dear All,
Scenario 1:
I want to use crystal report in my web application developed in 2008 so,
I have been install Crystal Report 2011 Evaluation copy download from SAP Site.
But it will not found following necessary dll file after installing it.
1. CrystalDecision.reports.web.dll
2. CrystalDecision.reportsource.dll
3. CrystalDecision.reports.engine.dll
4. CrystalDecision.reports.shared.dll
This files are necessary to load crystal report on webForm.
Scenario 2:
I want to download Crystal report 2011 run-time but i found it with must install visual studio 2010 setup.,
so, i need crystal report 2011 run-time which will run with dependency of VS 2010 and with both .net framework 3.5
and 4.0
So,Can anybody tell me solution about this scenarios.Hi,
There is no .NET SDk for CR 2011. It does not install any SDk assemblies.
No SDk means No runtimes.
[http://forums.sdn.sap.com/thread.jspa?messageID=10937322#10937322|http://forums.sdn.sap.com/thread.jspa?messageID=10937322#10937322]
[https://weblogs.sdn.sap.com/pub/wlg/25302|https://weblogs.sdn.sap.com/pub/wlg/25302]
[http://forums.sdn.sap.com/thread.jspa?messageID=10814217#10814217|http://forums.sdn.sap.com/thread.jspa?messageID=10814217#10814217]
[1606608 - Where is the SDK for VS .NET in Crystal Reports 2011? |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333633303336333633303338%7D.do]
Use either CR 2008 + VS 2008 or VS 2010 + CR for VS 2010
- Bhushan.
Edited by: Bhushan Hyalij on Feb 9, 2012 1:32 PM -
Parenthesis in a parameter throws error in Crystal Reports Web Viewer.
The application that I am working on is passing a parameter which contains user data like section numbers....
So when we pass the value 123.1(a) , here what is happening behind the scene of CR viewer
webSource0.AddParameter "promptex-NAMEOFPARAMETER", "123.1%28a%29"
and it throws up the following error
"The syntax of the value for prompt 'NAMEOFPARAMETER' is incorrect. Please correct the syntax and try again"
I have no idea why it is throwing up this errror.... and we cannot avoid parenthesis.
It works without any error in the actual crystal report developer.
Is this some kind of bug or is there any workaround for this.
Version that I have:
Crystal Report web Viewer Control 11.5
Crystal Developer 11.0.0.1282
Thank you,
XavierI figured out the answer. It was the ASCII notation for double qoutes which was confusing crystal.
%22 is the ASCII for ", but it is then converted to %2522 which confuses crystal
so I used HTML notation for double quote instead of %22 and is converted to %22 , and it works fine.
Thanks for the help anyways
Edited by: xavier on Dec 18, 2008 4:03 PM -
Crystal Reports (Web Viewer) Configuration Problem
Hi,
I am trying to show a simple report via JSP. But it gives an error that I could not understand. I think it is related with configuration files. Any recommendations would be helpful!
The error's print stack trace and my configuration file's contents are below.
Thanks in advance.
[15.04.2005 11:11:09:570 EEST] 200a3132 WebGroup E SRVE0026E: [Servlet Error]-[Failed to setup the formula service!]: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Failed to setup the formula service!---- Error code:-2147467259 Error code name:failed
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown Source)
at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source)
at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source)
at org.apache.jsp._deneme._jspService(deneme.jsp :4)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:669)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:767)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
Crystal-config.xml
<?xml version="1.0" encoding="utf-8" ?>
<crystal-configuration>
<shared-location>
<crystal-jar-location>C:\Program Files\Common Files\Crystal Decisions\2.5</crystal-jar-location>
</shared-location>
<build-language>
en
</build-language>
<build-number>
10
</build-number>
</crystal-configuration>
CrystalReportEngine-config.xml
<?xml version="1.0" encoding="utf-8"?><CrystalReportEngine-configuration>
<reportlocation>../..</reportlocation>
<timeout>10</timeout>
<keycode>A2960-01C00EA-00000YK</keycode></CrystalReportEngine-configuration>
helloworld.jsp (code part)
String report = "helloWorld.rpt";
IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
IReportSource reportSource = (IReportSource) rptSrcFactory.createReportSource(report, request.getLocale());
CrystalReportViewer viewer = new CrystalReportViewer();
viewer.setReportSource(reportSource);
viewer.refresh();
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
viewer.dispose();//-----------------------------------------------------------
I use WepSphere, Crystal Reports 10.
My web project folder hierarchy:
/WebContent/WEB-INF/classes/Crystal-config.xml
/WebContent/WEB-INF/classes/CrystalReportEngine-config.xml
/WebContent/crystalreportviewers10/
/WebContent/helloworld.jsp
/WebContent/helloworld.rpt
Any information would be greately appreciated!!
Thanks,
Ismail.Hi,
Yes I have copied all the far files into web-inf/lib directory. I think .jar files are not the problem. But I can try any proposal about this. Because I have to solve this problem.
If you have any idea please tell me.
isturk. -
Crystal Reports Web Viewer Control Error
I have a very odd problem that I am trying to solve. I was able to dumb the problem down to the Crystal Report Viewer control. I am using the control in an web user control and using that control in a web page. The problem is that when I use the control inside a web user control I get the following error:
A string is required here. Details: errorKind Error in File Client_Info {D911348D-2CAA-49F8-B77D-1288E7D5ABA2}.rpt: Error in formula Project_Labor_Multiplier: 'if ' A string is required here. Details: errorKind
However, when I use the control in the page itself I do not get that error. I have tested the report via the design/preview in the VS IDE and it works fine. I have about 30 reports and they all fail like this if they have a formula. If they do not have a formula, they work fine. They do not fail on my personal development machine, but they do fail on our test server. So this is VERY hard to identify and fix.
All that I know is that the formula's are causing this. They do not occur on my development machine (win7 64-bit) and they do occur on the the test server (winServer 64-bit)... but NOT when I put the Report Viewer control directly in a page and not in a user control.
Odd stuff. Not sure what is going on here. Why would nesting the viewer control in a web user control cause this? This was migrated from an application written in 2005. So maybe the RPT files from 2005 are causing this?
Any thoughts as to what might cause such an odd effect on Windows Server?
Any suggestions or thoughts would be very much appreciated. This one has me stumped.
Best regards,
JonHello Jon
Some thoughts on the issue:
The error is thrown with a 64 bit runtime, but not 32bit. Iu2019m guessing that on your development computer, you may be testing \ running from the .NET IDE. E.g.; Cassini, which runs in 32bit process. On the server we're running in a 64bit process.
Since it is a formula throwing the error, I wonder if you are using any Crystal Reports User Function Libraries (UFL)? If these are compiled as 32 bit, they will fail when run in a 64 bit process. Or, these libraries must be deployed in addition to the normal CR runtime. Failing that will also cause formula errors.
Are you able to run this app from IIS on your development computer as a 64 bit process (e.g.; HTTP, not Cassini or file system)?
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Parameters Panel empty in Crystal Reports web viewer (infoView)
Hello experts,
here is my situation:
While viewing my reports, any of them, even the examples that come with installation, and I click on the button to show the Parameters Panel it just shows a blank (gray) panel....
so then I'm unable to change any parameter like a range of dates for example, and my report shows only the information related to the parameters I choose when I was in Crystal Reports 2008 and published it.
How could I solve this issue enabling again that panel?
Thanks in advance,
Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Brazil.Hello Tracy,
thanks for the reply.
yes, I already have some parameters set up there as you said and I can view them while developing in Crystal Reports 2008 and I can change whenever I want......
the issue is just when viewing in infoView, or also in the HTML preview in CR2008. In this case it shows me a panel without anything in it (gray), it's like something is missing to load it properly.
Please advise.
Thanks in Advance,
Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Brazil. -
What does the community recommend as an appropriate response in light of reports that "an estimated 600,000 or more Macs are currently compromised and part of a massive botnet thanks to the Flashback Trojan." Is Apple taking steps to mitigate the threat?
See article in PC World at: http://www.pcworld.com/businesscenter/article/253403/mac_malware_outbreak_is_big ger_than_conficker.html
I have a MacBookPro and my wife has an iMac. I assume both are equally vulnearble.
MLSCOSThere are checks one can perform to see
1: If any of their machines have been seen on the Flashback botnet
http://public.dev.drweb.com/april/
2: Terminal commands to see if their machine is infected (use copy and paste, then press enter)
https://www.f-secure.com/v-descs/trojan-downloader_osx_flashback_i.shtml
3: Preventative methods to avoid becoming infected.
Update Java via Software Update.
Disable Java in all your web browsers preferences (notice Java is not Javascript)
Check your status of all browser plug-ins
https://www.mozilla.org/en-US/plugincheck/
Firefox + NoScript add-on + Temp Allow All Button on Firefox's toolbar to turn on scripts only on sites you trust.
Learn how to make bootable clones, this way a complete erase can occur and a reverse clone done.
https://discussions.apple.com/community/notebooks/macbook_pro?view=documents
4: Resources if one is infected
Data Recovery, wiping entire machine, reinstalling OS X, returning clean files, etc.
https://discussions.apple.com/community/notebooks/macbook_pro?view=documents -
Borders in Matrix with Group Report Missing in Web view
Please help.
I have a matrix with group report. When it is viewed in Report Builder live preview is fine, but when I preview in web I got two problem
Problem 1 - preview as HTML
No borders? all my cell borders, frame borders gone missing.
Problem 2 - preview as HTML CSS
The borders are there, but some data in the matrix report displayed wrongly.
For example, the data is "01 APR 2000 1800 - 20 APR 2000 2000", what is showing in the web view is actually
"01"
"APR"
2000
1800
i.e., is broken down into few lines.
Can anyone please help. Btw I am using Oracle Report 6i.
Thanks.
JoshuaFor Simple HTML output, you can only get horizontal lines out of Reports. You will lose all vertical lines as well as other graphical objects (eg: polygons, polylines, etc.) This is because these objects are not supported natively within HTML.
However, for HTMLCSS, you should be able to get a lot closer since rectangles are supported. Though again; polygons, polylines, etc. are not supported.
Not sure what is happening to your text, possibly an issue with browser settings or you may need to reduce the font size in Reports to get what you want.
As has already been suggested, for better WYSIWYG output for the web from Reports, PDF is the way to go. -
Suppress Export Option Using Crystal Reports Web Report Viewer (viewrpt.cwr
We have an existing Crystal Report that is being displayed using the Crystal Enterprise Web Viewer (viewrpt.cwr) in a call like this: http://<servername>:8080/CrystalReports/viewrpt.cwr?id=<an id value>etc.
When the report is displayed, the toolbar has an export icon that allows the user to export the report to PDF, Excel, etc.
I want to suppress the export feature, but retain the print feature. I have read the documentation that I could find on the web for this viewer and have been unable to find a way to do this.
Does anyone know how this could be done or a different way to display the report with a different viewer that would avoid having to redesign the report itself?CMC is Central Management Console. Logon to CMC
http://server:8080/businessobjects/enterprise115/admin/en/admin.cwr
Now select the report from the folder and click on the tab Rights and click on the advanced option for the user and here Under the report you have an option "Export the report data" check the deny option for this and apply. Now this option will apply for that particular user only, if you want to apply for all the users under one group then click on advanced for that group and change the option.
Regards,
Raghavendra.G -
Displaying Image in Oracle Reports 9i Web view
I can not just display the image in the web view of the Oracle reports version 9i. It is displaying in the paper layout view though. It is a database field queried with all other columns. Can somebody please tell me how to do this?
Hi Ujjal,
Search for a line similar to the one shown below in your report's web source (that is, the code that shows the image) - it will be in the data area generated by the Report Wizard:
<td <rw:headers id="HFadphoto241" src="HBadphoto241"/> class="OraCellText"><rw:field id="Fadphoto241" src="ad_photo" nullValue=" "> F_ad_photo </rw:field></td>
You need to change it to the following:
<td <rw:headers id="HFadphoto241" src="HBadphoto241"/> class="OraCellText"><rw:field id="Fadphoto241" src="ad_photo" nullValue=" " containsHtml="yes"> F_ad_photo </rw:field></td>
Notice the addition of:
containsHtml="yes"
Navneet. -
View Report in Web Viewer Error
I am using Eclipse 4.3 Kepler with BIRT 4.3.2 on a 64-bit machine running Windows 7 and Java 8.
When I select Run -> View Report -> In Web Viewer I get the following error message:
HTTP ERROR: 500
Problem accessing /viewer/frameset. Reason:
Server Error
Powered by Jetty://
How can I fix this?Thank you for the link.
Setting up BIRT Viewer to work with a local instance of (say) Tomcat, using a workspace that Tomcat can access, etc., is not quite the simple solution I was hoping for.
We do use BIRT Viewer to render our reports in our application - and we use the Ant "sync" task to update reports (from an Eclipse workspace to a Tomcat webapps context) during development, which is a good workaround for when a BIRT report is already wired into an application that can (in turn) be used to invoke the report. (You do not even have to re-start Tomcat to see the changes, which is cool.)
What I was hoping for was a standalone solution whereby a developer does not need to be running Tomcat (or any other Servlet container) with BIRT Viewer deployed, etc.
I am sure that at one time the BIRT Viewer feature worked out-of-the-box, but I could be wrong about that. -
Report instance view runs slow
I am just starting to migrate Crystal reports into BOE XI R3, using the CMC to add the reports from the file system. With each new report, I create a recurring schedule and a run-now instance.
The first four reports performed well. The fifth seemed to hang the browser when viewed. I eventually found the process (View Latest Instance or view from History) would complete in about 15 minutes. At about 12 minutes, IE generates a message:
A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?
The CMC/browser status line shows it is trying to open crystalreportviewers / htmlbridge.jsp.
The instance takes about 1 minute to run in the CMC. The report uses about 60,000 records and produces about 4,500 pages.
In Crystal Enterprise 9, our current platform, the same instance is viewable in 2-3 seconds.
The first four reports migrated to XI3 run in less than a minute and are viewable in 5-6 seconds, have from 120 to 6,400 pages, and use the same dataset.
Not seeing any significant differences between the quicker and slower reports, I'm at a loss as to where BOE is failing. I'd appreciate some thoughts. Thanks!Hello,
If your looking for way to improve performance for the infoview please review 1292411 - How to Improve the performance of Infoview in XI R3. Below is the resolution from that SAP note. I hope this resolves your issue.
Enable browser caching
Backup the exising web.xml <deploymant folder>\InfoViewApp\WEB-INF\web.xml (where deployment folder is the location the applications that have been deployed in your environment)
Open the web.xml file and search for the text :
<init-param>
<param-name>nocache</param-name>
<param-value>true</param-value>
</init-param>
modify the line <param-value>true</param-value> to <param-value>false</param-value>
save the file
restart your web application server
If you are using Secure Sockets Layer on Tomcat Application server then follow these instructions
Backup the exising context.xml <path to>\tomcat\conf\context.xml (where path to is the location where tomcat is installed)
Open the context.xml file and add the text:
<Value className="org.apache.catalina.authenticator.FormAuthenticator" disableProxyCaching="false" />
save the file
restart Tomcat -
Crystal Web Viewer executing stored procedure when going to next/prev page
We are using VS.NET 2005 with SP1 to design reports and embed them in an aspnet web app. Some of them take a while to run, even in the designer. In the designer, however, next page and print operations are speedy. In the web viewer, next page and print operations are agonizingly slow.
Viewing page 2 of a report seems to take about as long as viewing page
1. After running SQL Profiler to trace the report, it is apparent that the entire report (Stored Procedure Call) is being re-run and just page 2 is being sent to the browser.
Is this right?
Shouldn't the report document be stored on the server or event the client so that the desired page can be loaded without having to hit the database again??
We are using Business Objects Crystal Reports XI Release 2
Do you have a sample code on this issue.It still did not work. As you see my code has the Not Page.IsPostBack. It still goes to the database to run the stored procedure over and over again.
Do an example with more than 100 records to have multiple pages. After you go to page #2, change your data by updating one of your fields that will not fit the criteria you are looking for. In this example I changed the strPeriod from 1 to 2 and it gives you a blank report.
update PeriodTable
set fieldPeriod = 2
< h3>Here is the code:</h3>
Imports System.Xml
Imports System.data
Imports System.IO
Imports System.Text
Imports System.Configuration
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Partial Public Class viewreport
Inherits System.Web.UI.Page
Private _dsContacts As DataSet
Dim strUser, strReport, strPeriod, strRegionType, strRegion, strDate, strUnit As String
Private Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
Try
If Not Page.IsPostBack Then
If Not Page.User.Identity.IsAuthenticated Then
Response.Redirect("default.aspx")
End If
strUser = Request.QueryString("strUser")
strReport = Request.QueryString("strReport")
strPeriod = Request.QueryString("strPeriod")
strRegionType = Request.QueryString("strRegionType")
strRegion = Request.QueryString("strRegion")
strDate = Request.QueryString("strDate")
strUnit = Request.QueryString("strUnit")
If strUser <> "" And strReport <> "" Then
ConfigureCrystalReports()
Else
lblMessage.Text = "Values for the report where not received properly.<br /><br />" & strReport & "<br /><br />Please contact your Commissions Reporting Administrator<br /><br />"
End If
End If
Catch ex As Exception
ErrorRoutine(ex, "Page_Load")
End Try
End Sub
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
GlobalCode.DisplayTitle("MetLife - Commissions Administration - Report Viewer", Page)
End Sub
Private Sub ConfigureCrystalReports()
Try
Dim i, j As Integer
Dim ParameterValue As String
_dsContacts = Nothing
_dsContacts = New DataSet
_dsContacts.ReadXml(Server.MapPath("XML\ReportFiles.xml"))
For i = 0 To _dsContacts.Tables(0).Rows.Count - 1
If Trim(UCase(_dsContacts.Tables(0).Rows(i)("FileName").ToString)) = Trim(UCase(strReport)) Then
Dim conn As ConnectionInfo = New ConnectionInfo()
Dim reportPath As String = Server.MapPath("Reports/" & _dsContacts.Tables(0).Rows(i)("FileName").ToString)
If Not File.Exists(reportPath) Then
lblMessage.Text = "Report does not exists in our servers.<br /><br />" & reportPath & "<br /><br />Please contact your Commissions Reporting Administrator<br /><br />"
Exit Sub
End If
conn.DatabaseName = _dsContacts.Tables(0).Rows(i)("Database").ToString
conn.UserID = _dsContacts.Tables(0).Rows(i)("UserID").ToString
conn.Password = _dsContacts.Tables(0).Rows(i)("Password").ToString
Dim ConnInfo As New ConnectionInfo
With ConnInfo
.DatabaseName = _dsContacts.Tables(0).Rows(i)("Database").ToString
.UserID = _dsContacts.Tables(0).Rows(i)("UserID").ToString
.Password = _dsContacts.Tables(0).Rows(i)("Password").ToString
End With
ParameterValue = ""
CRViewer.ReportSource = reportPath
CRViewer.ParameterFieldInfo.Clear()
Dim ParamFields As ParameterFields = CRViewer.ParameterFieldInfo
Dim reportSeparation As New ReportDocument()
reportSeparation.Load(reportPath)
For j = 0 To reportSeparation.ParameterFields.Count - 1
Dim param As New ParameterField
param.Name = reportSeparation.ParameterFields.Item(j).Name
Select Case param.Name
Case "VRPTTYPE"
ParameterValue = strRegionType
Case "VPARAM"
ParameterValue = strRegion
Case "VUSER"
ParameterValue = strUser
Case "VDATE"
ParameterValue = strDate
Case "VUNIT"
ParameterValue = strUnit
Case "VPERIOD"
ParameterValue = strPeriod
Case Else
lblMessage.Text = "<h1>Report has parameters not expected.</h1><br /><br /><h2>" & reportPath & "</h2><br /><br />Please contact your Commissions Reporting Administrator<br /><br />"
Exit Sub
End Select
Dim param_Value As New ParameterDiscreteValue
param_Value.Value = ParameterValue
param.CurrentValues.Add(param_Value)
ParamFields.Add(param)
Next '
For Each cnInfo As TableLogOnInfo In CRViewer.LogOnInfo
cnInfo.ConnectionInfo = ConnInfo
Next
CRViewer.DataBind()
Exit Sub
End If
Next
Catch ex As Exception
ErrorRoutine(ex, "ConfigureCrystalReports")
End Try
End Sub
Public Sub ErrorRoutine(ByVal ex As Exception, ByVal Routine As String)
GlobalCode.ErrorRoutine(ex, Routine, Master)
End Sub
End Class -
When I do a Save As with Optimize For Fast Web View checked, the saving stops and an Adobe Acrobat dialog displays:
The document could not be saved. There was a problem reading this document (111).
If I uncheck Optimize For Fast Web View, the Save As seems to work.
Is there a way to have Fast Web View work with Save As?
Acrobat.exe is version 9.3.4 (or 9.3.3.177 in the properties). The Acrobat.DLL version is 9.3.4.218.Thanks. I did submit a report at the site. I hope somebody reads it as this is a big problem for us.
Thanks again.
Maybe you are looking for
-
I share a yahoo email account with my husband and children. The emails may be for one or more or of us. When an email arrives on my iPhone 5C, if it is not relevant to me (because it's something he is dealing with) then I would like to delete it just
-
Could not release my own Key Figure from DP to SNP
Hi SAP Experts, As requirement, I have to run forecast for three Key Figures in Demand Planning (DP): Z_FK1, Z_KFK2, Z_FK3. Unit of measure of these Keyfigure are VND (currency Viet Nam Dong). I added these Key Figures to DP Planning Area with name Z
-
Connecting servlets to database
Hello, Currently i,m facing this problem when trying to establish a connection to Microsoft Access Database. "Servlet invoker is currently unavailable" I already restart my Tomcat and run the servlet again but the problem is still occurring. I apprec
-
Trouble Connecting Original Airport card on eMac 700 to wi-fi network
I have an eMac 700Mhz with an original Airport card (801.11b). The card will find our home Wi-Fi network (Linksys 801.11n)but when I provide the WEP password, the eMac Airport Card will not connect. Any ideas Thanks!
-
A few weeks ago my g4 Quicksilver with Apple Studio display would shut off display and then power down the hard drive per the energy saver settings and work appropriately. Then the display would shut off and the hard drive would power down and then p