CRVS2010 Beta - Database login fails after setting select formula

I am working through how to call the report and have it print programatically.  I was able to get it to print with the saved data, but as soon as i add a recordSelectionFormula to it, it fails saying the login is incorrect.  I have searched the forums and tried the different resolutions some people have used, but it still fails for me.  What about the select formula would cause this issue?  below is the code i am using.  Please let me know what I am missing, thank you.
            ReportDocument crDoc = new ReportDocument();
            crDoc.Load("c:
shipmgmt
reports
PackingSlip.rpt");
            crDoc.SetDatabaseLogon("user", "password", "localhost", "shipmgmt");
            crDoc.RecordSelectionFormula = "{ld_mstr.ldm_nbr} = \"13994\" AND {ld_mstr.ldm_ord} = \"665527\"";
            Object sfVal = new Object();
            sfVal = "R&S COLUMBIA";
            Object prncases = new Object();
            prncases = false;
            crDoc.SetParameterValue("shipFrom", sfVal);
            crDoc.SetParameterValue("prnCases", prncases);
            crDoc.PrintOptions.PrinterName = "
wc-printserver
wccsr";
            crDoc.PrintToPrinter( 1, false, 0, 0 );
            crDoc.Dispose();

Hello,
Copy the record selection formula from the Designer and paste that into your code, then use a report without the record selection formula saved in it and test again.
Next step is what database and driver are you using? Joinbuilder registry keys were for old legacy drivers. This may be an issue with the driver configuration.
ALSO, don't use "localhost" as your Server name or DSN name etc. Try replacing it with the actual DB server/machine name:
crDoc.SetDatabaseLogon("user", "password", "localhost", "shipmgmt");
Thanks again
Don

Similar Messages

  • Database login failed after upgrade to VS 2008

    I am having trouble with one of my reports after upgrading a project from VS 2005 to VS 2008. All reports work fine except for one. The one that doesn't work has a subreport and I am assuming that the subreport is the cause of the problem.
    My configuration is  - using Crystal Reports Professional XI  (11.5.8.826)
    The web server has Crystal reports server install, but I know very little about it. When I installed it, I had so much trouble configuring it, I don't know what it is that I finally got to work on the server. I think I ended up installing one of the runtimes a while back to get it working.
    When I upgraded my project, I simply opened the project in VS 2008, set the target as .net 3.5, built it and everything works except for this one report.
    Can someone please tell me what I need to install, or change on the server to make this work properly?
    Is there a way that I can determine how my reports are being served up? As I said, I'm not very familiar with the CR server and I had a lot of trouble with it when I did the initial configuration.
    Thanks

    Thanks for the reply. I got the upgrade complete, but I am still getting the database logon error.  I am using Visual Studio 2008, C#, Crystal Reports 2008 (dll version 12.0.2), Sql Server 2000. All of my reports work fine except for this one. The difference in this one is that it has a subreport. The report and subreport are using stored procedures. I have tried using the sa account to login to them. They login to two different databases on the same database server.
    Here is the code that I am using to login to the database.
    public enum ReportDatabase{MGA, Brokers, Intranet, TimeClock };
            public void SetDBLogonForTables(Tables tables, ReportDatabase database)
                string _userid = string.Empty;
                string _password = string.Empty;
                switch (database)
                    case ReportDatabase.MGA:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.Brokers:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.Intranet:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.TimeClock:
                        _userid = "abc";
                        _password = "123";
                        break;
                ConnectionInfo _connection = new ConnectionInfo();
                _connection.ServerName = "123.123.123.212";
                _connection.DatabaseName = database.ToString();
                _connection.UserID = _userid;
                _connection.Password = _password;
                foreach (Table table in tables)
                    TableLogOnInfo _logoninfo = table.LogOnInfo;
                    _logoninfo.ConnectionInfo = _connection;
                    table.ApplyLogOnInfo(_logoninfo);

  • Crystal reports "Database login failed" when using push method

    I have a web application (ASP.NET, .NET v3.5), that pushes data to a CR 2008 report. On two servers one of the three reports returns a "Database login failed" error. I am stumped since there is no login, it's push not pull; in addition the problem is hard to debug since it works fine from my developers workstation. I have "updated" the xsd in that report, reinstalled the app, etc., non of which helped. If anyone has a solution or even ideas I'd appreciate the help.

    What about following the troubleshooting steps as described in the blog;
    Create an XML file off of your dataset. Make sure this is done just before you set the dataset to the report:
                rpt.Load(rptPath)
    myDataset.WriteXml(xmlPath, XmlWriteMode.WriteSchema)
    rpt.SetDataSource(myDataset)
    Copy the above created XML to your development system
    Open the problem report in the Crystal Reports designer
    In the Desigger, go to the Database menu and select u201CSet Datasource Locationu201D
    In the u201CReplace with:u201D pane, expand the u201CCreate New Connectionu201D folder.
    Double click the u201CADO .NET (XML)u201D icon
    Browse to the location of the XML file you created in step (1)
    Click on the path to the XML. The <Update> button should enable
    Click on the <Update> button
    Typically, either of the following will happen:
    You will get a u201CMap Fieldsu201D dialog. This indicates that the XML written off of your dataset does not match what the report is expecting. This may be due to incorrect fields name, incorrect field type, etc. You will now need eliminate the difference.
    Incorrect data or no data. There is an issue with your dataset and you need to determine why the data is not present in your dataset. Looking at the XML may be a good place to start.
    Ludek

  • CR XI R2 "Database Login Failed" Recycled application pool and now it works

    Hello,
    I have a web application using CR XI R2 that has several reports which are pushed a dataset.  These reports have been runing fine until today when I received an error stating "Database login failed."  "Object reference not set to an instance of an object" in the report viewer control. 
    I recycled the application pool and the reports started working again. 
    My questions are:
    What could be the cause of this and how can it be avoided?
    Why does recycling the application pool correct the problem?
    Regards.

    Hi Tom,
    Recycling keeps problematic applications running smoothly, especially when it is not feasible to modify the application code. Recycling helps ensure that problematic applications do not cause other applications to fail, and that system resources can be recovered from unhealthy applications.
    Recycling an application pool causes the WWW service to shut down all running worker processes that are serving the application pool, and then start new worker processes. Whether the WWW service starts the new worker processes before it stops the existing one depends on the DisallowOverlappingRotation property in the metabase. Recycling an application pool does not alter any state in HTTP.sys or change any configuration in the metabase.
    Note:
    When an application pool is serviced by more than one worker process, the recycle operation is staggered in some scenarios. Only when a worker process is recycled on demand or when all of the worker processes hit their memory limits at the same time would they be restarted simultaneously.
    For more info regarding this have a look to this [article|http://blogs.msdn.com/david.wang/archive/2006/01/26/Thoughts-on-Application-Pool-Recycling-and-Application-Availability.aspx]
    Regards,
    Shweta

  • Database initialization failed after attach the database.

    Hello Everyone,
    I have a problem after detaching the database and attaching it again (I moved the database to another partition because of shortage of disk space). Then, I find that the system can not start. (I've two systems and now neither of them could start). The error seems very similar.
    In the pure java system(netweaver 04s) log: jvm_bootstrap.out,
    com.sap.engine.bootstrap.synchronizationException: Database Initializtion Failed! Check database properties.
    com.sap.engine.frame.core.configuration.configurationException: Error while connecting to DB.
    Caused by: java.sql.SQLException: [NWMss] [SQLServer JDBC Driver] [SQLServer] Login failed for user 'SAPBP0DB'.
    In pure ABAP system(Netweaver 04s) log: dev_w12:
    openoledbConnection: MARS property was not set.
    openoledbConnection: line 23722. hr: 0x8000ffff login failed for user 'CNDT50083414\SAPServiceBE0'.
    sloledb.cpp [openoledbConnection, line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    sloledb.cpp [openoledbConnection, line 23722]: Error/Message: (err 0, sev 0), Invalid string connection attribute.
    Is this because the DB not started? In Windows Services, I found 'MSSQLServer' is started.
    How can I trace down to this problem? I don't have much idea on DB...
    All your kindly help is greatly appreciated.
    Best Regards,

    Hi Karan,
    Thank you for your reply. I attach the dev_w0 file here:
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Tue Sep 23 13:16:15 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' ...
    B  Library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' loaded
    B  Version of 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' is "700.08", patchlevel (0.158)
    B  New connection 0 created
    M sysno      02
    M sid        BE0
    M systemid   562 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    159
    M intno      20050900
    M make:      multithreaded, Unicode, 64 bit, optimized
    M pid        1704
    M
    M  kernel runs with dp version 237000(ext=110000) (@(#) DPLIB-INT-VERSION-237000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1704) [dpxxdisp.c   1316]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          21008     (1616)
    M  DpShMCreate: sizeof(tm_adm)          5912624     (29416)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    M  DpShMCreate: sizeof(comm_adm)          552080     (1088)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (104)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1864)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 0000000011080050, size: 6604928)
    M  DpShMCreate: allocated sys_adm at 0000000011080050
    M  DpShMCreate: allocated wp_adm at 0000000011082150
    M  DpShMCreate: allocated tm_adm_list at 0000000011087360
    M  DpShMCreate: allocated tm_adm at 00000000110873C0
    M  DpShMCreate: allocated wp_ca_adm at 000000001162ABF0
    M  DpShMCreate: allocated appc_ca_adm at 00000000116309B0
    M  DpShMCreate: allocated comm_adm at 00000000116328F0
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 00000000116B9580
    M  DpShMCreate: allocated gw_adm at 00000000116B9600
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 00000000116B9630
    M  DpShMCreate: allocated wall_adm at 00000000116B9640
    M  rdisp/queue_size_check_value :  -> off
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host CNDT50083414

    M Tue Sep 23 13:16:16 2008
    M  calling db_connect ...
    C  Thread ID:6104
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      158
    C    patchcomment Corrections of odbc-based dbsl: dsql: optype, DSN (1135165)
    C  np:(local) connection used on CNDT50083414
    C  CopyLocalParameters: dbuser is 'be0'

    C Tue Sep 23 13:16:17 2008
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: MARS property was not set.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn to np:(local).
    C  Retrying without protocol specifier: (local)
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn. 0
    B  ***LOG BY2=> sql error -1     performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> Login failed for user 'CNDT50083414\SAPServiceBE0'. [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error -1     performing CON [dblink#5 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> Login failed for user 'CNDT50083414\SAPServiceBE0'. [dblink#5 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1440]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10504]

    M  Info for wp 0

    M    pid = 1704
    M    severity = 0
    M    status = 0
    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server CNDT50083414_BE0_02 on host CNDT50083414 (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Tue Sep 23 13:16:17 2008
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10724
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   724]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  261]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 1704) [dpnttool.c   333]

  • Database Logon Failed after first report

    I have a Windows Server 2003 x86 server running IIS6 and ASP.NET. On this server, I have two different web forms set up to export Crystal Reports to PDF.
    My problem is that only one of these reports can run. For example, I open report 1 and can then reopen (generate PDF of) report1 as many times as I want. I cannot open report 2 - I get a "Database Logon Failed" error message. If I restart the server, I can generate a PDF of report 2 successfully and as many times as I want but report 1 will get a "Database Logon Failed" error message.
    Has anyone seen this behavior before? My code is very concise and manually closes the report document (and forces the garbage collection to run) once the PDF has been generated. However, for some reason, the report is staying in memory and is trying to run again even though it has been closed. It is driving me crazy.
    Thanks in advance for any assistance you can offer.

    Let's get the server confusion out of the way.
    A "server" runtime install is an msi file called CrystalReports11_5_NET_2005.msi.
    The msi is in a download called Crystal Reports XI Release 2 - FP x.x .NET Server Install (where x.x refers to SP or FP version (e.g.; Crystal Reports XI Release 2 - FP 5.6 .NET Server Install)
    So, this gives you an easy way of installing the CR runtime on a server (e.g.. Win 2003 server). No CR server (RAS) implication here. To install the runtime, all you have to do is run the msi, provide the keycode when prompted and the runtime is installed. You should see the directory C:\Program Files\Business Objects\Common\3.5\bin created. No pretty interface, etc. If you want a pretty interface, you create your own setup project or msi using the CR msm files.
    Hopefully this clears up the "server" confusion.
    To the actual issue on hand.
    You say this works with older "Crystal Reports viewers" installed on a WIN 2003 64 bit server. My question is; does this CR XI r2 based app work anywhere? Your dev box? Staging server?
    Ludek

  • SYSADMIN login failing after 12.0.6 upgrade

    Hi All,
    I had upgrade apps to 12.0.6 from 12.0.4 on HP UX . My SYSADMIN login is failing after this whereas other user logins are fine.
    Can someone give any clue on this.
    Thanks,
    Bharath.

    Hi,
    I had upgrade apps to 12.0.6 from 12.0.4 on HP UX . My SYSADMIN login is failing after this whereas other user logins are fine.
    Can someone give any clue on this.What is the error? Any details in Apache log files?
    Please verify that the SYSADMIN user is not end-dated. Also, change the password of the SYSADMIN user using FNDCPASS (or from the application) and see if you can login then.
    Note: 423274.1 - How To Change The Password For The SYSADMIN User
    Note: 437260.1 - How to Change Applications R12 Passwords using Applications Schema Password Change Utility (FNDCPASS)?
    Regards,
    Hussein

  • Database Login failed for SIDADM

    Hi,
    I've installed a Solman system & the system starts just fine (even post OS reboots), however the problem is that sidadm is unable to connect to the database.
    Administrator is able to connect just fine.
    r3trans also ends with the same login failed error:
    Login failed for user 'hostname\soladm'. [CLIENT: <local machine>]
    Error: 18456, Severity: 14, State: 11.
    I can't seem to find anything concrete on this.
    Pls. help.
    Thanks,
    Saba.

    Wowie:)
    Disable UAC did the trick !!!
    Thanks Markus n Sunil )

  • ZCC Login failed after Migration from 11.3.1 FRU1 to 11.3.2

    Hey,
    System: 6 Primary Server Sless 11 SP3
    LDAP: EDIR
    Primary: 11.3.2
    Sats: 11.3.1 FRU1
    After Migration from 11.3.1 FRU1 to 11.3.2
    i'll try to login in ZCC
    Message ZCC
    Error: Login Error: com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
    See the ZENworks Control Center log file (zcc.log) for the full stack trace.
    I tryed with default admin and see that the USERSource is not reachable.
    I take a look in the configuration / usersource and there is an Error like: Unable to read contexts. One or more of your connections don't support non-SSL.
    ZCC.log sayed
    [javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints] [] [com.novell.zenworks.datamodel.exceptions.InternalD ataModelException] [ZENServer]
    [DEBUG] [12/30/2014 09:54:02.417] [3547] [ZENServer] [72] [zenworks] [ZCC] [] [Form.java CSRF TOKEN:d1b804076c63e7393af1a72442ced4b5 for the PageId:authoritativeSourceDetails] [] [] [] [ZENServer]
    [DEBUG] [12/30/2014 09:54:03.144] [3547] [ZENServer] [85] [zenworks] [ZCC] [] [QuickTask build tasks called in createChildControls, normal flow before ajax] [] [] [] [ZENServer]
    [DEBUG] [12/30/2014 09:54:03.348] [3547] [ZENServer] [69] [zenworks] [ZCC] [] [com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
    at com.novell.zenworks.datamodel.services.Certificate ManagerImpl.getCertificates(CertificateManagerImpl .java:179)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. validateCertificateExpiry(LDAPUtil.java:1162)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:774)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:559)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:386)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:359)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:325)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:311)
    at com.novell.zenworks.core.web.internal.UserSourceSt atusAJAX.getImageData(UserSourceStatusAJAX.java:77 )
    at com.novell.web.ajax.ImageAJAX.service(ImageAJAX.ja va:38)
    at com.novell.web.ajax.AJAXDataHandler.service(AJAXDa taHandler.java:40)
    at com.novell.web.AjaxServlet.serviceImpl(AjaxServlet .java:100)
    at com.novell.web.AjaxServlet.service(AjaxServlet.jav a:74)
    at com.novell.zenworks.fw.web.internal.ZENworksAjaxSe rvlet.service(ZENworksAjaxServlet.java:47)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
    at com.patchlink.sapphire.web.pages.vulnerability.ses sion.HibernateSessionFilter.doFilter(HibernateSess ionFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:501)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:171)
    at com.googlecode.psiprobe.Tomcat70AgentValve.invoke( Tomcat70AgentValve.java:39)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:116)
    at com.novell.zenworks.tomcat.ZENRequestValve.invoke( ZENRequestValve.java:1346)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.p rocess(AbstractHttp11Processor.java:1070)
    at org.apache.coyote.AbstractProtocol$AbstractConnect ionHandler.process(AbstractProtocol.java:611)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProce ssor.run(JIoEndpoint.java:316)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$Wrapping Runnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
    at sun.security.ssl.Alerts.getSSLException(Alerts.jav a:192)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl .java:1884)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.jav a:276)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.jav a:270)
    at sun.security.ssl.ClientHandshaker.serverCertificat e(ClientHandshaker.java:1439)
    at sun.security.ssl.ClientHandshaker.processMessage(C lientHandshaker.java:209)
    at sun.security.ssl.Handshaker.processLoop(Handshaker .java:878)
    at sun.security.ssl.Handshaker.process_record(Handsha ker.java:814)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocke tImpl.java:1016)
    at sun.security.ssl.SSLSocketImpl.performInitialHands hake(SSLSocketImpl.java:1312)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLS ocketImpl.java:1339)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLS ocketImpl.java:1323)
    at com.novell.zenworks.security.certificates.Certific ateUtility.getCertChain(CertificateUtility.java:12 1)
    at com.novell.zenworks.datamodel.services.Certificate ManagerImpl.getCertificates(CertificateManagerImpl .java:175)
    ... 35 more
    Caused by: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
    at sun.security.ssl.AbstractTrustManagerWrapper.check AlgorithmConstraints(SSLContextImpl.java:946)
    at sun.security.ssl.AbstractTrustManagerWrapper.check AdditionalTrust(SSLContextImpl.java:872)
    at sun.security.ssl.AbstractTrustManagerWrapper.check ServerTrusted(SSLContextImpl.java:814)
    at sun.security.ssl.ClientHandshaker.serverCertificat e(ClientHandshaker.java:1421)
    SR has been created.
    Any Tipps /Hints for me ?
    Thank You

    Originally Posted by robpet
    Should have said kind of the same problem...
    That was sort of my gut feelings so I checked our certificates beforehand and they are using certs with sha1 fingerprint. But we are not using SSL - our connections are made using port 389. And the communication status is green.
    But I cannot add SSL because it complains about "unable to obtain a valid certificate for SSL communication information. Please verify that the adress and port are correct and that the LDAP directory has been configured with a valid certificate.
    So I cannot understand why users cannot authenticate with zenagent.
    There's a TID about zcc login failures after 11.3 upgrade.
    https://www.novell.com/support/kb/doc.php?id=7014716
    We ran into the above.

  • Setting selection formula in subreport

    Hi all,
    I hope there is a simple solution to this.
    I have a standard report, works great and now I need to add a subreport to the footer.  The new subreport is not linked to anything in the main report and shouldn't be.  I am using CrystalReportSource to pass parameters to the main report and the subreport and I set the selectionformula for the main report with this code and it works great:
            me.CrystalReportViewer1.SelectionFormula = mySelectionString
    I still need to set the selection formula for the subreport, but everything I have found says to setup a new instance of the report, get a reference for the subreport and set the recordselection formula. 
            MySubReport = MyReport.OpenSubreport("TerritorySalesRecap.rpt")
            MySubReport.RecordSelectionFormula = MySelectionString
    The code runs, be the selection formula does not get set.  Any ideas?

    SOLUTION!!! 
    I did have to use the report engine instead of the viewer, but there is a pretty easy way to do it if you search and wade through enough of the msdn documentation:
    Dim TerrRpt As TerritorySalesReport = New TerritorySalesReport
    ' set parameters in the main report
    TerrRpt.SetParameterValue("RptMonth", Month(Request.QueryString("id5")))
    TerrRpt.SetParameterValue("RptYear", Year(Request.QueryString("id5")))
    TerrRpt.SetParameterValue("SalesCompany", Request.QueryString("id3"))
    TerrRpt.SetParameterValue("RptMonthName", MonthName(Month(Request.QueryString("id5"))))
    TerrRpt.SetParameterValue("RptMonthNameAbbv", MonthName(Month(Request.QueryString("id5")), True))
    ' add parameter to subreport
    TerrRpt.SetParameterValue("RptMonth", Month(Request.QueryString("id5")), "TerritorySalesRecap.rpt")
    ' specify selection formula
    sql = "{Invoice.IVM_InvoiceType} in [0, 2] AND {@InvDate} in Date (" & date1 & ") to Date (" & date2 & _
            ") AND NOT {Invoice.IVM_ReversedFlag}"
    ' Add it to the main report
    TerrRpt.RecordSelectionFormula = sql
    ' and to the subreport
    TerrRpt.Subreports.Item("TerritorySalesRecap.rpt").RecordSelectionFormula = sql
    ' Lastly - bind the report
    Me.CrystalReportViewer1.ReportSource = TerrRpt

  • Database open fails after online backup recovery

    Hi Friends
    We are trying to set up an additional server using the online backup of our DEV server. We have been following SAP Note 549828 for the same. Having restored the online backup, the open database failed.
    To resolve the same, in accordance to SAP Note 549828, we created a backup control file with success using the command
    create controlfile reuse set database DEV resetlogs noarchivelog
    However on issuance of the command
    RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
    we run into an error as to
    ORA-00279: change 794638222 generated at 10/25/2007 12:43:20 needed for thread 1
    ORA-00289: suggestion : /oracle/DEV/oraarch/DEVarch1_9766.dbf
    ORA-00280: change 794638222 for thread 1 is in sequence #9766
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log '/oracle/DEV/oraarch/DEVarch1_9766.dbf'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/DEV/sapdata1/system_1/system.data1'
    We even manually copied the file system.data1 from the source to the target server but to no avail.
    Also the SQL command
    SELECT FILE#, CHANGE# FROM V$RECOVER_FILE
    displays a different change# for system.data1 while it is showing same number for all other datafiles.
    Please advice at the earliest as we are struck. Points awaiting their master.
    Regards
    Lokesh Gupta

    Some inputs addition to Erics comments
    The problem is you dont have archives ie Offline redo logfiles in correct location.
    /oracle/DEV/oraarch/DEVarch1_9766.dbf  Here DEVarch1_9766 is archive file which is misssing from location /oracle/DEV/oraarch. To recover DB you need Archives generated during hot backup.
    Generally these steps willl give you desired result.
    select * from v$logfile;
    We normally switch the log files to the number of log groups that exist
    alter system switch logfile;
    create a Backup directory to hold our hot back datafiles and Archives
    When the backup is complete check the backup location to see if all the files are available. We could now either FTP the same to the other system or copy over these files to another location in case of cloning on the same system.
    Copy over all the files to their respective filesystems and directories and then edit the file that was created using the backup controlfile to trace. Copy that file to the remote system and edit it accordingly.
    check that all the files are in the right location and edit that information in the control file
    Once the controlfile is run successfully and you get the statement processed, we can start applying the archive logs that we have moved to the archive log destination directory as per the init<sid>.ora file.
    do a recover of the database to its consistent state
    recover database using backup controlfile until cancel;
    The create control file command only changes the structure of the database and the SID name, the header of the datafiles still hold all the required information. The above command would ask you to input the archive log file names one by one to do recovery or you could choose the AUTO option. Once the recovery process is complete, open the database with the resetlogs option
    Regards
    Vinod

  • Tran log backup fail after setting a DB offline

    This is strange.  SQL 2005 SP3 (build 4340).  Full backup job and tran log backup job are separate maint plans/Agent jobs as opposed to multiple steps in one maint plan (don't ask me... I didn't set it up that way.)
    I set a database XYZ offline last night at around 9pm.  It was last backed up at 8pm (full recovery mode).  My tran log backup started failing then.  This morning, I detached the database.  Tran log backup job still failing. 
    I finally realized it had something to do with database XYZ so I re-attached it.  Tran log backup working now.  The weird thing is that XYZ had not been selected only specific databases, and the detached database isn't selected.  I
    tried setting to simple recovery mode and doing a final full backup before detaching, but tran log job still fails.  How can I get rid of database XYZ without the tran job failing?  Thanks.

    I have encountered this problem. I concur with EA. But you would need to modify the maintenance plan and save it (uncheck and check a database again) to rectify the problem (if you just open the maintenance plan and save it, it will still fail)
    Satish Kartan http://www.sqlfood.com/

  • 10g RAC database: instances fail after a few days...

    Im afraid I'm new to Oracle, so assume total ignorance when replying!
    We have two servers, db1 and db2 running Oracle under Windows 2K3 web edition [SP1].
    Both have a shared Direct Attached Storage disk, over a Scsi fibre connection.
    The database is set up using instructions found online for RAC.
    Either instance will stop, and the other will take over, after a few days. The problem is, we aren't using the database yet. [There isn't a problem with it, the development people have checked that they can use the database.]
    The two errors [found using the EM console] which seem to be relevant are:
    'Metrics "Database Time Spent Waiting (%)" is at 100 for event class "other"'
    and 'Failed to connect to database instance ... TNS no listener'.
    [Which is obvioulsly the failure]
    I have scoured the web, and the rather dense reference books for Oracle I have access to, and to no avail.
    Another contributing factor is the 'WMI Performance Adaptor' stops and starts on both machines every thirty seconds.
    Any response/guidlines/advise would be greatly appreciated.
    Apologies if I have started this thread in the wrong place!
    James
    Spelling errors - Message was edited by: jmorse

    Tada, it failed at 4am last night.
    Below is the bottom half of the log file.
    2005-09-05 15:27:57.796: Attempting to start `ora.gandlake-db2.ASM2.asm` on member `gandlake-db2`
    2005-09-05 15:28:04.703: Start of `ora.gandlake-db2.ASM2.asm` on member `gandlake-db2` succeeded.
    2005-09-05 15:28:04.921: Attempting to start `ora.x200.x2002.inst` on member `gandlake-db2`
    2005-09-05 15:28:33.359: Start of `ora.x200.x2002.inst` on member `gandlake-db2` succeeded.
    2005-09-05 15:28:40.578: Start of `ora.x200.x2001.inst` on member `gandlake-db1` succeeded.
    2005-09-05 15:28:40.609: CRS Daemon Started.
    2005-09-05 15:28:41.140: Attempting to start >`ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1`
    2005-09-05 15:30:06.078: Start of `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1` succeeded.
    `ora.gandlake-db1.vip` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-06 19:48:35.703: Attempting to stop `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-06 19:48:36.250: Stop of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    Restarting `ora.gandlake-db1.vip` on `gandlake-db1`
    2005-09-06 19:48:36.312: Attempting to start `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-06 19:48:38.843: Start of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    Successfully restarted `ora.gandlake-db1.vip` on `gandlake-db1`
    `ora.gandlake-db1.ons` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-06 22:59:36.875: Attempting to stop `ora.gandlake-db1.ons` on member `gandlake-db1`
    2005-09-06 22:59:38.218: Stop of `ora.gandlake-db1.ons` on member `gandlake-db1` succeeded.
    Restarting `ora.gandlake-db1.ons` on `gandlake-db1`
    2005-09-06 22:59:38.296: Attempting to start `ora.gandlake-db1.ons` on member `gandlake-db1`
    2005-09-06 22:59:40.109: Start of `ora.gandlake-db1.ons` on member `gandlake-db1` succeeded.
    Successfully restarted `ora.gandlake-db1.ons` on `gandlake-db1`
    `ora.gandlake-db1.vip` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-08 04:47:35.078: Attempting to stop `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-08 04:47:35.734: Stop of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    `ora.gandlake-db1.vip` ran out of restarts on `gandlake-db1`
    `ora.gandlake-db1.vip` failed on `gandlake-db1`, relocating.
    2005-09-08 04:47:35.875: Attempting to stop `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1`
    2005-09-08 04:47:36.718: Stop of `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:36.765: Attempting to stop `ora.gandlake-db1.ASM1.asm` on member `gandlake-db1`
    2005-09-08 04:47:37.390: [RUNNABLELISTENER:4648] state change aborted (locked): ora.x200.x2001.inst
    2005-09-08 04:47:44.578: Stop of `ora.gandlake-db1.ASM1.asm` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:44.625: Attempting to stop `ora.x200.x2001.inst` on member `gandlake-db1`
    2005-09-08 04:47:46.531: Stop of `ora.x200.x2001.inst` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:46.625: Attempting to start `ora.gandlake-db1.vip` on member `gandlake-db2`
    2005-09-08 04:47:50.203: Start of `ora.gandlake-db1.vip` on member `gandlake-db2` succeeded.x200 is the name of the database, there are two instances in total, db1 and db2. The company name is 'gandlake', and the machines are called 'gandlake-db1' and 'gandlake-db2'.
    Thanks again.

  • "Login failed" after changing administrative user-password.

    Hello,
    we are administering 20 MacBook Pro (Pupil´s PCs) via Remote Desktop on the 21st MacBook Pro (Teacher´s PC).
    On all pupil´s notebooks there are 2 Accounts: pupil = protected via Apple child-proof-lock and teacher = administrative account with all access rights.
    Now the teacher´s password for all 20 pupil´s notebooks leaked . We have set a new teacher-password on all 20 pupil´s notebook - the pupils account did not get a new password.
    But now we can´t connect form the administrative Remote Desktop Console on the 21st teacher´s notebook to the pupil´s notebook anymore. An error message appears: "The login at PC-Name failed." ... and we can´t find a way to set the new administrative password for the 20 pupil´s notebooks in Remote Desktop Console. When we change the passwords for the administrative teacher-accounts on the 20 pupil´s notebooks back to the old (leaked) one, the remote desktop function is working.
    The next problem is, that we can´t change the main Remote Desktop Password on the teacher´s notebook, because nobody knows theses password. It was saved in the keystore (bunch of keys = "Schlüsselbund" in german!) - so we can login to the console without typing it in. But when we try to change the Remote Desktop password, we have to give the "forgotten" password!
    We are using Remote Desktop V3.5.3 464.3 - unlimited license.
    Every help is very welcome...
    Regards from Germany,
    Goldi2005

    If I understand correctly, the machines have a new password, but ARD has the old one?
    Assuming they are all the same account name and password, you can select all of the machines in the ARD list, do a Get Info (Cmd-I) and, under the Attributes tab, change the password for all 20 machines.

  • Login fails after turning off FileVault2

    Running an updated OS X 10.7 Lion on a MacBook pro.
    I've turned off FileVault, so that I can turn it on with a better password.
    I restared the laptop, but cannot login.
    I also recently just changed the password for my account, but I'm confident that I know the new (and the old) password.
    Also, I notice that the password box shakes more vigerously after entering certain passwords than others. Does that convey any information?
    Must the disk be decrypted before I can login?
    Thanks
    Arthur

    Thanks for your reply. No, my drive, for some reason, stays as corestorage volume. It does say - when I type in diskutil cs list into terminal - in the logical volume section 'Revertible: No', but I reinstalled mac OS X, ran diskutil cs convert 'Macintosh HD' and then enabled filevault 2 after that with the sudo fdesetup enable command but not through the GUI (system prefs>privacy>filevault2. )I ran diskutil cs list and it sais 'Revertible: Yes (unlock and decryption required)'.  If i wanted to turn off filevault, i ran the command diskutil cs revert 'Macintosh HD' and it would decrypt the volume and return my disk to its native types (not a corestorage volume but a disk)

Maybe you are looking for