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;
%>

Similar Messages

  • 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

  • Java.lang.NoClassDefFoundError error on sun one 6.0 web server

    Hello,
    I'm trying to run a simple hello_world test but get an error message as follows
    [17/Nov/2003:12:49:55] info (23151): Internal Info: loading servlet /test/hello_
    world.jsp
    [17/Nov/2003:12:49:56] failure (23151): Internal error: Unexpected error conditi
    on thrown (java.lang.NoClassDefFoundError: sun/tools/javac/Main,sun/tools/javac/
    Main), stack: java.lang.NoClassDefFoundError: sun/tools/javac/Main
    at com.iplanet.server.http.servlet.IWSJavaC.compile(IWSJavaC.java, Compi
    led Code)
    at com.iplanet.server.http.servlet.IWSJavaCompiler.compile(IWSJavaCompil
    er.java:73)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled C
    ode)
    at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.
    java, Compiled Code)
    at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntit
    y.java, Compiled Code)
    at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunn
    er.java, Compiled Code)
    Here is my web-apps.xml file ->
    # pg web-apps.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE vs PUBLIC "-//Sun Microsystems, Inc.; iPlanet//DTD Virtual Server Web
    Applications 6.0//EN"
    "http://developer.iplanet.com/webserver/dtds/iws-webapps_6_0.dtd">
    <vs>
    <web-app uri="/hello_world" dir="/nnn.nnn.nnn.nn/test" enable="true"/>
    </vs>
    Just erased ip just in case.
    Has anyone experinced same behaviour?

    What service pack of 6.0 server are you using? What is the JDK version? Try running the VM in server mode. Here's the docs to run JVM in server mode:
    http://docs.sun.com/source/816-6770-10/rn60sp6.html#1017482
    Hope it helps.
    Thanks,
    Manish

  • Crystal Report JRC and JNDI problem

    I need to convert one of our internal web application from using Crystal Report Server 10 RAS to using Crystal Report XI Java Component (JRC). I found several examples from SAP/BusinessObjects but am stuck with a database connectivity problem.
    The basic enviornment info:
    JBoss 4.0.3 SP1
    Crystal Report JRC XI
    Windows XP/Server 2003
    JDK 1.5.x
    MS SQL Server 2005
    The error I am getting is "Error finding JNDI name (xxx)", although the application is already using the same JNDI and was able to display data on the web.
    I added debug code:
                    Context initialContext = null;
                    try {
                        initialContext = new InitialContext();
                        DataSource ds = (DataSource) initialContext.lookup("java:MYAPP");
                        String t = ds.toString();
                        log.debug(t);
                    } catch (NamingException e) {
                        log.error(e);
    I was able to get the data source successfully. The actual report file uses JDBC with JNDI named as "MYAPP". When I call the viewer, it gives
    Error finding JNDI name (MYAPP)
    message.
    Any comment or help would be appreciated.
    Thanks.

    How are you setting your connection info?
    This is what we do:
    IConnectionInfo connectionInfo = new ConnectionInfo();
    PropertyBag propertyBag = new PropertyBag();                    
    propertyBag.put("JNDI Datasource Name", reportJndiName);
    propertyBag.put("Database DLL", DATABASE_DLL); // required!!! (but we don't actually provide a DLL, or even run in windows)
    connectionInfo.setAttributes(propertyBag);
    connectionInfo.setKind(ConnectionInfoKind.SQL);
    ConnectionInfos connectionInfos = databaseController.getConnectionInfos(null);
    IConnectionInfo oldConnectionInfo = connectionInfos.getConnectionInfo(0);
    databaseController.replaceConnection(oldConnectionInfo, connectionInfo, null, DBOptions._useDefault );

  • Query Engine report error with Crystal Report 9 And MS SQL SErver 2000

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...
    Refer the above statement highlighted in BOLD. That statement is WRONG. Select what ???? Try any one of the below statement,
    select ''
    --or
    select 0
    --or
    select null
    Regards, RSingh

  • Error while 'Crystal Report for Sap Business One' addon started

    Hi,
    I have try to install Crystal Report for Sap Business One (Addon Versione number 2.0.0.7).
    The installatione finish succesfully, but when I started the addOn i retrieve this errore message: External Connection to the dataBase failed. Sap Crystal Addon may not function properly. Please re-run the account setup with superuser login.
    I'm logged in Sap with manager (super user), so maybe I have forgot some step in the installation?
    I have see the Demo in the Channel Partner Portal, I have note that I have to isntall the CR_Runtime_12_0, but I don't find it, I don't know where I can download this file. I have just installed SapCrystalSetup.exe and registered the Addon like a normal Sap B1 addon.
    Where is the error??
    Regards
    Marco

    You must configure in each cliente Pc the connection with the DATABASE.
    You must Know the Database Super User (In SQL Server usually sa, and its password, the standard form SAP Business One is SAPB1Admin)
    In Administration > Crystal Reports Administration > Account Setup
    The CR_Runtime_12_0 is only necesary to view reports, but isn't necesary to start de addon.

  • Crystal report for sap business one problem

    Hi experts,
    I am facing problem while dealing with crystal report 2011.
    I installed sap b1 8.8 pl 10, then upgraded to pl 20. Now again upgraded to 9.0 pl08. Then i installed SAP Crystal Report for SAP Business One 2011.
    I seems that it is not integrated to SAP Business One, because i am not able to save my crystal layouts in sap business one.
    How can i resolve this issue, please let me know if anyone faced same kind of problem and got solution for that.
    Thanks

    Hi
    1758302 - Error while connecting to Crystal
    1397692 - Error when starting Crystal Reports software
    Thanks
    Mohammad Imran

  • Error while importing external Crystal report in SAP Business One

    Hi Experts,
    while importing External crystal report in SAP Business one i was unable to import the report and it is not displaying any error message or success Message but after completion if i click on the report i am getting an Error as
    No Matching Records Found 'Queries' (OUQR) (ODBC-2028) Message[131-183]

    Hi,
    Please refer SAP note:
    1532509 - Cannot import Crystal Report template into SAP Business One
    Thanks & Regards,
    Nagarajan

  • Problem while importing a Crystal Report in SAP Business One

    Hi Experts,
                        I am facing a problem while importing a Crystal Report in SAP Business One, it displaying an error  "No matching records found  'Queries' (OUQR) (ODBC -2028)  [Message 131-183]" , and there is no use of this table OUQR  in the Query.
    Kindly let  me know the solution.
    Regards
    Rahul Singh

    Hi Rhaul,
    i don't exactly know why this is a problem, but if your not on latest (881 p10) then upgrade and try again.
    Or as a workaround,
    try saveing from CR to SAP with the CR add-on. That usualy works better then the import.
    Regards,
    D

  • Not able to install crystal reporter in SAP Business One PL 42

    Hi All,
       I had been using the evaluation version of crystal reports. Now when the free licensed version was launched I uninstalled the version and tried to instal the new one which I have downloaded from the portal. I have uninstalled the crystal reports runtime and the SAP crystal reports from the control panel. Now in the same process as mentioned I am installing the crystal reports again. In the ADD-ON istallation part when I am click on start the system shows the following error-
    "An earlier version of crystal reports is found. Please ensure that the current installation is a higher version."
    Inspite of the fact that my system showed no instance of crystal reports installed after the uninstall run by me.
    Please guide me.
    Edited by: debraj bhattacharyya on Nov 3, 2008 6:05 AM

    The following is the Instructions Extract from "SAP_CRYSTAL_InstallInstructions.pdf":
    Un-installation of previous version:
    If a previous version of the Add-on exists , it is highly recommended the previous add-on be fully uninstalled before installing the new version. To uninstall the add-on, follow the 3 simple steps below.
    1. Using SAP Business One Administration | Add-Ons | Add-On Administration: remove and un-register the add-on.
    2. Log off SAP and Log back in for the un-installers to run.
    3. Using Windows Control Panel | Add-Remove programs: uninstall the u201CSAP Business One Crystal Reportsu201D ( Do not un-install Crystal Run time )
    Installation of New Version:
    1.The Add-On runs using the compatibility licence of SAP Business One.
    2.Copy the installation files to a suitable location.
    3.The installation disk or folder will contain a file called SAPCrystalSetup.exe.
    4.Log on to the target PC as an administrator or admin type user (windows).
    5.Copy the SAPCrystalSetup.exe to a convenient location on the target PC and run SAPCrystalSetup.exe (confirm all overwrites - you may keep the CrystalDesignerPath.txt intact if the path specified is different to the defaults).
    6.SAPCrystalSetup.exe will install the add-on components on the local PC. It is recommended that you keep the path selected by the installer. The default installation path for the Add-on files are C:\Program Files\SAP\SAP Business One\AddOns\SAP_CR.
    7.Locate the folder u201CDotNetFramework_3.5u201D , make sure the PC is connected to the internet and run the u201CdotNetFx35setup.exe u201C. An automatic download will occur, to get the suitable files for .Net Framework 3.5. This will take several minutes depending on the bandwidth. The installation of the .Net Framework will happen once the download finishes.
    8.Locate the folder u201CCrystal_2008_Runtime_exeu201D and run the u201CCRRuntime_12_0_mlb.exeu201D. if a product ID is requested, leave the Text Box blank and proceed with install. This installs the Crystal Reports Runtime for Version 2008 on the local PC.
    9.Once the setup.exe has completed, log on to SAP as manager or any other superuser.
    10.Using Administration | Addons | Add-On Administration, register the Crystal Add-On, set the desired settings and restart SAP.
    11.Log on to SAP, as a super user.
    12.Run Account setup from Administration | Crystal Reports Administration | Account setup
    13.Type in the sa password for the SQL server that holds SAP databases, and click Update. ( this process needs to be performed for each new PC, Once. )
    14.Click the Create Ext tables button. Add-on will now create the additional tables (this process must be performed for each new SAP company once u2013 and can be performed from ANY PC). This creates the External SQL tables needed for the add-on.
    15.THE TASKS 5, 6, 7, 8, 9, 12, 17 WILL NEED TO BE RUN ON ALL PCS THAT NEEDS THE CRSYTAL ADD-ON.
    16.Crystal add-on is ready to use. A help file is provided and you may test the add-on with the sample reports found in u2026\ SAP_CR\SampleReports. The help file can be found in u2026\SAP_CR\Documents\UserHelpFile
    17.If the Crystal Designer has been installed on the local PC, the following file needs to be edited ( or checked to be correct). The file gives the path to the Crystal Reports Designer exe. The add-on will read this file to launch Crystal Designer.
    C:\Program Files\SAP\SAP Business One\AddOns\SAP_CR\Resources\CrystalDesignerPath.txt

  • Crystal Reports 9 and SQL Server 2005 default parameter values

    We're using Crystal Reports 9 and upgraded from SQL Server 2000 to SQL Server 2005.
    I'm noticing a very weird problem which I wonder if anyone else has experienced (and hopefully found a resolution for). It appears that in using Crystal with SQL Server 2005 stored procedures, if we have default parameter values in the stored procedures, the default parameter values get completely ignored if you pass in a NULL value from Crystal!
    For example, if you have a stored procedure that begins like this:
    ALTER          Procedure [dbo].[StoredProcedure]
    @Param1 VarChar(200) = '',
    @Param2 VarChar(200) = ''
    AS ...
    both @Param1 and @Param2 have a default value of an empty string, and therefore should become empty strings if nothing (NULL values) gets passed in for them.
    But, like I said, what I'm finding is that with Crystal calling the stored procedure with NULL @Param1 and @Param2 values, they never become empty strings, but rather remain as NULLs.
    This was never a problem with SQL 2000.
    Very perplexing. Anyone else every experience this?
    Thank you.

    Please ignore my earlier post -- answered my own question.
    NULL parameter values do not get replaced by default values in SQL -- that is normal behavior in both SQL 2000 and SQL 2005. Just goes to show, that no many how many years programming experience you have, you can still get tripped up sometimes : (

  • Crystal Reports export and print fails with SSL / https but works with http

    Windows 2008 Server, 32-bit (IIS7)
    ASP.NET 2.0
    Ajax 1.0
    Crystal Reports version 10.5.3700.0
    http:  printing works, export works
    https:  printing not working, only export to MS Excel and MS Word work.
    I am able to generate reports using both http and https, and the toolbar icons are all showing.  However, I am unable to print or export properly with SSL.
    Printing prompts me with a select printer window, and then a window 'Retrieving Page 1' follow by two messages from Crystal Print Control both stating:
    A communication error occured.  Printing will be stopped.
    Exporting generates various errors depending on which export method is being selected (however Excel and Word work over https).
    I've found the same problem on this site and other forums, but never a resolution to get exporting and printing to work with SSL.  Will someone please provide me assistance or possibly relay what settings they're using if they have Crystal Reports export or printing working over SSL in IIS7?  Everything works fine when I change the address from https to http.
    Please let me know if I can help by providing further information.  We've gone through a great deal of possible solutions with code and I'm currently looking in to IIS settings again.
    Thank you.

    Thanks Ludek. I got it by searching KB number.
    Unfortunately, it didn’t fix my problem even my IE (IE8 and IE 9) has correct setting.  I double check my version. PrintControl.CAB is version 10.2.0.1146. we use VS 2005 Crystal report and VB .NET. It works fine on HTTP. But when we use HTTPS (SSL Certificate from go daddy).
    1: Crystal report export
                Export to MS Excel, Word: pop us “File download”, then click “Save”. It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
                Export to RPt, Rich text format: It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
                Export to PDF : nothing happened.
    2: Print:
                Pop up dialog to select printer, click “Print” “. Shows windows “Crystal Report Viewer” and pop us error message box. Title is “Crystal Print Control”. Message is “An communication error occurred. Printing will be stopped”. Click “OK” and pop up error message box again.
    Please advise.
    Thank you very much!

  • Crystal report 11 and IIS

    Post Author: lijolawrance
    CA Forum: Exporting
    Hi to all
    We are using crystal report 8.5 for my application till now. The reports are viewed online using IIS and report viewer. Due to some technical infeasibility, we have planned to switch to crystal report 11. Can anyone tell me that how can i migrate to this using the IIS. I want to open my report online like (http:
    localhost:8099\report.rpt user earlier)./can anyone help me in that

    Post Author: iamtgo3
    CA Forum: Data Connectivity and SQL
    I just purchased Crystal Reports 2008 and it still does not seem to recognize access 2007 *.accdb files. So I have same answer as above will there be a patch or upgrade of some sort to make Crystal Reports recognize Access 2007 *.accdb files.

  • Convert PLD to Crystal Report for SAP Business One 9 or higher

    Hi Experts
    Please guide me how to convert PLD to Crystal Report for SAP Business One 9 or higher... I have tried to use B1 Crystal Converter for 8.8, but its not working with SBO 9... So please guid as per SBO 9.
    Thanks in advance...

    Hi,
    Check this thread:
    http://scn.sap.com/thread/3391875
    Thanks & Regards,
    Nagarajan

  • Crystal Reports 9 and Dot Net 2 SP2

    We have a VB6 application that uses Crystal Reports 9 and makes a call to DB2. When we patched the Windows 2003 server it runs on to Dot Net 2 SP2, the call to DB2 would hang. If we removed the patch, the problem goes away. Microsoft said this is a Crystal issue not a dot net issue so they referred me to this site. Has anyone seen anything like this or have any suggestions as to how to get around this? Our Infrastructure Admins would like to get Dot Net 2 SP2 on ths server so I can't leave it unpatched indefintiely. Thanks

    Hi Brian,
    Moved your post to the Legacy SDK forum.
    Which report engine are you using in your app?
    Cr 9 is end of support long time ago so nothing we can do to fix this other than to upgrade to CR for .NET components. Or possibly CR XI R2 and the RDC if that is what you are using.
    What error do you get?
    Don

Maybe you are looking for

  • How Do I get my two routers to work together?

    I have had a wrt300n 1.1 for years and it has worked wonderfully.  I have upgraded my cable to docsys 3.0 and I purchased a new modem and a D-Link825 dual band wireless router.  The problem I have is that the DIR-825 does not support xbox360 and WiFi

  • Macbook 2007 ram upgrade

    Hi, Searching this site.. its hard to find a basic answer for i think a simple question. which is NOT in the user manual. I have a late 2007 macbook (black, intel duo 2 core, 2,1) which comes with 1 GB RAM. I would like to upgrade to 2 or 4GB. i unde

  • Query to grab the sum and the most recent values?

    hi, Just wondering if its possible to have a query on the temp table, which fetches school,most_recent(sub1),sum(sub2),sum(sub3) group by school table temp SCHOOL DATE1 SUB1 SUB2 SUB3 ABC                    01-AUG-07 1 5 6 ABC                     02-

  • SAP Business Objects and SAP Business Objects PCM

    Hi all We want to know if is recommendable to have Business Objects and SAP Business Objects PCM installed in the same server, and if is necessary to have a special configuration of the services for both applications? Thanks in advance

  • Can we rename Ant build.xml?

    Hi Can we rename ant default build.xml name to any other name like myapp_build.xml? I know this is not right forum;I alreday googled for this.But no luck. Please help me. Thanks Anil