Crystal Reports for VS 2008 deployment on a web server

Hello,
I have .NET web application created in Visual Studio 2008. It uses built-in Crystal Report Viewer control. The reports are not built into the assembly, they are loaded from report files prepared outside of Visual Studio 2008.
I would like to deploy Crystal Reports run-time components on a web server (Windows 2008 server with IIS 7).  I have found the article describing what needs to be deployed: https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567
Can you please let me know what kind of setup (virtual folder(s), permissions) is needed to make Crystal runtime components available for my web application. I have been trying to find instructions in the forums/wikis/articles with no success. I will need this info to communicate with our system administrator.
Thank you.

As long as you are deploying your app to a default app pool, you do not need to worry about virtual directories. The process you are running under will need read / write permissions on the win     emp folder as the report print engine uses that extensively.
If you are using custom app pool you will have to either
1) create the viewer virtual directory
2) make the viewer folder part of your app directory structure
Other than that, keep the following resources close at hand:
KB 1329630
KB 1278952
[Dynamic images appear as red X on Crystal Reports in VS .NET web viewer|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a5e80]
[Viewer toolbar images appear as red u2018X on Crystal Reports VS .NET web viewer|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a]
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup

Similar Messages

  • Crystal Report XI Release 2 - Deployment Bug on SQL Server

    Post Author: PeterLiebich
    CA Forum: General
    H
    We have a VS 2005 Crystal web app deployed onto a server - not using the RAS but using the Crsytal Report Viewer.
    Nearly Everything is working however we have one slight bug which is driving me mad.
    All of our reports are constructed against a development SQL Server, and then the Application resets the report location at run time to the Appropriate production server.
    Everything works fine when I run the appliction via VS 2005 on my XP machine, the reports repoint successfully etc.
    When I build the App and deploy it to a server, the CrystalReportViewer fails with a "Database logon failed" if (and only if) the name of the database that the report was developent against is the same as the name as the database is being repointed to (on a different server).  If the developement and production databases have different names then the resetting of the location works fine.
    As I said the repointing works fine when I run the App on my development machine which has Crystal Reports XI Release 2 installed.
    On the Server I have installED the Crystal dlls via CrystalReports11_5_NET_2005.msi dated 2007/03/01.
    I have also tried to deploy dlls via a GAC using CrystalReports11_5_NET_2005.msm dated 2006/02/24.
    All to no avail
    Here is the code I use to repoint the report
    Dim crConnectionInfo As New CrystalDecisions.Shared.ConnectionInfo
    crConnectionInfo.IntegratedSecurity = True
    crConnectionInfo.ServerName = v_ServerName
    crConnectionInfo.DatabaseName = v_DatabaseName
    'loop through all the tables and pass in the connection info
    Dim crTableLogOnInfo As CrystalDecisions.Shared.TableLogOnInfo
    For Each crTable As CrystalDecisions.CrystalReports.Engine.Table In  Me.m_ReportDocument.Database.Tables
      crTableLogOnInfo = crTable.LogOnInfo
      crTableLogOnInfo.ConnectionInfo = crConnectionInfo
      crTable.ApplyLogOnInfo(crTableLogOnInfo)
    Next
    'set the crSections object to the current report's sections
    'loop through all the sections to find all the report objects
    Dim crSubreportObject As CrystalDecisions.CrystalReports.Engine.SubreportObject
    Dim crSubreportDocument As CrystalDecisions.CrystalReports.Engine.ReportDocument
    For Each crSection As CrystalDecisions.CrystalReports.Engine.Section In Me.m_ReportDocument.ReportDefinition.Sections
      'loop through all the report objects to find all the subreports
      For Each crReportObject As CrystalDecisions.CrystalReports.Engine.ReportObject In crSection.ReportObjects
        If crReportObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
        ' you will need to typecast the reportobject to a subreport object once you find it
         crSubreportObject = CType(crReportObject, CrystalDecisions.CrystalReports.Engine.SubreportObject)
         'open the subreport object
         crSubreportDocument = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName)
        'loop through all the tables in the subreport and
        'apply the connection set up previously to the subreports
        For Each crTable As CrystalDecisions.CrystalReports.Engine.Table In crSubreportDocument.Database.Tables
          crTableLogOnInfo = crTable.LogOnInfo
          crTableLogOnInfo.ConnectionInfo = crConnectionInfo
          crTable.ApplyLogOnInfo(crTableLogOnInfo)
        Next
        End If
      Next
    Next

    Post Author: jjamcgu
    CA Forum: General
    Don't know if you ever found a solution, but here is how I got it to work.
    1) If it was created pointing to a localhost database, it may be using named pipes to connect, where as production / test uses TCP/IP.  Our CR9 system automatically switched from Named Pipes to TCP/IP but CR11 does not.  Repointing the report to a non local version of the database fixed one problem of runtime switching.  (This includes switching back to localhost).
    2) When you change the server name, CR11 does not update the table object, but clones it and applies the update to the clone.  I needed to update the location apply the update and then apply the login change (I am not using integrated security, so this may not apply to you.).  See the code below.  I call setServerInfo and then setLogonInfo. Sub setLogonInfo(ByRef myReport As ReportDocument)
            Dim logonInfo As New TableLogOnInfo
            Dim table As CrystalDecisions.CrystalReports.Engine.Table
            For Each table In myReport.Database.Tables
                logonInfo = table.LogOnInfo
                logonInfo.ConnectionInfo.UserID = loginName
                logonInfo.ConnectionInfo.Password = loginPassword
                table.ApplyLogOnInfo(logonInfo)
            Next table
        End Sub
        Sub setServerInfo(ByRef myReport As ReportDocument)
            Dim logonInfo As New TableLogOnInfo
            Dim table As CrystalDecisions.CrystalReports.Engine.Table
            For Each table In myReport.Database.Tables
                logonInfo = table.LogOnInfo
                Select Case AppSettings("DataEnvironment")
                     Case "PRODUCTION"
                          logonInfo.ConnectionInfo.ServerName = "productionServer.local"
                     Case "TEST"
                          logonInfo.ConnectionInfo.ServerName = "testServer.local"
                     Case "LOCAL"
                          logonInfo.ConnectionInfo.ServerName = "localhost"
                 End Select
                 table.ApplyLogOnInfo(logonInfo)
            Next table
        End Sub

  • Crystal Reports for VS 2010  Deployment

    Hi All, I am having trouble with CR deployment. I get the error Crystal report data base logon failed. when I click the verify database in the field explorer I get the error :the proccess can not access the file <my db file> because it is being used by another proccess.
    some of my reports does succeed with verify DB and I get "DB is up do date ".
    question is what causes that behaviour?
    Hagit

    It sounds like the file is being locked by another process.  You may want to run a utility like [Process Explorer|http://technet.microsoft.com/en-us/sysinternals/bb896653] to see if you can see which process that is.

  • Dynamic images in crystal reports for VS 2008

    The company logo scenario. The solution I'm trying unsuccessfully to implement entails:
    - the logo is not stored in the database, but resides locally on disk
    - strongly typed dataset generated by stored proc in sql server 2008
    - column defined in a dataset table as sqldatatype.binary, null value
    - populate dataset in .net by calling the proc
    - edit the byte[] column and replace null with a binary image
    - push the data into the report
    - print the report to pdf from a web application
    Everything works fine, no errors, but if I try and display the blob in the crystal report, nothing prints. If I remove the blob without modifying any of the above code, everything prints (all tables/rows).
    I have tried cloning the dataset and substituting the binary file into the appropriate column, thinking that the original might be READONLY, but the same result (prints perfectly if I don't try and show the blob).
    Robert

    Hi Don,
    I have read your response 10 times, but I don't really understand it.
    "Your only option is to use the Insert OLE Object or picture into the report" - fine, but how is this achieved from a dataset?
    "CR will not display BLOB fields as pictures" - fine, but maybe I used the word BLOB badly. The dataset column datatype is "byte[]". Will CR display byte[] columns as pictures?
    "You can use a database field to point to which picture file to use, then you won't be using up valuable memory space importing the images into your data set. And the Logo's now dynamic...." - this seems to suggest that the database field is a string storing the file location on disk. Yes? I don't care about memory space in this case and I'm happy to load a binary file into a byte[] column if there is a way of displaying it.
    So, if I understand correctly, you're suggesting the dataset contain a table.row.column which stores the filelocation. How do I convert that to display as a picture (dynamically)?
    Robert

  • Crystal Reports XI and Sun One 6.1 web server SP 5 Error finding JNDI name

    I am trying to create a Crystal Reports XI report in a JSP using Sun One 6.1 Web server sp 5.
    At this point I am getting the error �Error finding JNDI name� on Sun One
    The application will run on Netbeans/Tomcat
    I have done the following:
    I edited CRConfig.xml
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>

    <DataDriverCommon>
         <JavaDir>C:\Program Files\Java\j2re1.4.2_10\bin</JavaDir>
    <Classpath>C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar;�</Classpath>

    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:oracle:thin:@10.10.10.10:1521:dev</JDBCURL>
         <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
         <JDBCUserName>lab_ro</JDBCUserName>
         <JNDIURL></JNDIURL>

    </JDBC>
    I created a report using JDBC (JNDI) connection and have the JNDI Connection set to the name of DATA.
    The report works just fine in Crystal Reports.
    Then in Netbeans I created an application and it runs in the Tomcat part of Netbeans
    In context.xml I have:
    <Context path="/BOEnterpriseTest3">
    <Resource name="jdbc/dev" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev"
    username="theuserid" password="thepassword" maxActive="20" maxIdle="10" maxWait="-1"/>
    </Context>
    In web.xml I have
    <web-app>
    <context-param>
    <param-name>crystal_image_uri</param-name>
    <param-value>crystalreportviewers11</param-value>
    </context-param>

    <taglib>
    <taglib-uri>/crystal-tags-reportviewer.tld</taglib-uri>
    <taglib-location>/WEB-INF/crystal-tags-reportviewer.tld</taglib-location>
    </taglib>
    <resource-ref>
    <description>jdbc:oracle:thin:@10.10.10.10:1521:dev</description>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Application</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-ref>
    <description>jdbc:oracle:thin:@10.10.10.10:1521:dev</description>
    <res-ref-name>Data</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Application</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </web-app>
    in web-inf\sun-web.xml I have
    <sun-web-app>
    <resource-ref>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <jndi-name>Data</jndi-name>
    </resource-ref>
    </sun-web-app>
    I have copied all of Common Files\Business Objects\3.0\java\lib and Common Files\Business Objects\3.0\java\lib\external to the lib folder
    I have copied crystalreportviewers11 to the root of my web application
    I have tried to load the JNDI information and display the report
    <%@page pageEncoding="UTF-8"
    import="com.crystaldecisions.reports.reportengineinterface.*,
    com.crystaldecisions.report.web.viewer.*,
    javax.naming.*,
    javax.sql.*,
    java.sql.*"%>
    <%
    InitialContext initContext = new InitialContext();
    DataSource source = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    try{
         // Look up our data source
    DataSource ds = (DataSource)initCtx.lookup("Data");
    out.println("found ds under jdbc/Data");
    catch ( NamingException e ){
    // Look up our data source
    DataSource ds = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
    initCtx.bind("Data", ds);     
    out.println("found ds under java:com/env:jdbc/Data - bound into root initial context for Crystal to find");
    %>
    <%
    //Use the relative path to the report; the physical or full qualified URL cannot be used.
    String reportName = "useridincluded.rpt";
    //Database username and password
    String userName = "theuserid";
    String password = "thepassword";
    //check to see if the Report Source Session Variable already exist
    Object reportSource = session.getAttribute("Report1");
    // Create a new ConnectionInfos and ConnectionInfo object
    com.crystaldecisions.sdk.occa.report.data.ConnectionInfos connectionInfos = new com.crystaldecisions.sdk.occa.report.data.ConnectionInfos();
    com.crystaldecisions.sdk.occa.report.data.ConnectionInfo connectionInfo = new com.crystaldecisions.sdk.occa.report.data.ConnectionInfo();
    //Set username and password for the report's database
    connectionInfo.setUserName(userName);
    connectionInfo.setPassword(password);
    //Add object to collection
    connectionInfos.add(connectionInfo);
    //---------- Create a ReportClientDocument -------------
    com.crystaldecisions.reports.sdk.ReportClientDocument reportClientDocument = new com.crystaldecisions.reports.sdk.ReportClientDocument();
    //---------- Set the path to the location of the report soruce -------------
    //Open report.
    reportClientDocument.open(reportName, 0);
    //Get the report source
    reportSource = reportClientDocument.getReportSource();
    //---------- Create the viewer and render the report -------------
    //create the CrystalReportViewer object
    com.crystaldecisions.report.web.viewer.CrystalReportViewer crystalReportViewer = new com.crystaldecisions.report.web.viewer.CrystalReportViewer();
    //set the reportsource property of the viewer
    crystalReportViewer.setReportSource(reportSource);
    //set the DB logon into the viewer
    crystalReportViewer.setDatabaseLogonInfos(connectionInfos);
    //set viewer attributes
    crystalReportViewer.setOwnPage(true);
    crystalReportViewer.setOwnForm(true);
    crystalReportViewer.refresh();
    //set the CrystalReportViewer print mode
    //crystalReportViewer.setPrintMode(com.crystaldecisions.report.web.viewer.CrPrintMode.ACTIVEX);
    crystalReportViewer.setPrintMode(com.crystaldecisions.report.web.viewer.CrPrintMode.PDF);
    //process the report
    crystalReportViewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
    %>
    On the Sun One Web server
    On the Java Tab
    JDBC Connection Pools
    Pool Name = dev10g
    Class name = oracle.jdbc.pool.OracleDataSource
    User id = theuserid
    url = 10.10.10.10
    password=thepassword
    JDBC Resources
    JNDI Name=dev10g
    Pool = dev10g
    I get the error finding JNDI name � how do I tell Sun One where the JNDI is to make Crystal Reports work?

    I tried the following to test the JNDI
    I am trying to do JNDI in Sun One Web server 6.1 sp 5 but I seem to be missing an important part. I get two different errors based on the JSP code, �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance� or �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance�.
    Context.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/BOTest">
      <Resource name="jdbc/dev10g" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev10g"
    username="userid" password="password" maxActive="20" maxIdle="10" maxWait="-1"/>
      <Resource name="Data" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev10g"
    username="userid" password="password" maxActive="20" maxIdle="10" maxWait="-1"/>
    </Context>Sun-one.xml:
    <sun-web-app>
    <context-root>BOTest</context-root>
    <resource-ref>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <jndi-name>jdbc/dev10g</jndi-name>
    </resource-ref>
    </sun-web-app>web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
         <welcome-file>
                index.jsp
            </welcome-file>
        </welcome-file-list>
        <resource-ref>
            <description>jdbc:oracle:thin:@10.10.10.10:1521:dev10g</description>
            <res-ref-name>jdbc/dev10g</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Application</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
        <resource-ref>
            <description>jdbc:oracle:thin:@10.10.10.10:1521:dev10g</description>
            <res-ref-name>Data</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Application</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </web-app>server.xml has:
    <RESOURCES>
    - <JDBCCONNECTIONPOOL name="dev10g" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
      <PROPERTY name="URL" value="jdbc:oracle:thin:@10.45.3.197:1521:dev10g" />
      <PROPERTY name="User" value="lab_ro" />
      <PROPERTY name="Password" value="0asphalt1" />
      </JDBCCONNECTIONPOOL>
      <JDBCRESOURCE jndiname="jdbc/dev10g" poolname="dev10g" enabled="on" />
      <JDBCRESOURCE jndiname="Data" poolname="dev10g" enabled="on" />
    - <JDBCCONNECTIONPOOL name="Data" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
      <PROPERTY name="User" value="lab_ro" />
      <PROPERTY name="URL" value="jdbc:oracle:thin:@10.45.3.197:1521:dev10g" />
      <PROPERTY name="Password" value="0asphalt1" />
      </JDBCCONNECTIONPOOL>
      <JDBCRESOURCE jndiname="jdbc/Data" poolname="Data" enabled="on" />
      <JDBCRESOURCE jndiname="dev10g" poolname="dev10g" enabled="on" />
      </RESOURCES>I am getting the following error: �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance�
    With the following code:
    <%@page
       import="java.io.*,
               javax.sql.*,
               javax.naming.*,
               java.sql.*,
               java.util.*"%>
    <%
    Context init;
    Context ctx;
    DataSource datasource;
    Connection con;
    try
    init = new InitialContext();
    Context envCtx = (Context) init.lookup("java:comp/env");
    datasource = (DataSource)  envCtx.lookup("jdbc/dev10g");
    catch(NamingException ex)
        out.print("Cannot retrieve data source: " + ex.toString(true));
        return;
    try
        con = datasource.getConnection();
    catch (Exception e)
      out.print("Cannot retrieve connection: " + e.toString());
      return;
    try
        PreparedStatement pstmt = con.prepareStatement("SELECT PROJNO FROM MATERIALSLAB.VW_ASPHALTHEADERINFO");
        ResultSet results = pstmt.executeQuery();
        while (results.next())
        out.println(results.getString(1));
    catch(Exception ex)
    out.print("Got connection, can't execute query: " + ex.toString());
    return;
    %>I get the following error: Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance
    With the following code:
    <%@page
       import="java.io.*,
               javax.sql.*,
               javax.naming.*,
               java.sql.*,
               java.util.*"%>
    <%
    Context init;
    Context ctx;
    DataSource datasource;
    Connection con;
    try
        init = new InitialContext();
        ctx = (Context) init.lookup("java:comp/env");
        datasource = (DataSource) ctx.lookup("jdbc/dev10g");
    catch(NamingException ex)
        out.print("Cannot retrieve data source: " + ex.toString(true));
        return;
    try
        con = datasource.getConnection();
    catch (Exception e)
      out.print("Cannot retrieve connection: " + e.toString());
      return;
    try
        PreparedStatement pstmt = con.prepareStatement("SELECT PROJNO FROM MATERIALSLAB.VW_ASPHALTHEADERINFO");
        ResultSet results = pstmt.executeQuery();
        while (results.next())
        out.println(results.getString(1));
    catch(Exception ex)
    out.print("Got connection, can't execute query: " + ex.toString());
    return;
    %>

  • "Load report failed" after upgrading to Crystal Report for VS 2010

    I switched to Visual Studio 2010 few months ago. Today, I needed to update my Crystal Report reports, so I installed the Crystal Report for Visual Studio 2010 on my local server. I updated my reports and it works fine on my local server.
    On my remote server, I installed the Crystal Report runtime engine for Framework 4.0 (note that my project use the framework 3.5) and published my project. But now I got the following error when I want to create a report "Load report failed". I double-checked the path of my report and its permissions (note that it was working before the update).
    Am I missing a step ?
    Thanks for your help.
    Edited by: David1111_ on Mar 1, 2011 6:08 PM
    Edited by: David1111_ on Mar 1, 2011 6:09 PM

    Googling 'FILE LOCKED WITH ONLY READERS' I came up with the following:
    http://forum.sysinternals.com/topic21378.html
    So, no, that does not appear to be the issue.
    However my assertion - given that the correct dlls are loading - is still that either the report is not there (do you see it loaded in Process Monitor?) or the process has no access to either the actual rpt or the temp files that the print engine creates. Those really are the only reasons for report load errors.
    This being a web app, try a simple win app - as a test. All you need is the viewer and CrystalreportViewer1.ReportSource = <path to report> (use a saved data report). Compile, throw the exe on the server. Run. What happens there?
    - Ludek

  • Crystal Reports for Visual Studio 2008 - dbf

    Hello,
    I use both Visual Studio 2005 and 2008 on same PC. I can not work with dbf files (format foxpro2x, dbase IV) in VS 2005 and VS 2008.
    Q1. Work Crystal Reports for Visual Studio 2008 with database files - dbf (version foxpro2x, dbaseIV)? I get error -
    Crystal Reports ActiveX Designer
    Failed to load database information
    or with dbf files work only Full version of Crystal Reports?
    Q2. How re-install Crystal Reports for Visual Studio 2008. In setup Add/Remove features not exist Crystal Reports check box. I only Repair/reinstall all Visual Studio but after reinstall same error
    Crystal Reports ActiveX Designer
    Failed to load database information
    3. When I can open sample project with Crystal Reports which use Crystal Reports (dbf file) this error is displayed:
    Crystal Report Viever
    Failed to load database information
    Details: The database DLL "crdb_p2bxbse.dlll" could not be loaded.
    4. I reinstal Crystal Report in Visual Studio 2005 - same error
    5. I apply hotfix Crystal Reports for .NET 2005 - SP 1 - same error
    Thank You
    Ludek

    Hi Ludek,
    1-For dbase file to work you need have permission on database files for IIS as well as user accessing the database.
    2-For re-install you need to insert the CD of visual studio setup then do custom install and then try to choose crystal reports for re-installing
    3-The old viewer might cause the problem. In this case can you try connecting to a blank dbase file.
    and for such issues we have a special forum [here|SAP Crystal Reports, version for Visual Studio;
    Thanks,
    Hitesh Mangtani

  • Crystal Reports for VS2010 Prerequisites for ClickOnce Deployment

    I keep getting this Error when publishing my application with clickonce even though I have Crystal Reports for VS2010 installed: I want the prerequisites to be downloaded from the same location as my app. Publishing fails with the following error.
    The install location for prerequisites has not been set to 'component vendor's web site' and the file 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0.msi' in item 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' can not be located on disk.

    See KB [1534388 - CRVS2010 - Creating Click Once deployment|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%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333334333333383338%7D.do].
    I think typing "clickonce crvs2010" in the search box at the top right corner of this web page will also bring up the KB (just an FYI).
    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]

  • Test Connection failed in Crystal Reports for Eclipse using SQL Server 2008

    I installed an SQL Server Express 2008 on my local PC (Window XP SP3). I downloaded sqljdbc4.jar to Crystal Reports for Eclipse
    IDE library path and tried to Test Connection, but got the Ping failed message : The TCP/IP connection to the host localhost, port 1433 has failed. It said that check that an instance of SQL Server is running on the host (I saw SQL Server SQLEXPRESS is Running on my PC) and accepting TCP/IP connection at the port (I enabled TCP/IPin my PC's SQL Server Network Configuration),
    and that no firewall is blocking TCP connection to the port(I turned OFF Window Firewall on my OC). Can anyone tell me how can I fix this problem ?

    Hi,
    Check the below thread also:
    http://scn.sap.com/thread/1634856
    Thanks,
    DJ

  • Crystal Report for VS2010 show Login when deployed

    I am having a problem with my Windows Form project in VS2010 regarding
    the SAP Crystal Reports for VS2010.
    When I deploy my project on client's PC it shows a login dialog box.
    The client's PC is in XP.
    I already installed the correct runtime in their PC.
    When the login dialog box appear and the cancel button is clicked,
    the Report shows correctly.
    But our client did not want to always see the login dialog box.
    I already try to fix it like this:
    u2022 Add connection and login info in the codes (CrystalDecisions.Shared.ConnectionInfo)
    u2022 Verify and reconnect the database
    u2022 reinstall the runtime of Crystal Report(CRRuntime_32bit_13_0_1.msi)
    But nothing works.
    I am using an XML schema to display the report, I do not directly connect
    to a database. Like this:
    CrystalReport.SetDataSource(DataSet);
    The framework I use is C#.Net 3.5.
    My project is in Windows Form.
    My Crystal Report for VS2010 version is 13.0.1
    Please help me.
    Thanks in advance.

    Moved to .NET SDK forum.
    Can you clarify? What data source are you using? Direct connection to the DB or Dataset?
    It's prompting because what ever source you are using doesn't have the proper connection method being used or the log on info is incorrect.
    Don

  • Connection problem in Crystal Reports for Eclipse(SQL Server Express 2008)

    I tried to connect into a local SQL Server Express 2008 database in Crystal Reports for Eclipse (CR4E), but always  got the Ping failed message(TCP/IP connection failed) even I tests completed successfully using my Window XP Adminstrators Tools (SQL Server ODBC Data Source Test). I can connect successfully to a remote network Oracle database in CR4E. I would like to know
    that is there any one who connect SQL Server Express 2008 local database successfully in CR4E?

    Don,
    Thanks for your suggestions. I will follow your instruction to connect to SQL Server Express 2008 database latelly. I can connect successfully with different Oracle databases (10g) in CR4E. I will try to connect MySQL database and Postgres database in CR4E  to see if they can be  successful or not. My project involves international entities with emphsizing  in using OPEN SOURCE softwares (which means FREE - no license fees) in .NET platform for Oracle, SQL Server Express, MySQL and Postgres database servers. I am responsible for reports generation. I hope that CR4E can be connected successfully to SQL Server Express 2008 database server, otherwise I have to use JFreeReport/JFreeChart tools to do reports generation .

  • No images when deploying Crystal Reports for Visual Studio 2005

    Post Author: wcl
    CA Forum: Publishing
    Developed a ASP.Net web site that uses Crystal Reports for Visual Studio 2005, everything works fine locally.
    Following instructions from  http://support.businessobjects.com/downloads/merge_modules.asp#07 a deployment package has been created using CrystalDecisionsRedist2005_x86 merge module and the website has been installed.
    When it is deployed to a remote development server the report images are not displayed.  The report navigation works, it is the images that are not found when the report is displayed.
    Should the vs2005 key be entered some where on the remote server?

    Post Author: wcl
    CA Forum: Publishing
    Thnakyou very much for your quick reply.
    The directory has not been created by the merge module,  which folder should it be created in and what contetants should it have?
    <-edit>
    an example of an image it can not find is "/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/images/toolbar/upd.gif",  so does the folder '/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3' need setting up?
    </edit>

  • Crash call stack caused by crdb_adoplus.dll and crqe.dll on Crystal Report for Visual Studio 2008

    Hi There,
    i have an application running on C# .NET which use .NET Framework 3.5 SP1 and Crystal Report for Visual Studio 2008 x64. Now i'm facing the issue in application. suddenly my IIS crash , and the application is logout.
    i have opened advisory case to Microsoft and they help me to analyze the dump from the application when the issue is happened.
    here it is the stack trace :
    STACK_TEXT: 
    00000000`9b1dd160 000007fe`eb93946d : 00000000`9b1dd308 000007fe`eb931948 00000000`00000000 000007fe`eb931610 : verifier!VerifierStopMessage+0x1f0
    00000000`9b1dd210 000007fe`eb939736 : 00000000`9b1ddb50 00000000`00000002 00000000`00000040 00000000`00000004 : verifier!AVrfpDphReportCorruptedBlock+0x2a5
    00000000`9b1dd2d0 000007fe`eb9399cd : 00000000`b32f1000 00000000`9b1ddb50 00000000`00000004 00000000`00001000 : verifier!AVrfpDphCheckNormalHeapBlock+0xce
    00000000`9b1dd340 000007fe`eb93873a : 00000000`9b1ddb50 00000000`01001002 00000000`cca0c3b0 00000000`00000000 : verifier!AVrfpDphNormalHeapFree+0x29
    00000000`9b1dd370 00000000`770b99a5 : 00000000`00000000 00000000`00000000 000007fe`f25514f7 000007ff`05f0a1d1 : verifier!AVrfDebugPageHeapFree+0xb6
    00000000`9b1dd3d0 00000000`7705dbc0 : 00000000`b32f0000 00000000`cc16afb0 00000000`b32f0000 00000000`cc16afb0 : ntdll!RtlDebugFreeHeap+0x35
    00000000`9b1dd430 00000000`7704413d : 00000000`b32f0000 00000000`9968aa01 00000000`00000000 00000000`9b1ddb50 : ntdll!RtlpFreeHeap+0x19a70
    00000000`9b1dd770 00000000`76ef307a : 00000000`00000001 00000000`9968aa40 00000000`9b1dd958 00000000`cc16afb0 : ntdll!RtlFreeHeap+0x1a6
    00000000`9b1dd7f0 00000000`9739cabc : 00000000`00000000 00000000`9968aa40 00000000`000002a3 00000000`cc13ef28 : kernel32!HeapFree+0xa
    00000000`9b1dd820 000007fe`f2550e37 : 00000000`00000000 00000000`24b20fc0 00000000`0000001b 000007ff`0604a340 : msvcr90!free+0x1c
    00000000`9b1dd850 000007ff`05f05802 : 00000000`00000000 000007ff`0604f7c0 00000000`9b1dd958 00000000`9968aa40 : mscorwks!DoNDirectCall__PatchGetThreadCall+0x7b
    00000000`9b1dd8f0 000007ff`05f0a231 : 000007ff`0604f730 000007ff`05f05802 00000000`cc16afb0 00000000`0000001b : DomainBoundILStubClass.IL_STUB(Void*)+0x42
    00000000`9b1dd9b0 000007ff`05f0a1d1 : 00000000`cc16afb0 00000000`000007d4 00000000`9b1dd2e8 00000000`00000000 : crdb_adoplus!<Module>.DbFieldInfo.{dtor}(DbFieldInfo*)+0x11
    00000000`9b1dd9e0 000007ff`05f0a177 : 00000000`0000001c 00000000`cc13ef20 00000000`00000000 00000000`00000000 : crdb_adoplus!<Module>.DbFreeFieldList(UInt32, DbFieldInfo**)+0x31
    00000000`9b1dda30 000007fe`f254f18a : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : DomainBoundILStubClass.IL_STUB(Int32, Int64)+0x7
    00000000`9b1dda60 00000000`9a506b36 : 00000000`0000001c 00000000`cc13ef20 00000000`00000000 00000000`00000000 : mscorwks!UMThunkStubAMD64+0x7a
    00000000`9b1ddaf0 00000000`9a583538 : 00000000`bf35af90 00000000`bf9bcfa0 00000000`9b1ddd30 00000000`00000000 : crqe+0x16b36
    00000000`9b1ddca0 00000000`9a6c1c64 : 00000000`bec28dc0 00000000`cd926e60 00000000`00000000 00000000`cbafcf20 : crqe+0x93538
    00000000`9b1ddf90 00000000`9a6bc697 : 00000000`cd926e60 00000000`00000000 00000000`00000000 00000000`00000000 : crqe+0x1d1c64
    00000000`9b1de000 00000000`b64fcab9 : 00000000`cd926ec0 00000000`9b1de0c0 00000000`00000000 00000000`b6dee2cb : crqe+0x1cc697
    The crdb_adoplus tried free a corrupted Heap Block:
    0:188> dt DPH_BLOCK_INFORMATION 000000009b1ddb50-40
    verifier!DPH_BLOCK_INFORMATION
       +0x000 StartStamp : 0
       +0x004 PaddingStart     : 0
       +0x008 Heap             : 0x00000000`9b1ddb58 Void
       +0x010 RequestedSize    : 0x9b1ddb50
       +0x018 ActualSize       : 0x9b1ddb30
       +0x020 Internal         : _DPH_BLOCK_INTERNAL_INFORMATION
       +0x030 StackTrace       : 0x00000000`00000001 Void
       +0x038 PaddingEnd       : 0
       +0x03c EndStamp         : 0
    is this problem solved by upgrading Crystal Report version to CR12 ?
    Thank you,
    Best Regards,
    Leonardus Tono Amboro
    IT Enterprise System Architect
    PT Astra International Tbk.
    AMDI A Building, 7th Fl.
    Jln. Gaya Motor Raya 8. Sunter II, Jakarta 14330, Indonesia
    Message was edited by: Ludek Uher
    Phone number removed - Please see the SCN Rules of Engagement

    Hi Leonardus
    Please define "crash". What actually happens?
    Did this ever work? E.g.; this started to happen recently?
    Is this happening on your development system or QA or production?
    See if enabling the option "Verify on 1st Refresh" will help.
    Make sure you are using SP 1: Crystal Reports for VS 2005 and  VS 2008 Updates & Runtime Downloads
    Ensure that the dataset is less that a couple thousand rows. Anything more than that will cause issues...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • Using Crystal Reports for Visual Studio 2008 in C++/CLI

    How can I use Crystal Reports for Visual Studio 2008 for creating WinForm Application written in C++/CLI under VS2008 ?

    Can you repost your last response in English?
    Also, check out this post
    Read Before Posting - Where to find Crystal Reports .NET SDK resources
    It has links to our Crystal Reports resources for .NET.
    Edited by: Jason Everly on Apr 22, 2009 9:07 AM

  • Crystal Report for Generic (Draft) Docuent.

    Dear all,
    I have a Crystal Report for Draft Document using TmSp_DocLineTypeLayout
    Stored porcedure it was working fine in our
    company Database but When i deploy in to client machine it working fine for added records but when i call the report for genrarically (before adding the record (ie) Draft) it saying
    the following Error:
    object reference not set to an instance of an object
    OS:Windows Server 2008
    DB:SQL SErver 2008 R2
    SAP B1: 8.81
    I think the problem may be in SQLserver
    Thanks,
    Vasantha Praba

    Hi Vasanta....
    You need to set the Database location by doing Set Location in Crystal Report.
    Because when you run the CR in new DB still it is picking the old DB instance which it is not getting. So you must update the new DB location with Old one by creating new connection.....
    Hope this may solve your problem.....
    Regards,
    Rahul

Maybe you are looking for