Crystal Report dialog box issues

I am very new at .NET, and this is my second post to this forum.
I've created a Crystal Report within a project using Visual Studio 2005 Professional Edition, on a Windows XP machine.
The report is handled by a CrystalReportViewer, which has its ReportSource set to the report.
Via a dialog box, the report asks for a signon and password for a SQL Server database.  Then, via a second dialog box, it prompts for a parameter required by the report.
All of this works ok, but I have two issues:
1) I would like to set the database signon and password so that the user doesn't have to enter them each time he runs the report.
2) If the Cancel button is clicked on any of the dialog boxes, it renders the report unusable until I shut down the application and reopen it.
I have looked online for two days, but have not been able to find a solution to these above problems.  It is probably simple, but I'm not seeing it.
I am attaching the relevant code for the button that runs the report.
    Private Sub cmdChecks_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdChecks.Click
            CrystalReportViewer2.DisplayToolbar = True
            CrystalReportViewer2.Visible = True
            CrystalReportViewer2.Height = 600
            CrystalReportViewer2.Width = 1000
            CrystalReportViewer2.Left = 10
    End Sub
Can anybody help me with this?
Thank you!

Hi,
I would like you to know the code of the logon based on the object models-
If you are using the ConnectionInfo then use the below code:-
//For web application
ConnectionInfo crConnection = new ConnectionInfo();
// Connection Information
crConnection.ServerName="D-2818-W2K";
crConnection.DatabaseName="Northwind";
crConnection.UserID="sa";
crConnection.Password="sa";
crReport.Load(Server.MapPath("CrystalReport1.rpt"));
Tables crTables=crReport.Database.Tables;
foreach(CrystalDecisions.CrystalReports.Engine.Table crTable in crTables)
          TableLogOnInfo crTLOI = crTable.LogOnInfo;
          crTLOI.ConnectionInfo=crConnection;
          crTable.ApplyLogOnInfo(crTLOI);
          crTable.Location=crTable.Location;// for multiple table selection
CrystalReportViewer1.ReportSource=crReport;
====================================================================================
//For desktop application
ConnectionInfo crConnection = new ConnectionInfo();
// Connection Information
crConnection.ServerName="D-2818-W2K";
crConnection.DatabaseName="Northwind";
crConnection.UserID="sa";
crConnection.Password="sa";
crReport.Load(Application.StartupPath + "//CrystalReport1.rpt");
Tables crTables=crReport.Database.Tables;
foreach(CrystalDecisions.CrystalReports.Engine.Table crTable in crTables)
          TableLogOnInfo crTLOI = crTable.LogOnInfo;
          crTLOI.ConnectionInfo=crConnection;
          crTable.ApplyLogOnInfo(crTLOI);
          crTable.Location=crTable.Location;// for multiple table selection
CrystalReportViewer1.ReportSource=crReport;
=====================================================================================
If using ReportDocument object model
//For web application
ReportDocument crReport= new ReportDocument();
crReport.Load(Server.MapPath("CrystalReport1.rpt"));
crReport.SetDatabaseLogon("sa","sa");
CrystalReportViewer1.ReportSource =crReport;
=====================================================================================
//For desktop application
ReportDocument crReport= new ReportDocument();
crReport.Load(Application.StartupPath + "//CrystalReport1.rpt");
crReport.SetDatabaseLogon("sa","sa");
CrystalReportViewer1.ReportSource =crReport;
To download sample code click [here|https://boc.sdn.sap.com/codesamples].
You can also take help from [Dev library|https://www.sdn.sap.com/irj/boc/sdklibrary]
Hope this helps!!
Regards
Amit

Similar Messages

  • How to modify the "To Print" Steps in the Print the Report Dialog box

    From the Crystal Reports Viewer Toolbar, when selecting the Print option,
    a 'Print the Report' Dialog box opens. Is it possible to modify the 'To Print' steps?
    We tried modifying  (commenting-out the To Print steps) in strings_en.js and export.js, but
    when running, the changes do not show up.
    We are using Crystal Reports for Visual Studio 2008, Crystal Reports Viewer Version=10.5.3700.0
    Thank you.

    A warning 1st. Modifying the export.js file is not supported and may lead to all kinds of issues. Also, as soon as somebody else installs an app on that machine, the js files will get overwritten and thus removing your changes.
    Second, I do not think the print dialog is defined in a JS file. In CR 10 I think we built our own print dialog and there is no control over it (e.g.; no exposed APIs).
    I think your best bet will be to create a printer dialog as per your requirements and  launch it from your our own print button.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Re-show the FPGA Successful Compile Report dialog box

    Hi, everyone,
    Could anyone tell me how to re-show the FPGA Successful Compile Report dialog box?
    I clicked the check box "do not show this massage in the future" on the dialog
    It won't show up anymore
    I need to know the accurate onboard clock rates on my FPGA.
    so the "Target specific properties" can not satisfied me...
    Is there anyone know how to solve this question? ~~Thank you

    To reenable the compile report you must modify LabVIEW's INI file. Make sure the line nirviShowCompileReport=TRUE exists in the ini file. Let us know how that works out!
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Crystal Reports - check boxes on forms

    Does anyone know if it is possible to embed check boxes ( ticked or crossed based on True / False values) in Crystal Reports?
    I have a large number of forms to develop which use Yes / No values in UDF's and I want to display tick or cross in check boxes based on these values!
    Thanks

    Somewhat 1 year ago I issued a iTar on that,
    is a known bug that is apparently not worsewhile to fix.
    cu

  • Crystal report layout printing issue

    Hi Experts
    I have a bit of an urgent issue which I can't seem to solve.
    I have created a print spec using crystal reports 2008 sp3.  I am trying to print it using an epsom dot matrix printer which is brand new. When I print from crystal reports itself, I have managed to get it printing perfectly. However, as soon as I run it through SAP, the orientation either goes out or it only prints 3/4 of the width of the page and to much as far as the being goes...
    There are other print specs which have been created using pld which print fine.
    Does anyone know the solution to this issue?

    Hi,
    To print Crystal report correctly on dot matrix printer is really a challenge for B1. You have to try everything possible to make it happen. Try search the forum first. There are quite a few discussions about it. However, solution is rare.
    Thanks,
    Gordon

  • Crystal Reports for Eclipse issues running under Oracle Jdeveloper.

    <p>I am having issues trying to get a small application that I developed in eclipse that uses Crystal Reports to work with Oracle&#39;s JDeveloper OC4J embedded server.  I can run the application fine and when I try to view  a report I get a partial report rendering and then get the following exception:</p><p> </p><p>2006-10-03 06:55:38.778 NOTIFICATION  J2EE JSP0008 Unable to dispatch JSP Page : java.lang.IllegalStateException: Writer already retrieved<br />    at com.evermind.server.http.EvermindHttpServletResponse.getOutputStream(EvermindHttpServletResponse.java:882)<br />    at com.evermind.server.http.EvermindHttpServletResponse.getJspOutputStream(EvermindHttpServletResponse.java:877)<br />    at com.evermind.server.http.EvermindJSPWriter.initServletOut(EvermindJSPWriter.java:480)<br />    at com.evermind.server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:492)<br />    at com.evermind.server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:391)<br />    at com.evermind.server.http.EvermindJSPWriter.close(EvermindJSPWriter.java:361)<br />    at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1574)<br />    at sample20_reports._MartyRpt_2d_viewer._jspService(_MartyRpt_2d_viewer.java:143)<br />    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)<br />    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)<br />    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)<br />    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br />    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)<br />    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)<br />    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)<br />    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)<br />    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)<br />    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)<br />    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)<br />    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)<br />    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)<br />    at java.lang.Thread.run(Thread.java:595)</p><p> </p><p>Does anyone have any idea of what is causing this?  </p><p>I really need help fixing this issue.  Any help would be much appreciated.</p><p>Marty </p>

    <p>I agree with Rob that it is likely the OutputStream object throwing the error. Another option is to try the following code for your viewer code:</p><p> </p><p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">// ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************<span>  </span></span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">{</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">// Create the CrystalReportViewer object</span></font></p>  <p style="margin-right: -0.75in" class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">CrystalReportViewer crystalReportPageViewer = </span></font><strong><font face="Courier New" size="2" color="#7f0055"><span style="font-size: 10pt; font-family: "Courier New"; color: #7f0055; font-weight: bold">new</span></font></strong><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black"> CrystalReportViewer();</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New""> </span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">//<span>    </span>set the reportsource property of the viewer</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">IReportSource reportSource = clientDoc.getReportSource();<br />crystalReportPageViewer.setReportSource(reportSource);</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New""> </span></font></p>      <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">// set viewer attributes<br />crystalReportPageViewer.setOwnPage(</span></font><strong><font face="Courier New" size="2" color="#7f0055"><span style="font-size: 10pt; font-family: "Courier New"; color: #7f0055; font-weight: bold">true</span></font></strong><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">);<br />crystalReportPageViewer.setOwnForm(</span></font><strong><font face="Courier New" size="2" color="#7f0055"><span style="font-size: 10pt; font-family: "Courier New"; color: #7f0055; font-weight: bold">true</span></font></strong><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">);</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New""> </span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">// Apply the viewer preference attributes</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">// Process the report</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">String output = crystalReportPageViewer.getHtmlContent(request, response, application); </span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">out.print(output);</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="black"><span style="font-size: 10pt; font-family: "Courier New"; color: black">}</span></font></p>  <p class="MsoNormal"><font face="Courier New" size="2" color="#3f7f5f"><span style="font-size: 10pt; font-family: "Courier New"; color: #3f7f5f">// ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************<span>  </span></span></font></p>  <p> </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • Crystal Reports for Eclipse issues running under Oracle Jdeveloper(10g)

    Hi  All,
    I am having issues trying to get a small application that I developed in eclipse (CR4E)that uses Crystal Reports to work with Oracle's JDeveloper OC4J embedded server.  I can run the application fine and when I try to view  a report I get a partial report rendering and then get the following Exception:
    Also while inserting on the page Showing error on the page
    java.lang.IllegalStateException: Writer already retrieved at com.evermind.server.http.EvermindHttpServletResponse.getOutputStream(EvermindHttpServletResponse.java:880) at com.evermind.server.http.EvermindHttpServletResponse.getJspOutputStream(EvermindHttpServletResponse.java:875) at com.evermind.server.http.EvermindJSPWriter.initServletOut(EvermindJSPWriter.java:525) at com.evermind.server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:537) at com.evermind.server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:436) at com.evermind.server.http.EvermindJSPWriter.close(EvermindJSPWriter.java:406) at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1689) at NEWPROJECTR.jspService(_NEWPROJECTR.java:89) [/NEWPROJECTR.jsp] at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)
    Can any boby tell me another way to integate Crystal report with Jdeveloper
    Sincerely,
      Amol

    Something is writing out to both the JSP Response Writer and OutputStream.  Writer is for text and OutputStream is for binaries.
    This typically happens, especially on WebSphere and Oracle OC4J, when exporting a Crystal Report in the viewer.  The DHTML view is HTML text, but the exports are binaries.
    I'd recommend putting Crystal Report Viewer object in a Servlet - there you'd have full control over what goes in Writer and OutputStream.  Once in the Servlet, ensure you don't write anything out yourself, but let the viewer have full control over what goes out.
    Sincerely,
    Ted Ueda

  • Crystal Reports Image box does not display images.

    Post Author: xbhavesh
    CA Forum: .NET
    i have CR report which has a Imagebox to display images from db table. i am storing the images in a table as path. in my dev machine when i load the .aspx page with the crystal report it shows the image in the box but when i run it from the web server the image does not show.
    even from the .rpt file i get the image and all data.
    anyone know how can i get this working?
    the images are stored in a mapped network drive and the version of cr is XI R2.

    Please post to Business One forum

  • Crystal report 9 Viewer issue

    Post Author: rikleo2001
    CA Forum: Crystal Reports
    First I need to know.1. My Crystal Report 9 Developer edition purchased seperately. Developed an .rpt and Includes in .NET 2003 as Web Service. Will this be consider as (Crystal report 9 ) or (Crystal Report .NET) ? 2. Which Patch/service pack I will apply on Web Server? CR9 or CR.NET?3. If I apply patch/Service Pack for CR9 it says "failed to create backup - 110" this means I won't be able to restore back to old Service pack?4. Service packs and Hotfix meant to be installed on Web Servers where actually web site is hosted? or do I need to install them on my Development machine too?Here is one more question
    I am using Crytal report 9 developer edition within VS 2003.At run time my reports displays fine with Navigation tool on top, this report is using 2 different subreports.Here are my question.1. on Main report when I click on GO TO Next page button, it take me to  page 2, then I want to go to third page, but it won't let me, it refresh Page 2 again, so in nutshell I can't go above page 2. Then I putting Custom page,and it worked fine. How can I use Navigation button to walk through between pages?2. UP button is disabled, how do I enable it? for example if I go to any of sub report, I have to select Backspace to go back to main report, and sometime it takes me to some differant location on main page. Using UP navigation will help to resolve this issue?
    I checked another report with more than 3 pages without any sub report, and navigation next button works fine and walk me through multiple page.{cur_Fieldresult.Rdate}>= #2007/09/12# and {cur_Fieldresult.RDate}<= #2007/09/12#
    I then applied time filter including date and time, and there it is dieing.{cur_Fieldresult.Rtime}>= #2007/Sep/12 06:13:55# and {cur_Fieldresult.Rtime}<= #2007/Sep/12 08:13:55# I am getting perfect data based on time filter, but why can't I navigate through? Any help guys??
    Thanks in advance

    what you can do is is select the export to xls
    select options
    and uncheck the export page header page footer.
    then it wont export the header at all
    if you can figure out a way to conditionally supress an addtional report header you can place what you want to export in there and it only displays when it is exported.
    not sure how its can be done.

  • Crystal Report 9 performance issue wehn we move old DB to new DB server

    We are using Crystal Reports 9 version, recently we move to new database server and reports data source are pointing to Old database server and old database server is no longer in the network.
    , Now we have issue with the performance, if the we call the reports from web application, it is talking long to retrieve the report at least 1 min.. , if we manually update the report data source pointing to new server and the reports are pulling in 1 second, Is there any easy solution to update all the report pointing to new server, we have 3000 reports, we can not use manual process, it will take long time and it is also issue with the future if we change the server.
    Thanks!
    Ram

    The 1 minute timeout is due to ODBC driver trying to connect, it's the default timeout you are seeing. There is not tool Cr has to migrate/update database connection info. You can develop your own though or search the web for a third party tool, I'm sure there are lots out there.

  • Crystal Report Lines / Boxes not show in Excel

    In Crystal Report 2008, I created a report with lines and boxes inserted. I then imported into SAP B1 8.8. The report looks fine in crystal report viewer with all the correct formatting. I exported the report as Ms Excel (with formatting).
    After exported to Excel, the report looks fine for the most part but all the lines and boxes are not showing at all. I went back to CR designer and tried to mofify the format of the lines / boxes but they still not showing in Excel. is there any way to fix the display of those boxes and lines?

    Hi,
    Format like lines/Boxes cannot be exported. If you want the exact layout, print to PDF file may be your only option.
    Thanks,
    Gordon

  • Crystal Reports Excel Export Issue - page footer not being displayed

    We recently converted all Crystal Reports from Visual Studio 2003 to Visual Studio 2005 sp1, .NET 2.0, Crystal Reports for .NET.  I have the latest merge modules from business objects.  All reports & footers worked fine in VS2003 ... but now when I export to PortableDocumentFormat (PDF) or WordForWindows (DOC) the page footers appear correctly.  But, when I export to Excel (XLS) like the code below, the page footers do not appear.  We need to place a disclaimer at the bottom of every page of an exported excel document.  I checked the print preview, and I tested printing the document ... the the footer is not being utilized properly by the Crystal Reports export.
    System.IO.MemoryStream oStream = new System.IO.MemoryStream() ;
    oStream = (System.IO.MemoryStream) report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.Excel) ;
    Response.Clear() ;
    Response.Buffer = true ;
    Response.ContentType = "application/vnd.ms-excel" ;
    Response.BinaryWrite(oStream.ToArray()) ;
    Response.End();
    I have asked the question in msdn forum
    http://forums.msdn.microsoft.com/en-US/vsreportcontrols/thread/0ead9e34-bc45-4062-90dd-17f8f8ebf062

    fyi - if i hadn't mentioned it, problem occurs in all our environments (developer workstation, development server, testing server, production server, etc.)
    on my development workstation i found the file 3 times
    c:\program files\common files\business objects\1.0\bin\crxf_xls.dll
    has file version 9.1.1.557
    c:\program files\common files\business objects\2.7\bin\crxf_xls.dll
    has file version 10.2.0.1093
    c:\program files\common files\business objects\3.0\bin\crxf_xls.dll
    has file version 11.0.0.1937
    on my development server (and our other environment servers too)
    c:\program files\common files\business objects\2.7\bin\crxf_xls.dll
    has file version 10.2.0.1210
    so just from that i notice that the file versions in the 2.7 bin are different from my developer workstation to my development server ... but the issue still occurs in both places.

  • Crystal Reports Server 2008 (Linux) - Crystal Reports/MySQL/ODBC Issue

    Hello,
    I have successfully installed CRS '08 on a Red Hat Enterprise Linux 4 server.  All services run fine.
    In the CMC, I have uploaded a Crystal Report that connect to a remote MySQL server. 
    I have installed the My SQL ODBC 3.51.11 and .12 Drivers as a System DSN.
    I have proven that the reports run fine in Crystal Reports 2008 directly against the remote MySQL DB server.
    (in Windows but with the same 3.51 ODBC Drivers)
    I have also proven that the database connection works okay from the CRS '08 Red Hat server to the remote MySQL DB server, when also creating a system DSN (using bash ./ODBCConfig)
    The problem is that when I log into the CMC or InfoView, and when I run the Crystal Reports from there, I get an error message:
    "Error in File <MyCrystalReport>: Failed to load database information"
    Is there something wrong with my specific Crystal Reports' Database Configuration? (Right click- Database Configuration)
    I see the driver was registered correctly in the /etc/odbc.ini file
    Am I supposed to set any other ODBC environment variables?
    Is there are firewall issue (port 3306 is already open)?
    In summary, the install was successful, and Crystal Reports can be uploaded and viewed via CMC or InfoView, but I cannot run the Crystal Reports against the database.
    Please advise, Thanks!

    Hi, I'm facing a similar problem. My ODBC DSN never works with CRS. Here are the details:<br><br>
    (1) I  installed the CRS 2008 in /opt/crystalreportsserver_2008_v1/ on a Linux platform. The CRS works well. I created a report with Crystal Reports 2008. This report directly connects to a MySQL server. After I published the report and manually modify its database configuration, I can browse it from InfoView. I'm sure that CRS, MySQL, and a report connecting to MySQL are all good.<br><br>
    (2) Then, I created an ODBC DSN on a Windows platform. This DSN connects to a MySQL server. I created another report with Crystal Reports using this DSN. The report can show the data within Crystal Reports.<br><br>
    (3) Then, I published the second report to CRS, but when I try to browse it, I always get such a message: Failed to open the connection.<br><br>
    I have configured the ODBC for CRS on the Linux server and I think the configuration is correct. This is how I do that: I edited the /opt/crystalreportsserver_2008_v1/bobje/odbc.ini file. In the file I added a data source called ods_telstar. Following is the content of the file:<br><br>
    [ODBC Data Sources]<br><
    CRSQLServerWP=DataDirect 5.3 SQLServer Wire Protocol Driver<br>
    CRSybaseWP=DataDirect 5.3 Sybase Wire Protocol Driver<br>
    CRText=DataDirect 5.3 Text Driver<br>
    %SYBASEDSN%=DataDirect 5.3 Sybase Wire Protocol Driver<br>
    ods_telstar = MySQL<br>
    <br>
    ... <br>
    <br>
    [ods_telstar]<br>
    Description     = ODS on telstar<br>
    Trace       = Off<br>
    TraceFile   = stderr<br>
    Driver      = /opt/crystalreportsserver_2008_v1/bobje/enterprise120/linux_x86/odbc/lib/libmyodbc5.so<br>
    SERVER      = xxx<br>
    USER        = xxx<br>
    PASSWORD    = xxx<br>
    PORT        = 3306<br>
    DATABASE    = ods<br>
    <br>
    In the middle I removed some data source definitions that are by default in the file. Note that I use "xxx" to replace the server name, user, and password. Such information is for internal use and I'm sure the original information is correct. The MySQL ODBC driver file has been put in the correct location. Correct access permissions has been assigned to the file.<br><br>
    I've tried to restart the CRS server, but still the report using ODBC DSN cannot be viewed.<br><br>
    The reason that we want to user ODBC DSN is that we may have many reports to publish. When we design the reports, we specify that they get data through an ODBC DSN such as ods_telstar. If we configure the same DSN on CRS, then we don't need manually modify each report's configuration after we publish them. If these reports are directly connecting to MySQL, then we have to manually modify each one's database configuration after we publish them.<br><br>
    I've no idea what's wrong with all the setup. Any suggestions and comments are appreciated!<br>

  • Crystal Reports - ECC - SSO Issue

    Team,
    System Details.
    1. BOE XI 3.1 SP3
    2. Crystal Reports 2008
    3. SAP ECC 6.0
    4. SAP NW 7.x
    Scenario: Crystal reports running against ECC system. SSO configured on Crystal Report database configuration option, report is accessed through SAP NW portal (which in turn is configured to BO Info View using KM IVIEW option). Report fails with "The database login information is either incomplete or incorrect" error message.
                                                                BUT the same user id (as the user id ) when hard coded ("Use same database logon as when report is run") in Crystal Reports database configuration static option ("Use original database logon information from the report") works fine.
    Please let me know your thoughts regarding how to debug this issue?

    Hi,
    if you want to have SSO for the report you need to :
    - have the SAP Authentication configured and the SAP Roles imported
    - the SAP Roles need to have the necessary rights on the BOE Server
    and in your case because of the portal part :
    - all machines need to be in the same domain
    - all URLS need to be fully qualified
    - trust between ECC and Portal needs to be configured
    - your ECC system needs to accept portal token
    ingo

  • Crystal Reports Software Installation Issue

    When I try to install Crystal reports on my Dell Optiplex 780 running Win XP SP3, 3.5 GB ram, with Adobe 9 installed and License accepted I get Error 1713 unable to intall one of it's required products. What do I need to do to complete the installation?
    Ron

    Error 713 is a generic Microsoft install error. E.g.; google the error, see if any of the suggestions apply. Also, use the search string 'Error 1713 crystal' in the search box at the top right corner of this web page. See if any of the results there help. E.g.;
    Crystal Reports XI -- Error 1713. Crystal Reports XI cannot install one of
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • Communication problem from the vpn-anyconnect to easy-vpn-remote

    Hi Team, I have a communication problem from the vpn-anyconnect to easy-vpn-remote, I´ll explain better bellow and see the attached topology: 1) VPN Tunnel between HQ to Branch Office - That´s OK 2) VPN Tunnel between Client AnyConnect to HQ - That´s

  • Changing font / appearance of Fill-in-the-blank questions

    1) I am using a Fill-in-the-blank question. I can change the font of the name and the description, but not of the Blank Answers themselves. I figure this should be possible, since these are basically text entry boxes (or drop down lists if you select

  • Create pdf chrome extension problems

    My os is Win 8.1 My product is Acrobat XI with all current updates as of 11-25-2013 I use the lastest version of Chrome browser I have used the pdf extension on the browser at least 7 times. 1st time nothing happened 2nd time it worked perfectly 3rd

  • CMYK RGB confusion

    Recently I have had to get myself involve in work for print and coming from a digital background I have a very a very tenuous grip on the working of getting material ready for print. Recently while scanning a forum on a totally unrelated subject I sp

  • Firefox deleted my downloads can they be restored?

    I run Firefox 28.1.0 latest version. my tablet is a nook HD + software 2.20 I accidentally delete and yes on the downloads page. It was a complete accident. I have a neuromuscular problem. Is there any way to fix it? Thanks for answering in advance.