Crystal Report Database connection problem in CMC

Dear All,
We are using Business Objects XI 3.1, Crystal Report 2008 SP1 for report development. Crystal reports are generated using SAP BW Query.
Where in, once you have published Crystal report to Enterprise server and open the same using Infoview it gives error saying "database logon failed, check user name password"
Did checked the database config tab in CMC there was no password and "Prompt user name password" option was enabled as well. when we type the password at the password text box, it is not accepting the same to store at the text box insted keep enpty always.
Please let know what is the issue and guide me to over come the same.
Thanks in advance.
Regards
Murugesh

Hi,
Is the account that runs the services of BOE on your OS able to ping the DB server. It may also lie in the fact that you have to do the correct setup steps for the SAP Integration Kit. Have you installed and configured this between your BW and BOE environment?
Hope this helps...
Martijn van Foeken
Focuzz BI Services
http://www.focuzz.nl
http://nl.linkedin.com/in/martijnvanfoeken

Similar Messages

  • Crystal report DataBase Connection Issue.

    I am trying to change the connection string of the report file dynamically base on the connection info in the web.config.
    I have connected to the database A while designing  the report if  to change the database dynamically to database B from code behind.
    I have used the following code.
    But getting an error as "DataBase Logon failed".
    may some one help  in resolving this issue ASAP.
    ParameterFields myParams = new ParameterFields();
                            ParameterField myParam = new ParameterField();
                            ParameterDiscreteValue myDiscreteValue = new ParameterDiscreteValue();
                            myParam.ParameterFieldName = "@ID";
                            myParam.ReportName = strreportfile;
                            myDiscreteValue.Value = Convert.ToInt32(Session["ID"]);
                            myParam.CurrentValues.Add(myDiscreteValue);
                            myParams.Add(myParam);
                                               CrystalReportViewer1.EnableDatabaseLogonPrompt = false;
                            CrystalDecisions.Shared.TableLogOnInfo crConnectionInfo = new CrystalDecisions.Shared.TableLogOnInfo();
                            crConnectionInfo.ConnectionInfo.ServerName = ConfigurationManager.AppSettings["ServerName"].ToString();                        crConnectionInfo.ConnectionInfo.DatabaseName = ConfigurationManager.AppSettins["DatabaseName"].ToString();
                            crConnectionInfo.ConnectionInfo.UserID = ConfigurationManager.AppSettings["UserId"].ToString();
    ConfigurationManager.AppSettings("UserID").ToString;
                            crConnectionInfo.ConnectionInfo.Password = ConfigurationManager.AppSettings["password"].ToString();
                            foreach (InternalConnectionInfo conn in objReportDocument.DataSourceConnections)
                                conn.SetConnection(crConnectionInfo.ConnectionInfo.UserID, crConnectionInfo.ConnectionInfo.Password, crConnectionInfo.ConnectionInfo.ServerName, crConnectionInfo.ConnectionInfo.DatabaseName);
                            CrystalReportViewer1.EnableParameterPrompt = false;
                          objReportDocument.OpenSubreport("test2.rpt");
                         objReportDocument.Subreports[0].SetDatabaseLogon(crConnectionInfo.ConnectionInfo.UserID, crConnectionInfo.ConnectionInfo.Password, crConnectionInfo.ConnectionInfo.ServerName, crConnectionInfo.ConnectionInfo.DatabaseName);
                            for (int index = 0; index <= reportdoc.Database.Tables.Count - 1; index++)
                              reportdoc.Database.Tables[index].ApplyLogOnInfo(crConnectionInfo);
                       CrystalReportViewer1.ParameterFieldInfo = myParams;
                            CrystalReportViewer1.ReportSource = objReportDocument;

    Moved to .NET SDK forums.
    SEARCH here, 100's of posts on how to debug your DB connection problem.
    Good luck
    Don

  • Can not find Function module in Crystal Report Database Connections FN

    Hi,
    we designed a Function Module XX in SE80.
    We set up BO Interagtion for SAP
    We can connect to the R3( CRM) System.
    We can See FN's.
    We can not see our Function Module XX we designed in SE80 in the Database Connection
    What is missing ?
    Any Authorization missing ?
    Which Where
    Thanks
    Martin Sautter

    Yes,
    we just have got it:
    /Database Assistant / Data / My Connections/<myConnection>/FN -> Right Mice Button/ Options ->  Table Name Like: <MYTABLE>
    than
    /Right Mice Button/Regenerate
    Thanks
    Martin

  • Crystal Reports XI connection problems - after updating to SQL Server 2008

    Hello!
    We have some ASP.NET 2.0 Applications that call some CR XI report files with parameters to generate PDF Files. After upgrading from SQL Server 2005 to 2008 the apps hang when trying to generate the PDFs. Some research with Fiddler showed that ever time a 401 Error is raised. Calling the reports directly from CR Designer with the same connection values and Parameter shows the appropriate data that means the log-in data iare functioning.
    I already tried switching the data source driver from OLE DB to SQL Native - no effect!
    Can it be that CR XI does not work with SQL Server 2008? Or is there an update for CR XI and SQL Server 2008?
    Because we are in a hurry I hope somebody can solve my problem(s) ...?!
    Thanks in advance,
    Frank

    Hi Frank,
    No CR XI is not supported nor is any version completely at this time. What we've found issues in so far are the Time(7) time is returned as a string value and Stored Procedure Data/time parameter SQL creation. The Time(7) field is an OLE DB driver issue with Microsoft but the Date/time SP issue is our issue and it's currently tracked and escalated. It will be fixed for CR 2008 with SP3 I believe. And I've asked that the same fix be rolled back to CR XI R2 but waiting on the reply from R&D if it can be done.
    What you need to do is download the trial version of CR XI R2 ( Release 2 ) and then use your XI Keycode to install it and it will work. Then update to the latest SP 5 Service Pack. XI is past it's end of life support which means there will be no updates or bug fixes any more.
    Next, MS SQL Server 2008 does not work with the MDAC version of the Native drivers, you must install the MS SQL Server Client. You'll see the driver name is "MS SQL Server Native client 10". This is the one you need to use.
    Another work around is to use ODBC, it seems to resolve all issues, but the client must be installed.
    Thank you
    Don

  • Crystal Report Dynamic connection issue ORA-04043 Database Vendor Code 4043

    HI All,
    Ii am getting dynamic connection issue with Crystal Report 2008 and Business View Manager, i have Oracle database,
    i have done following steps
    1 Creating Dynamic Connection (including two connection XDC & YDC)
    2. Creating Data Foundation (Common object available in both connection ie. stored procedure)
    3. Creating Business View (with selected number of elements in business element, like firsta name, lastname)
    I have verified database connectivity from Business view manager, both the connection are working fine bringing different number of rows from two different schemas (different schema but same objects in two schemas)
    4. Database connectivity to different database schemas
    5. Connectivity from Crystal Report (done the connectivity from the repository to business view )
    6. Report Connectivity with first schema shows records
    7 Report Connectivity with second schemas shows error
    as follows Failed to retrive data from the database & on clicking of detail i get following error
    Crystal Reports
    Database Connector Error: 'ORA-04043: object HR.EXCEPTION_REPORT_SUB1_PROC [Database Vendor Code: 4043 ]'
    Q first of all i need to know if dynamic connection using business view manager and crystal report technically possible or not, if yes then please let me know the solution, since we did verified with SQL database and ite work with two different database.
    Q if not possible then are there any options to resolve dynamic deployment of crystal report over multiple schemas with crystal report 2008
    Any help or suggestion will be appriciated, hope some one might have got similar issue
    Thanks in advance
    Edited by: smunir on Jul 12, 2011 9:18 AM
    Edited by: smunir on Jul 12, 2011 9:41 AM
    Edited by: smunir on Jul 12, 2011 9:43 AM

    Hi,
    When i use same credentials in Tod or sqlplus it works perfect and gives appropriate results. But when i use same credentials using business view manager, the very first connection works but the second connection does not work
    Please suggest!
    Regards,
    <<smunir>>

  • How to create a Crystal Report to connect to Oracle

    Hi,
    When I create a Crystal report to connect to SQL Server, I create a stored procedure to get all data I need and connect to it from Crystal Report.(In the stored procedure, I created temp tables, used cusor etc to run data.) But now I need to use a Oracle database. I heard I need to create a package and put this stored procedure in this package. Questions:
    1. if I need to create a package, how can I call the stored procedure from it?
    2. Can I create temp table in this procedure too? I need to create some temp tables to join together to get complex data.
    3. if I want the return data from stored procedure, do I still "select ... from ..." or there is another other ways?
    I am so desperated. Please help. I know this are very silly questions. But please.

    Hi Jenny,
    We are also using Crystal Reports for our Oracle Database, we normally just select the tables we want to use or create our own SQL query.
    However, if you really want to use Oracle stored-procedure (which performs faster than a SQL query because the stored procedure is compiled in advance), you can look at this document:
    http://support.businessobjects.com/communityCS/TechnicalPapers/scr_oracle_stored_procedures.pdf
    Hope this will answer your questions.

  • Crystal Report DB Connection

    Hi,
    I want to design Custtomized reports for SAP Business One in Crystal Report. Please guide me how can I connect with the server and database so that it becomes general and I can use it in any SBO server at different client places without doing any changes in the report. If I use OLEDB provider for SQL then I need to replace the server everytime I change the server.
    Please tell me the way how it is done.

    Hi
    Search SDK forum for "Crystal"... I think so you can find solutions
    For example, I found very usefull this [Thread: How to Change Crystal Report database name from visual basic code?|How to Change Crystal Report database name from visual basic code?; for CR functions...
    Regards
    Sierdna S.

  • Seagate Crystal Reports: Database Error

    I am using Crystal reports Version 8 and frequently get the error 'Seagate Crystal Reports: Database Error' when I try to open a previously working crystal report file. The error occurs when I click on the Database menu. Every time I get this error I end up redesigning the report as the I have not yet found a solution and I cant run the report.
    The error is a message box with the title 'Seagate Crystal Reports: Database Error' and an ok button - nothing else.
    Its very frustrating!
    Please help.
    Thanks.

    Hi,
    What database are you using and how are you connecting to it? 
    What are you clicking in the Database menu:  Set Location, Verify Database, Show SQL Query?
    Before opening the report, can you connect to the database first then open the report? 
    I would have expected an error code or a more descriptive error to follow. 
    Thanks,
    Brian

  • SAP NetWeaver Portal Crystal Reports PDF Export Problem

    Hallo all,
    We are working with BO Edge XI 3.1 with integration on SAP Netweaver Portal. The problem is that integrated in SAP Portal CR reports cannot be exported to PDF or printed out.
    I am using an URL iview with the parameter sOutputFormat=P to run the report.
    When I want to print out the report I get the warning message from Internet Explorer "The download of files from this page is for security reasons blocked. Click here..." --> Download the file. By clicking on the u201CDownload this fileu201D the report starts to run again. PDF export doesnu2019t happen.
    Did somebody have the same problem?
    Thanks a lot in advance!

    Hello Ingo,
    thanks a lot for Your help. I have already talked to my IT department and they are looking for the solution of this problem, too.
    Is there a documentation  about necessary settings in the browser to work with SAP NetWeaver Portal and Crystal reports?
    The problem is that on some clients the PDF export is working and on another clients not. The settings of IE seem to be equal.
    Regards,
    Katharina

  • Crystal Reports PDF Export problem

    Hi I'm using Crystal 8.5 for my reports in VB 6.0. We have intrepret as RTF in the report. Now when we export this report to PDF the nested bullets loose formatting. All bullets show up at the same level. Any idea how to fix this?
    Thanks
    Sudha

    Hello Ingo,
    thanks a lot for Your help. I have already talked to my IT department and they are looking for the solution of this problem, too.
    Is there a documentation  about necessary settings in the browser to work with SAP NetWeaver Portal and Crystal reports?
    The problem is that on some clients the PDF export is working and on another clients not. The settings of IE seem to be equal.
    Regards,
    Katharina

  • Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem

    Hi,
    I failed to connect Tomcat 5.0.24 with Postgresql
    7.4.2. The files created by me and the changes i had
    made in the existing files are rates.jsp,
    conversionDAO.java, web.xml and server.xml. The error
    message on the top of the rest of it was "The value of
    useBean class attribute converter.conversionDAO is
    invalid". So far I found out that the coding for
    database connectivity purpose in conversionDAO.java
    cause the error. Another thing is Postgresql jdbc
    driver is required to set in the CLASSPATH for the
    java file to access the Postgresql database. I don't
    know where should I put it in Tomcat for web
    application. Anyway, I put it in
    $CATALINA_HOME/shared/lib according the book i
    refered. I do the database connectivity coding refer
    to the Tomcat Kick Start book from Sams Publishing.
    Below are the coding involved, please show me the
    mistake i had made. Thank you.
    ----server.xml----
    <Context path="/database"
    docBase="${catalina.home}/webapps/database" debug="0"
    reload="true">
    <ResourceParams name="jdbc/conversion">
    <parameter>
    <name>username</name>
    <value>myusername</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>mypassword</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>org.postgresql.Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:postgresql://localhost/conversion</value>
    </parameter>
    </ResourceParams>
    </Context>
    ----web.xml----
    <servlet>
    <servlet-name>conversionDAO</servlet-name>
    <servlet-class>converters.conversionDAO</servlet-class>
    </servlet>
    <resource-ref>
    <res-ref-name>jdbc/conversion</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    ----conversionDAO.java----
    public conversionDAO() throws SQLException,
    NamingException
    Context init = new InitialContext();
    Context ctx = (Context)
    init.lookup("java:comp/env");
    DataSource ds = (DataSource)
    ctx.lookup("jdbc/conversion");
    con = ds.getConnection();
    select = con.prepareStatement(
    "SELECT rate FROM Exchange WHERE src= ? AND dst =

    Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem (cont.)
    Errors log
    2004-06-06 01:07:53 StandardContext[servlets-examples]SessionListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[servlets-examples]ContextListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[jsp-examples]SessionListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[jsp-examples]ContextListener: contextDestroyed()
    2004-06-06 01:07:59 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2004-06-06 01:08:00 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2004-06-06 01:08:01 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /rates/rates.jsp(5,0) The value for the useBean class attribute converters.conversionDAO is invalid.
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)
         at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:141)
         at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1217)
         at org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Generator.generate(Generator.java:3261)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:507)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    ----more----

  • Database connection problem when i try store the values in JTable

    Hi Sir,
    I have a database connection problem when i try to store the data's in a JTable.I think the problem is with in the database connection.I have used 3 vectors here.The database which i have used is
    Access.Where the program is compiling well.But when i run it only the first column heading is printed and error message showing that
    "Invalid Cursor State".I need to solve this problem.pls. do help me.
    I will provide u with the code.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.util.*;
    import java.sql.*;
    public class DataBaseVector extends JPanel
    //Container contentPane=getContentPane();
    JScrollBar jsb = new JScrollBar(JScrollBar.HORIZONTAL);
    JScrollBar jsb1 = new JScrollBar(JScrollBar.VERTICAL);
    Image i1;
    String url="jdbc:odbc:Ananth";
    Vector col=new Vector();
    Vector rows=new Vector();
    Vector rdata=new Vector();
    Connection conn;
    public DataBaseVector()
    //super("JTable With ScrollBars");
    this.setLayout(new BorderLayout());
    UIManager.put("ScrollBar.track",Color.red);
    UIManager.put("ScrollBar.thumb",Color.blue);
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conn=DriverManager.getConnection(url); // Is there any problem here?
    Statement st=conn.createStatement();
    ResultSet rs=st.executeQuery("Select * from AccountMaster");
    // rs is the result set obtained
    ResultSetMetaData rsmd=rs.getMetaData();
    int cols=rsmd.getColumnCount();
    for(int i=1;i<=cols;i++)
    col.addElement(rsmd.getColumnName(i));
    rdata.addElement(rs.getString(i));
    rows.addElement(rdata);
    }catch(Exception e)
         System.out.println("The Error Message was:"+e.getMessage());
    JTable jt=new JTable(rows,col);
    int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    JScrollPane jsp=new JScrollPane(jt,v,h);
    this.add(jsp,BorderLayout.CENTER);
    this.add(jsb, BorderLayout.SOUTH);
    this.add(jsb1, BorderLayout.EAST);
    public static void main(String args[])
    JFrame jf=new JFrame();
    JPanel frame=new DataBaseVector();
    jf.getContentPane().add(frame);
    jf.setSize(800,600);
    jf.setVisible(true);
    Thanx,
    m.ananthu

    The problem is ResultSet.next() is not called.
    Try this and modify the table creation as you need.
    ResultSetMetaData rsmd=rs.getMetaData();
    int cols=rsmd.getColumnCount();
         while(rs.next()) {
              for(int i=1;i<=cols;i++)
                        col.addElement(rsmd.getColumnName(i));
                        rdata.addElement(rs.getString(i));
              rows.addElement(rdata);
    Hope this helps

  • Financial Report Database Connection

    Hello Guys,
    Is there any way to change the Financial Report Database Connection for multiple reports at a time?
    Thanks in Advance.
    Raz

    Try this (I am in HFM version 9.3.1)
    1) Put all the reports you want to change in the same folder
    From the web (Explore)
    2) When you go into Tools/Change Database Connections and get to the "Select Financial Documents to Change Database Connection" highlight all the reports you want changed.
    3)Click ok and then in the next screen change the connection.

  • *Crystal Reports 2008 connection to oracle 11g database error IM003*

    Hi ,
    I am getting the following error when connecting to Oracle 11 g database using Crystal Reports 2008.
    _Logon Failed:Details: IM003:Specified driver could not be loaded due to system error 127 ( Oracle in OraClient11g).
    Datebase Vendor Code:160.
    The Login and Pw that I am using are correct.
    *Could you please let me know any steps that i need to do to resolve this problem.
    Thanks!*

    Hello,
    I haven't seen that error in years... There was a version of Oracles client that did not put the client install into the PATH statement.
    Add the Oracle ...\Bin folder to your System Environment variables and then it should work.
    Thank you
    Don

  • JSP & Crystal Reports Database Problem

    Hi all,
    I hava problem with refreshing the crystal report web viewer if the report retrieves data from DB.
    If I don't refresh the report, it shows the report with default parameters. But when I refresh the report (I mean viewer.refresh()) it gives an error which says it could not found the JNDI.
    Do you have any idea about it ???
    Thanks in advance.
    Ismail TURK.

    So it can't find the JNDI name.
    What JNDI name is it looking for?
    How are you connecting to the database in the Crystal Reports developer.
    How It works on my machine. [long spiel]
    For some reason I was never able to get a JNDI connection throught the CR10 developer. It kept giving me error messages. But I DID manage to connect to Oracle via the standard Oracle TNSNames interface.
    When I tried loading the report in the browser, it looked for a JNDI name the same as the TNSName. Dunno why.
    The issue is that Tomcat stores the JNDI datasources under java:/comp/env/.
    And I couldn't configure the report to look in that initial context.
    My hack of a solution: load the JNDI datasource myself, and then bind it into the place where Crystal Reports looked:
    So I had
    1 - a TNS Name entry called REPORT_DB which the report designer connected to
    2 - a JNDI entry REPORT_DB defined in Tomcat
    <%
    Context initContext = new InitialContext();
    System.out.println("binding");
    try{
    Object obj = initContext.lookup("REPORT_DB");
    catch(NamingException e){
      System.out.println("Naming exception " + e);
      Context envContext  = (Context)initContext.lookup("java:/comp/env");
      DataSource ds = (DataSource)envContext.lookup("REPORT_DB");
      initContext.bind("REPORT_DB", ds);
    System.out.println("bound");
    %>Maybe this might help you, maybe not.
    Cheers,
    evnafets

Maybe you are looking for

  • G4 iMac won't play downloaded HD TV show.  Is there a way to play SD?

    Hello. I downloaded an HD version of one of my favorite TV shows and it came with the SD bundled version for my iPod. Unfortunately, the processor in my G$ iMac won't render the HD version on my computer. It freezes up. Is it possible to watch the SD

  • Edit text in Acrobat 9 issue

    HI, I'm trying to edit text in a pdf. When I'm selecting the text with the touch up text tool it is huge! It selects a paragraph insted of one line. How can I change it to select one line of text? Thank you.

  • Cant find the Iphoto Library

    Hi, I use an external HD for my Iphoto Library. Today, the HD disconnected by accident while I was using Iphoto. All the pictures in IPhoto went blank because of this. After reconnecting the harddrive, I reimported all the photos on the external hard

  • Use G4 in a network

    I'm not sure where to post this. We have early model G4 466 Mhz that has factory CD & Zip drives original HD crashed several years ago and I exchanged it out for either 200 or 250 Gig HD, that shows up in profiler as 114 Gig & I think there is still

  • Any one having problem with  sample editor???

    There is no sound coming from Audio sample editor !! is it a bug or is just me?? Logic Pro 7.1.1