Logon failed with an Access Database

Hello,
I am trying to create a Crystal Reports application that allows the user to view previously created reports (.rpt files).  When I use a .rpt file that has a absolute path for the access database files, it works perfectly.  If I use a .rpt file that uses a relative path (i.e. set the database location in the report to 'same as report') the report prompts me to enter the logon information.  If I cancel those dialogs, I get a logon failed error.
The application copies the .rpt files and access database files and places them in a specific directory.
I know, for a fact, that the reports work in another program and in the Crystal Reports designer.  I just don't know why I get this error with this application.
I am using Crystal Reports XI to create the reports.
The databases are created using Access 95 (I cannot change this)
The development computer is Windows 7 64bit
The IDE is Visual Studio 2008 SP1
The .net language is C#
Any help would be greatly appreciated.

Well, that did allow me to set the location.  I am recieving one error when I do that though.  I believe that it has to do with the fact that the file extension for one of the databases doesn't end with the default .mdb.  I solved this, but then I get an error when trying to load a specific report:
Failed to load database: 0xce0
Invalid Join Operation
Would this be due to the change in the databas name?  I wouldn't think so but I want to be sure.  Other reports work perfectly (of course, the report with the error is the important one!).  And the report that gives the error works in the designer and other applications as well.
Please let me know if I need to start a new thread on this.

Similar Messages

  • RFC logon failed with message: Failed: Connect to SAP  gateway failed

    I installed CI instance fine and i am stopped here with this error at the end of DB instance install. Could someone let me know what could  be the reason for this. Is there any fix or workaround to continue the install.
    INFO       2006-09-16 01:13:02 [iaxxrfcimp.cpp:398]
              CAbRfcImpl::setRfcConnectParam
    RFC parameter ASHOST set to value hostSAP.
    INFO       2006-09-16 01:13:02 [iaxxrfcimp.cpp:398]
              CAbRfcImpl::setRfcConnectParam
    RFC parameter SYSNR set to value 09.
    INFO       2006-09-16 01:13:02 [iaxxrfcimp.cpp:543]
              CAbRfcImpl::checkConnectInfo
    RFC connection information checked successfully.
    ERROR      2006-09-16 01:13:02 [iaxxrfcimp.cpp:450]
              CAbRfcImpl::openRfcConn
    FRF-00007  Unable to open RFC connection.
    ERROR      2006-09-16 01:13:02
              CJSlibModule::writeError_impl()
    FRF-00063  RFC logon failed with message: Failed: Connect to SAP  gateway failed
    Connect_PM  GWHOST=hostSAP, GWSERV=sapgw09, ASHOST=hostSAP, SYSNR=09
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host hostSAP, service 3309)
    TIME        Sat Sep 16 01:13:02 2006
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r_mt.cpp
    LINE        8528
    DETAIL      NiPConnect
    SYSTEM CALL connect
    ERRNO       146
    ERRNO TEXT  Connection refused
    COUNTER     4
    Thanks,
    Ram

    at the end of the database instance installation SAPInst is doing some RFCs to the CI.
    The logfile states that the gateway on host hostSAP with the systemnumber 09 is not reachable.
    Please check if you have started the central instance on this machine.
    peter

  • To connect oracle database with ms access database

    i want to connect oracle database with ms access database
    i have follow the following steps
    1. create ms access database.
    2. create system dsn.
    3. make change in listener.ora.
    4. make change in hs folder.
    5.change the tnsname.ora.
    6. lsnrctl stop and lsnrct start.
    7. create database link in oracle sql*plus.
    8.select the table of ms access
    but i have return the foloowing error.
    ORA-12154: TNS:could not resolve the connect identifier specified
    using window 2000, oracle 10g

    Have a look on ths thread, may it helps ...
    Re: copy access data into oracle with form builder 9i

  • How to link dataTable component with Microsoft Access Database?

    Please mail me @ [email protected]

    Creator might not support MS Access yet but use this code for an access database connection will always work even through notepad or textpad:
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.InputStream;
    import java.util.Properties;
    * @author Mark Hennessy
    public class MyDataSource {
    private static MyDataSource ds = null;
    private static java.sql.Connection connection = null;
    /** Creates a new singleton instance of MyDataSource */
    private MyDataSource() {
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    connection = java.sql.DriverManager.getConnection("jdbc:odbc:<db name>", "guest", "guest");
    }catch(ClassNotFoundException cnf){
    cnf.printStackTrace();
    }catch(java.sql.SQLException sqle){
    sqle.printStackTrace();
    public static DataSource getInstance() {
    if(ds == null)
    ds = new DataSource();
    return ds;
    public java.sql.Connection getConnection() {
    return this.connection;
    public static void closeConnection() {
         try{
              connection.close();
         }catch(java.sql.SQLException sqle){
              sqle.printStackTrace();
    plus set up the ODBC connection via click start , click run and then copy and paste the following "odbcad32.exe" without the quotes, click ok, click user DSN tab, click Add...button select Microsoft Access Driver (*.mdb) click finish, give <db name> name of ur access database, give any description <whatever> or leave blank click the select... button navigate to the access database u want to connect to in your java code and select it.
    in calling program
    public class CustomersImplimentation {
    private static java.sql.Connection connection = null;
    private java.sql.ResultSet rs = null;
    public CustomersImplimentation(){
    connection = MyDataSource.getInstance().getConnection();
    public Customers[] findAll(){
    java.util.ArrayList list = new java.util.ArrayList();
    String sql = "SELECT * FROM CUSTOMERS";
    try{
    java.sql.Statement stmt = connection.createStatement();
    rs = stmt.executeQuery(sql);
    while(rs.next()){
    list.add(new Customers(rs.getInt(1), rs.getString(2), rs.getString(3)));
    }catch(java.sql.SQLException sqle) {
    System.out.println((new StringBuilder()).append(
    "SQLException :: executeQuery Cannot find all Customers:").append(sqle).toString());
    Customers[] customers = new Customers[list.size()];
    for(int i = 0; i < list.size(); i++){
    customers[i] = (Customers)list.get(i);
    return customers;
    if you have a Customers class created with set and get methods and a constructor that takes an int string string i.e.
    public Customers(int ID, String firstName, String lastName){}
    then u should be able to run these classes from within creator with an access database. hope this helps?
    regards
    Henno

  • FRF-00063  RFC logon failed with message: Failed: Connect to SAP gateway fa

    We are getting below error while installing CRM 4.1 on oralce,sunsolaris.
    ERROR      2007-09-27 01:19:46
               CJSlibModule::writeError_impl()
    FRF-00063  RFC logon failed with message: Failed: Connect to SAP gateway failed
    Connect_PM  GWHOST=uapkb2dh, GWSERV=sapgw29, ASHOST=uapkb2dh, SYSNR=29
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host uapkb2dh, service 3329)
    TIME        Thu Sep 27 01:19:46 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r_mt.cpp
    LINE        8642
    DETAIL      NiPConnect
    SYSTEM CALL connect
    ERRNO       146
    ERRNO TEXT  Connection refused
    COUNTER     2
    Regards,
    Madhu.

    We are getting below error while installing CRM 4.1 on oralce,sunsolaris.
    ERROR      2007-09-27 01:19:46
               CJSlibModule::writeError_impl()
    FRF-00063  RFC logon failed with message: Failed: Connect to SAP gateway failed
    Connect_PM  GWHOST=uapkb2dh, GWSERV=sapgw29, ASHOST=uapkb2dh, SYSNR=29
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host uapkb2dh, service 3329)
    TIME        Thu Sep 27 01:19:46 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r_mt.cpp
    LINE        8642
    DETAIL      NiPConnect
    SYSTEM CALL connect
    ERRNO       146
    ERRNO TEXT  Connection refused
    COUNTER     2
    Regards,
    Madhu.

  • Database Logon Failed when loading Access mdb that use a system mdw

    I am trying to get my Report Viewer ASP.NET application running 11 R2 SP3 to open a report that uses Access database with a system database file (mdb and mdw file)
    the report runs fine in the designer and it runs fine on the developer test computer
    but the production environment that does not have the full Crystal Designer installed just the runtime engine (but does have the full MSAccess running) cannot load the database
    i keep getting "Database Logon Failed"
    SWIP Reports
    Error Exporting Report
    Report:     Help Desk Reports Over 3 Days
    Server Name:     \\poseidon\IT\Databases\itdept.mdb
    Database Name:     \\poseidon\IT\Databases\itdept.mdb
    User:     GLOBAL\ADMINISTRATOR
    IP:     127.0.0.1
    ============================================================
    | Exception Information
    +----------------------------------------------------------------------
    |  Exception Message:     Database logon failed.
    |  Exception Source:     CrystalDecisions.ReportAppServer.DataSetConversion
    |  Inner Exception:          
    |  Begin Stack Trace:
    |        at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.T_
    |          hrowDotNetException(Exception e)
    |        at CrystalDecisions.ReportSource.EromReportSourceBase.Exp_
    |          ortToStream(ExportRequestContext reqContext)
    |        at CrystalDecisions.CrystalReports.Engine.FormatEngine.Ex_
    |          portToStream(ExportRequestContext reqContext)
    |        at CrystalDecisions.CrystalReports.Engine.ReportDocument._
    |          ExportToStream(ExportOptions options)
    |        at CrystalDecisions.CrystalReports.Engine.ReportDocument._
    |          ExportToHttpResponse(ExportOptions options, HttpRe_
    |          sponse response, Boolean asAttachment, String atta_
    |          chmentName)
    |        at CrystalDecisions.CrystalReports.Engine.ReportDocument._
    |          ExportToHttpResponse(ExportFormatType formatType,_
    |          HttpResponse response, Boolean asAttachment, Strin_
    |          g attachmentName)
    |        at reports.PushReport(ExportFormatType expType, String Co_
    |          ntentType, String Ext, Boolean Popup)
    |        at reports.exportReport(String strExpFmt)
    +----------------------------------------------------------------------
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    does anyone have any advice on why this is failing only on the server but is not failing on the developer or the designer computers.

    public Reports(String RptPath)
                this._ExpOptions.ExportDestinationType = ExportDestinationType.NoDestination;
                this._ExpOptions.ExportFormatType = ExportFormatType.NoFormat;
                this._RptDoc = new ReportDocument();
                this._RptDoc.Load(RptPath, OpenReportMethod.OpenReportByTempCopy);
                login();
    private void login()
                if (!_IsLoggedIn)
                    try
                        String dbName = this._RptDoc.DataSourceConnections[0].ServerName.ToString();
                        for (int i = 0; i < this._RptDoc.DataSourceConnections.Count; i++)
                            this._RptDoc.DataSourceConnections<i>.SetLogon(uid(dbName), pwd(dbName));
                        foreach (ReportDocument Sub in this._RptDoc.Subreports)
                            dbName = Sub.DataSourceConnections[0].ServerName.ToString();
                            for (int i = 0; i < Sub.DataSourceConnections.Count; i++)
                                Sub.DataSourceConnections<i>.SetLogon(uid(dbName), pwd(dbName));
                        ConnectionInfo coninfo = new ConnectionInfo();
                        coninfo.DatabaseName = this._RptDoc.DataSourceConnections[0].DatabaseName;
                        coninfo.ServerName = this._RptDoc.DataSourceConnections[0].ServerName;
                        coninfo.UserID = this._RptDoc.DataSourceConnections[0].UserID;
                        coninfo.Password = this._RptDoc.DataSourceConnections[0].Password;
                        foreach (CrystalDecisions.CrystalReports.Engine.Table crtbl in this._RptDoc.Database.Tables)
                            TableLogOnInfo logoninfo = crtbl.LogOnInfo;
                            logoninfo.ConnectionInfo = coninfo;
                            crtbl.ApplyLogOnInfo(logoninfo);
                        _IsLoggedIn = true;

  • ACS 4.2.(1) build15 - replication failed with Cannot access file

    Just upgraded from 4.0 - to 4.2 then to 4.2.1 15. As you may have seen with periovous posts of mine its not been an esay ride.
    I have now managed to get it all working - backups AAA etc but for some reason i cannot get the replication to work! Its states the following...
    Within the Database Replication active log - Error OutBound database replication failed - refer to CSAuth log file.
    Other lines in the log state  its ok eg - Component logging reports was updated - being replicated to slave...
    Looking at the CSAuth log file...
    .....DBReplication thread kicked..starting sync.
    ODBC Operation failed with the folowing information: Message = [Sybase] [ODBC Driver] [Adaptive Server Anywhere] Cannot access file "D:$etworks\CiscoSecure 4.2\CSAuth\DbSyncSratch\users\users.dat~ -- Invailed argument, sqlStates=S1000, Native error = -602$
    SL:saveUserTable - execution Failed.
    Please note that the $ is a symbol that i have used because the symbol in the log is strange and i  cannot seem to be able replicate here with this text, for example $etworks - should be networks...
    Everything else seems to be working except this - any help would be great..
    Oh Merry Xmas and Happy new year to you all!
    John

    Did you find a solution?
    I have the same problem with the exact same symptoms - I can't get replication to work. The path name in the error message is missing the first letter, too.
    PS: It has nothing to do with the firewall, the replication fails even before it tries to connect to the network.
    Greetings
    Mathias Rufer

  • Complex problem : JavaFX2 deployment with NetBeans 7.3 fails with DB-Access

    hi all,
    i've created an JavaFX2-App with NetBeans 7.3 and DB-Access to remote MS-SQL-Server 2008 :
    it runs well in NetBeans , if executed (Menu : Run) as >Standard-config>,
    but it fails with runtime error, if excuted as >run as webstart> or <run in browser>
    the thread stack output : dont understand ...dont find any advice there
    in the dist-folder i find 3 files with appname.html,appname.jar, appname.jnlp
    and two folders lib (contains the db-driver.jar) and web-files (contains images)
    no web.xml and no ...war is there, and not any element from my app is found in tomcats webapp-dir ..
    i'm dealing several days and tries withis and dont find the solution...
    please help (i'm newbie to webapp-development)

    Hello Jose,
    Could you please run the following steps:                                                                               
    Please leave  the database instance in the cold mode, take a log backup, then complete data backup, and do the update immediately (without starting the database in between). 
    Please update with your results after that.
    Thank you and best regards, Natalia Khlopina

  • SQL Query with MS-Access Database

    Hi,
    I have linked my oracle database with MS-Access via a DB LINK. i can access the data from MS-ACCESS, but i have a problem that when i specify the column name or define a where clause in my query it gives me the error ORA-00904: invalid identfier ..
    This query fetch the data without any problem SELECT * FROM TBLREPORT@M_ACCESS but when i run SELECT EMP_ID FROM TBLREPORT@M_ACCESS it gives me the error i mentioned above. (Column name have No problem or mistake of spelling even CASE)
    also when i try to put where clause in the query it gives me same error SELECT * FROM TBLREPORT@M_ACCESS WHERE EMP_ID = '100' (Error)
    is there any change in SQL query for ACCESS database ??
    any clue
    Regards
    Rehman

    Are column/table names in access case sensitive? Issue
    DESC TBLREPORT@M_ACCESS If column EMP_ID actual name shows up in mixed/lower case, enclose it in double quotes and use the exact case. E.g., if column name shows up as Emp_Id, use:
    SELECT "Emp_Id" FROM TBLREPORT@M_ACCESSSY.

  • Change DB_NAME failed with NID-00133: Database should have only consistent.

    I have created two testing database for active data guard with Oracle 11g on Linux. I created standby DB by using rman backup from primary database. Now I want to change DB_NAME of standby database. I used DBNEWID utility
    %> nid TARGET=SYS DBNAME=newname SETNAME=YES
    It generated the error like this
    NID-00133: Database should have only consistent datafiles
    Change of database name failed during validation - database is intact
    Many datafiles even system datafiles are not consistent. I shutdown DB and startup mount again and tried again. It all failed with the same errors. I searched solutions on Oracle Support web and other twchincal web and couldn't find
    answers. Please help me to get the solutions. Thanks.

    Thank each of you so much for your inputs.
    Yes, based on oracle document, primary and standby shouid use the same name. But they can have different db_unique_name or instance_name. I created standby by using Grid Control. It automatically assign the same DB_NAME.
    I modified db_unique_name. However, our PeopleSoft admin needs to connect to two databases to do testing. PeopleSoft version only support the different DB Name and DB Name cannot be over 8 characters. This is why I tried to
    change DB_NAME to meet PeopleSoft Admin's requirement. I think, in the real world for data guard configuration, primary and standby should have the same db_name.

  • Fusion Apps web service call fails with error access denied (oracle.wsm.security.WSFunctionPermission)

    Hello Guru,
    I am trying to call a supplier service from SOA/OSB.
    But while calling the service it is failing with the below error message
    access denied (oracle.wsm.security.WSFunctionPermission http://xmlns.oracle.com/apps/prc/poz/suppliers/supplierService/SupplierService#getSupplierVO invoke)
    As per OER cookbook i have attached the "oracle/wss_username_token_client_policy" to the Fusion  apps web service.
    I am trying to pass security credentials to the service by using all the methods... through composite ..through bpel through wsse header but in all cases i am getting similar error.
    Please let me know if some one has called the fusion apps web service to create a supplier of solution to my problem  as mentioned above.

    Hi Sai,
        Thanks for the quick and correct response. Yes, after doing the research, I'm also came to same conclusion. But what stops me here is that where exactly I need to check for this permission.
    I mean the theory what I built on this Authorization/Permission is that:
       For the resource - WebService (SupplierService), there is an assigned application role for which the Entitlement/Permission is provided.
    Pls. help me in the below items:
    a. What is the application role(in role hierarchy) assigned to this resource(Webservice). Which page I need to check(navigation) this and the required credentials..
    b. What is the Entitlement provided for this application role for this operation (getSupplierVO) invoke.. Which page I need to check(navigation) this and the required credentials..
    Thanks in Advance.
    Thanks & Regards
    Madhu

  • FusionApps web service call fails with error access denied (oracle.wsm.security.WSFunctionPermission)

    Hi Gurus,
    I started test this webservice from EM (Test Web Service)
    But while calling the service it is failing with the below error message
    access denied (oracle.wsm.security.WSFunctionPermission http://xmlns.oracle.com/apps/prc/poz/suppliers/supplierService/SupplierService#getSupplierVO invoke)
    As per OER cookbook i have attached the "oracle/wss_username_token_client_policy" to the Fusion  apps web service.
    I am trying to pass security credentials to the service by using all the methods... through composite ..through bpel through wsse header but in all cases i am getting similar error.
    Please let me know if some one has called the fusion apps web service to create a supplier of solution to my problem  as mentioned above.
    Is it any policy error or the authorization error ...
    Are there any navigation steps I can check the existed permission on this resource etc..,
    Thanks in Advance

    Hi Sai,
        Thanks for the quick and correct response. Yes, after doing the research, I'm also came to same conclusion. But what stops me here is that where exactly I need to check for this permission.
    I mean the theory what I built on this Authorization/Permission is that:
       For the resource - WebService (SupplierService), there is an assigned application role for which the Entitlement/Permission is provided.
    Pls. help me in the below items:
    a. What is the application role(in role hierarchy) assigned to this resource(Webservice). Which page I need to check(navigation) this and the required credentials..
    b. What is the Entitlement provided for this application role for this operation (getSupplierVO) invoke.. Which page I need to check(navigation) this and the required credentials..
    Thanks in Advance.
    Thanks & Regards
    Madhu

  • How to connect with Microsoft Access Database with JAVA

    I want to know the command and query to connect between MSAccess and JDBC.
    Is it beter way to make connection with MSAccess comparing with other Databases such as SQL and Oracle.
    Which Database will be the best with Java?
    I also want to know to be platform indepadent which database is suitable?

    On Windows, you can use MS Access database by:
    Set up a System Data Source using the ODBC control panel applet.
    Use the jdbc:odbc bridge JDBC driver, and specify a jdbc url that points to the data source name you just specified.
    It's been too long since I've done this, so I don't remember the syntax of the jdbc url, but I'm sure that if you do a search for the jdbc:odbc bridge that you will find what you are looking for.
    As far as the question about which database is best, you will need to determine that based on your project requirements.
    If you want a quick and dirty, open source, cross-platform database, take a look at HyperSonic SQL.
    - K

  • How to connect oracle with ms access database

    Dear
    We are on release r12, right now we have requirement to connect oracle database with ms access to get some information. We have found gateway(Heterogeneous services) using ODBC, but at the database side where is installed oracle r12 there is no installed ms access software becuse of linux operating system, so how could it will connect ms access because without installing ms-access we are unable to find ms ODBC gateway in ODBC driver under the control panel.
    Can any body guide me how could achieve this
    Edited by: oracle0282 on Sep 21, 2011 12:47 AM

    If I understand you correctly you want to access Oracle on Linux from MS-Access (possible on Windows only). You need neither a gateway nor Heterogeneous Services, but an Oracle client including ODBC driver (Instant client with ODBC driver is enough) on the Windows machine.
    Configure the ODBC driver with the connect informations to the Oracle server.
    Werner

  • I want to connect an applet with an access database

    I want to connect an applet with an access(*.mdb) database, how I do?
    I now the jdbc odbc bridge but how work it?
    Please Help me!!!!!!!!!!

    If you want access database please install IDSSERVER and import j102.sql.*;
    Example:
    import java.awt.*;
    import java.io.*;
    import j102.sql.*;
    public class AccessMdb extends Applets {
    Connection con;
    ResultSet rs;
    Statement stmt;
    IDSDriver drv;
    String _url ="jdbc:ids://localhost:your port /conn?dsn="your database"";
    // make connection to database
    drv = new j102.sql.IDSDriver();
    try{
    con = drv.connect(_url,null);
    stmt = con.createStatement();
    // query database
    stmt.executeQuery("your SQL statement");
    }catch(Exception ex){
    System.out.println(ex.getMessage());
    Good luck.

Maybe you are looking for

  • DNS GUI and MX Records

    I am setting up a new leopard server to do DNS for us and am not finding the GUI to that easy. 1 thing I need to do is setup some MX records for mydomain.com. In the old zone file, the record looks like this: mydoman.com in mx 10 mail.mydomain.com. s

  • S3750t no video from S-video?

    I have a brand new s3750t. i currently have hooked up to new plasma tv via HDMI cable. however intended use for an older tv that only has composite or s-video input. unfortunately i can't get it to work? I've tried on 3 different tvs (including the n

  • Solaris 8/9 Containers on SXCE?

    Do containers work on SXCE snv_130? I've added the pkgs, from the Solaris 10 DVD, along with 1.0.1 release in downloads, but although I can do a 'create -t SUNWsolaris9' and set up the zone, when I verify it I get 'Unknown Brand'. Have I done this th

  • Trial Balence amount is different with query of JDT1 amount

    Hi all,   I try to get summary from JDT1 for a period, but I find the debit amount is different with Trial Balance. does anybody knows what's happen ? please help. the queries is this : SELECT  sum(T1.[Debit]), sum(T1.[Credit]) FROM OJDT T0  INNER JO

  • User Roles in XI

    Hi, I would like to restricted my users to access some objects in IR so, i tryed  with the follwoing blog but, /people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects when i click the change button in the repositor