Reports constantly fail with Not Authorized Error

I have been using version of ARD for years now - and overall I love it. BUT-there's always a but - the reporting component has me at about the end of my last nerve. A couple of times a year I need to run diferent reports for inventory and planning purposes - and every year the reports fail over and over again with no real explanation and never any solution. All the computers on my network are running the latest version of the client and I always keep the Admin server up to date. All I can do is delete all the computers - restart - re-add them - change their report upload schedule- and repeat 10 times until they finally work. Has anyone else ever come across a solution that actually works for this.

Well I use to some times enoucnter an issue when reporting would fail. When I did, I would select the computer records that had the error. I would then get info on those effected computer record. I would change the reporting time/day of the week to a few minutes from the current time/day of the week. I would also make sure that the IP address i'm currently at is listed as the ARD server to report to in the computer record.
I would then wait a few minutes past the set reporting time, before trying to run a report.
What I did to fix this issue long tearm.
make sure the clients are set allow ARD reporitng
set ARD computer to have a static IP. (that way when the clients try to report in, they're reporting to the right computer)
set ARD computer to never sleep, leave ARD open. (at least for date/times a client  computer ould call in to report)
for desktops, auto turn on/wakeup/boot on the day of the week they should report in. On the clients energy saver set so the computers wouldn't sleep for at least 30 minutes. set reporting on those client to be about 20 minutes after the computer boot/wakes/starts up.
for laptops set reporting to happen at a time/day of the week client computer will most likely going to be on & connected to your network.
Depending on how many computers you have you may want to spread your reportings out.

Similar Messages

  • Old Purchases not syncing with Not Authorized Errors

    Help --
    I have had an iOS device and iTunes for over 7 years and have made a number of purchases.  This was working fine up until this week.  Only change was I deleted an old user account from a family member from the MBP.  iTunes will not allow me to sync any of my purchases prior to August of last year and gives me a Not Authorized Error.  I completely repaved my 4s and still have the problem.  Similar errors when attempting to play on Apple TV (home sharing is enabled and works for all the content but this same group of purchased songs).  I did the basics of authorizing and deauthorizing, yada yada.
    Here is a screen shot that I get while syncing.
    Called Apple support and they gave me the run around saying I'd used two differnt Apple ID's. The MBP has a different Apple ID but iTunes and my iPhone are all under the same ID, the same ID I have used for all my purchases. 
    Details.
    MBP running OS X 10.8.2
    iTunes 11.
    iPhone 4s running 6.1.2.
    Apple TV

    Hi weotch2,
    If you are looking to set up syncing on your new Mac, you may find the following article helpful:
    iOS: Syncing your data with iTunes
    http://support.apple.com/kb/ht1386
    Regards,
    - Brenden

  • Report preview fails with very generic error

    I am working on a project that includes an SSRS project within a Visual Studio 2012 solution. The SSRS project was created in VS2008 and then brought into the VS2012 solution later. The other developer is able to preview reports just fine, but I can't.
    I believe I have installed all the necessary supporting software (Sql Server Data Tools, etc.)
    I am able to create and view reports in the designer, and I can even query data through the dataset. However, when I try to preview the report, I get a very unhelpful error:
    "An error occurred during local report processing. An error has occurred during report processing."
    All of the other forum messages I have found that have run into this error also have some further explanation of the error. I just get this, which leaves me with two questions:
    1) Has anyone seen this and managed to resolve it? If so, how?
    2) Is there somewhere else I can look, a log or something, to tell me what the error actually is?
    Thanks in advance,
    Geoffrey Callaghan

    Hi Geoffrey,
    If I understand correctly, you have meet this issue when you try to preview the report in SQL Server Data Tools.
    Based on the error message, it may be the report design incorrect caused this issue. As you mentioned, in general, it will have other information after the error message. Please make sure if there are any other information. We can create a simple report
    to check if also meet the same issue to judge if we have installed software correctly. If possible, please try to recreate the report to troubleshooting the issue.
    If the issue still persist, could you please post the dataset with data and .rdl file to us by the following E-mail address? It is benefit for us to do further analysis.
    E-mail:  [email protected]
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • [Execute SQL Task] Error: Executing the query "DECLARE_@XMLA nvarchar(3000) ,__@DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,

    Hi
    DECLARE @XMLA nvarchar(3000)
    , @DateSerial nvarchar(35);
    -- Change date to format YYYYMMDDHHMMSS
    SET @DateSerial = CAST(GETDATE() AS DATE);
    --SELECT @DateSerial
    Set @XMLA = 
    N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
     <ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
    xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
    xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
    <KeyErrorLimit>-1</KeyErrorLimit>
    <KeyNotFound>IgnoreError</KeyNotFound>
    <NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
     </ErrorConfiguration>
     <Parallel>
    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
    xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
    xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
     <Object>
     <DatabaseID>MultidimensionalProject5</DatabaseID>
     <CubeID>giri</CubeID>
     <MeasureGroupID>Fact Internet Sales</MeasureGroupID>
     </Object>
     <Type>ProcessFull</Type>
     <WriteBackTableCreation>UseExisting</WriteBackTableCreation>
     </Process>
      </Parallel>
    </Batch>';
    EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
     iam executive the    query when iam getting below error.
      [Execute SQL Task] Error: Executing the query "DECLARE
    @XMLA nvarchar(3000)
    , @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
    correctly, or connection not established correctly. 
     how to solve this error;
     please help me

    What are you trying to do? What sort of data source is  SHALL-PCAdventureWorksDw?
    When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
    If you explain why you think this would work in the first place, maybe we can help you.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Windows 8 USB recovery fails with CTOERROR.flg error

    Windows 8 recovery using HP supplied USB recovery device failed with CTOERROR.flg error.
    [22:53:29.29] ChkErrBB.CMD : Detect some error during PININST_BBV.
    [22:53:29.31] ChkErrBB.CMD : Check c:\system.sav\logs\BurnBootWarn.log
    [22:53:29.31] ChkErrBB.CMD : or, check c:\system.sav\logs\BurnBootMerge.log
    I have tried all the scenarios which are described in this forum but no success.
    Can anyone suggest to which date should i reset the BIOS or anyother workarounds??
    I have run diagnostic tests on Memory and Disks and both are fine.
    * There is a big problem with the HP recovery manager which fails to recover windows. Many have reported in this forum and other forums....but HP has failed to attend this issue and fix the problem in their recovery manger or atleast show a workaround to restore the windows.
    My laptop was drastically slow after the reinstall from the HP support.....and now when i decided to reset and recover the windows.....it fails. Unfortunately my laptop is out of warranty.
    This is pushing me away from any HP and will never ever buy or recommend anyone to buy a HP product.
    History about previous issue with this laptop:
    Order # BDRN598901
    Order # BDTP356101
    * I had an issue with the HP recovery manager in creating recovery disc. I did contact the HP support as my warranty was still in place. They took my laptop and reinstalled the OS and sent it back to me. 
    Even after that i could not create a recovery disk and they send me a USB recovery device. 
    Service Order Product Service Event Order Status Estimated Delivery Date *MM/DD/YYYY Track this Shipment
    BDTP356101 USB - WINDOWS 8 64B RECOVERY KIT SW FULFILLMENT POSTAL DELIVERY GROUND Shipped 05/05/2014 POSTAL SERVICE (STANDARD)
    Service Order Product Service Event Order Status Estimated Delivery Date *MM/DD/YYYY Track this Shipment BDRN598901 HP ENVY 4-1115DX TouchSmart Ultrabook BOX PLUS PICKUP & REPAIR, 2 DAY SHIPPING Shipped 04/30/2014 FED-EX NEXT DAY (AFTERNOON)
    Thanks,
    KB29

    Set the date in BIOS to 1/02/2012. Save & Exit. Boot with Recovery, let it run through the process- but on the first reboot initiated by recovery enter BIOS again to insure date is still set to 2012. If not change it again, then let recovery resume.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Active Directory Certificate Services setup failed with the following error: Overlapped I/O operation is in progress. 0x800703e5 (WIN32: 997)

    Hi,
    I am trying to install certificate services on a windows 2008 server (R2 ENT SP1) with a PCIe nCipher HSM module installed on it. The version of nCipher SW is = 11.30.  It is a RootCA, and I am trying to use a key that is already stored in the HSM (I
    have done this before with a PCI HSM (older HW version)).  I select “Use existing private key” and “Select an existing private key on this computer” on the wizard, then i change the CSP to nCipher and click on "search" the key I am looking for
    appears and I select that one.  I repeat, I have done this before and it works with a PCI HSM module.
    The installation is finished before being prompted to insert the operator cards, and it ends with two errors:
    <Error>: Active Directory Certificate Services setup failed with the following error: Overlapped I/O operation is in progress. 0x800703e5 (WIN32: 997)
    And:
    <Error>: Active Directory Certificate Services setup failed with the following error: The group or resource is not in the correct state to perform the requested operation.
    0x8007139f (WIN32: 5023)
    The servermanager.log says:
    1856: 2014-07-23 18:27:48.195 [CAManager]                 Sync: Validity period units: Years
    1856: 2014-07-23 18:27:48.928 [Provider] Error (Id=0) System.Runtime.InteropServices.COMException (0x800703E5): CCertSrvSetup::Install: Overlapped I/O operation is in progress. 0x800703e5 (WIN32: 997)
       at Microsoft.CertificateServices.Setup.Interop.CCertSrvSetupClass.Install()
       at Microsoft.Windows.ServerManager.CertificateServer.CertificateServerRoleProvider.Configure(InstallableFeatureInformation featureInfo, DiscoveryResult discoveryResult, ChangeTracker changeTracker)
    1856: 2014-07-23 18:27:48.928 [Provider]                  CAErrorID: 0, CAErrorString: 'Active Directory Certificate Services setup failed with the following error:  Overlapped I/O operation is in progress.
    0x800703e5 (WIN32: 997)'
    1856: 2014-07-23 18:27:48.928 [Provider]                  Adding error message.
    1856: 2014-07-23 18:27:48.928 [Provider]                  [STAT] For 'Certification Authority':
    And:
    1856: 2014-07-23 18:27:49.053 [CAWebProxyManager]         Sync: Initializing defaults
    1856: 2014-07-23 18:27:49.162 [Provider] Error (Id=0) System.Runtime.InteropServices.COMException (0x8007139F): CCertSrvSetup::Install: The group or resource is not in the correct state to perform the requested operation. 0x8007139f (WIN32: 5023)
       at Microsoft.CertificateServices.Setup.Interop.CCertSrvSetupClass.Install()
       at Microsoft.Windows.ServerManager.CertificateServer.CertificateServerRoleProvider.Configure(InstallableFeatureInformation featureInfo, DiscoveryResult discoveryResult, ChangeTracker changeTracker)
    1856: 2014-07-23 18:27:49.162 [Provider]                  CAErrorID: 0, CAErrorString: 'Active Directory Certificate Services setup failed with the following error:  The group or resource is not in the correct
    state to perform the requested operation. 0x8007139f (WIN32: 5023)'
    1856: 2014-07-23 18:27:49.162 [Provider]                  Adding error message.
    Has anyone experienced this before? Am I missing something here?
    Any help will be very appreciated
    Thanks in advance
    Best regards
    Alejandro Lozano Villanueva

    Hi, thanks for your support.
    I have been playing around a bit with some ncipher commands and found this:
    C:\Program Files (x86)\nCipher\nfast\bin>cspcheck.exe
    cspcheck: fatal error: File key_mscapi_container-1c44b9424a23f6cddc91e8a065241a0
    9aa719e4f (key #1): 0 modules contain the counter (NVRAM file ID 021c44b9424a23f
    6cddc91)
    cspcheck: information: 2 containers and 2 keys found.
    cspcheck: fatal error occurred.
    If I perform the same command on the original server (the server with the original kmdata folder and with the running RootCA services):
    E:\nfast\bin>cspcheck.exe
    cspcheck: information: 2 containers and 2 keys found.
    cspcheck: everything seems to be in order.
    Strange?
    Moreover, when I do a csptest.exe command (also on both servers, i find this)
    On the new server:
    C:\Program Files (x86)\nCipher\nfast\bin>csptest.exe
    nCipher CSP test software
    =========================
    Found the nCipher domestic CSP named 'nCipher Enhanced Cryptographic Provider'
      Provider name: nCipher Enhanced Cryptographic Provider
      Version number: 1.48
    User key containers:
        Container 'csptest.exe' has no stored keys.
        Container 'Administrator' has no stored keys.
      Machine key containers:
        Container '352dd28a-17cb-4c6f-b6e4-bf39bcf75db5' has a 2048-bit signature key.
        Container 'ROOTCA' has no stored keys.
        Container 'csptest.exe' has no stored keys.
    While in the old server:
    E:\nfast\bin>csptest.exe
    nCipher CSP test software
    =========================
    Found the nCipher domestic CSP named 'nCipher Enhanced Cryptographic Provider'
      Provider name: nCipher Enhanced Cryptographic Provider
      Version number: 1.40
    User key containers:
        Container 'csptest.exe' has no stored keys.
      Machine key containers:
        Container '352dd28a-17cb-4c6f-b6e4-bf39bcf75db5' has a 2048-bit signature key.
        Container 'ROOTCA' has a 2048-bit signature key.
        Container 'csptest.exe' has no stored keys.
    As you can see, the container called ROOTCA, which is the one that I use during the installation, says it has no stored keys.  While on the old server, it says it contains a key.  Why is this happening?  I dont know, I am copying the complete
    key management folder from one server to another and initialize the security world with that folder as I always do, and i dont have any errors during this procedure. 
    Do you know what could be the cause of this? or how can I fix this?  Thanks a lot, best regards.
    Alejandro Lozano Villanueva

  • Windows 2008 R2 backup fails with event 521 error code 2155348001

    Windows Server 2008 R2 SP1.  Hyper-V role installed. 
    OS on drive C.  All VMs stored on Drive D.
    I am attempting to run a Bare Metal backup of the host system to a network share. 
    Drive D is not included in the backup job.  I am getting the following error:
    Log Name:      Application
    Source:        Microsoft-Windows-Backup
    Date:          1/10/2014 11:28:52 PM
    Event ID:      521
    Task Category: None
    Level:         Error
    Keywords:     
    User:          SYSTEM
    Computer:      SHAQTUS.scdl.local
    Description:
    The backup operation that started at '‎2014‎-‎01‎-‎11T04:08:50.683000000Z' has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed with following error code '2155348001'. Please review the event
    details for a solution, and then rerun the backup operation once the issue is resolved.
    Reviewing event details, as suggested, does not offer any solution.
    I have tried the suggested solutions in other similar threads of increasing the timeout value with the registry entry. 
    This does not work.
    I have not tried reregistering the VSS writers manually, as the only links I have found are for server 2003/2008 (not R2) and explicitly state that they won’t work on higher versions of the OS, since they now utilize manifests and the manual procedure could
    cause problems for those servers. Haven't found similar procedures for 2008 R2.
    I have been able to narrow this down a bit.
    A Windows 2008 R2 SP1 server with Hyper-V installed – backup to a network share is successful;
    Install the DPM 2012 agent – same backup fails with the 2155348001 error.
    We use DPM 2012 to backup VMs, but DPM cannot perform a bare metal backup/restore of server and the 2012 version no longer has the DPMSRT feature. 
    I prefer to run Bare Metal Backup to a file server share.
    Stuck on this one.
    Rick

    Hi, 
    The issue is related to DPM, I would suggest you ask for help from DPM forums:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=dataprotectionmanager
    Regards, 
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Package failed with run time error: " GETWA_NOT_ASSIGNED".

    Hi,
    One of our custom package is failing with run time error " GETWA_NOT_ASSIGNED". We are getting this error after refresh. Infact this package is working fine both in production and Dev, but in QA system it giving runtime error.
    Here with I am pasting run time error details. Please see...If any one have any idea or clue or if you have faced this kind of error.
    Thanks is advance.
    Error Details.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_UJK_CUSTOM_LOGIC===========CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        You attempted to access an unassigned field symbol
        (data segment 32774).
        This error may occur if
        - You address a typed field symbol before it has been set with
          ASSIGN
        - You address a field symbol that pointed to the line of an
          internal table that was deleted
        - You address a field symbol that was previously reset using
          UNASSIGN or that pointed to a local field that no
          longer exists
        - You address a global function interface, although the
          respective function module is not active - that is, is
          not in the list of active calls. The list of active calls
          can be taken from this short dump.
    Regards, Trine

    Hi Trine,
    the error is about some field you are trying to map using field-simbols, that is diferent in the other system.
    Go to the code program in the st22, there you will see when the erros occurs e what field gives the error.
    Best Regards,
    António

  • Backup Fails with Invalid RECID Error

    Hi All,
    Please help me to understand Caution -section
    below text is from
    [http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmtroub.htm#447765]
    Backup Fails with Invalid RECID Error: Solution 2
    This solution is more difficult than solution 1:
    To create the control file with SQL*Plus:
       1. Connect to the target database with SQL*Plus. For example, enter:
          % sqlplus 'SYS/oracle@trgt AS SYSDBA'
       2. Mount the database if it is not already mounted:
          SQL> ALTER DATABASE MOUNT;
       3. Back up the control file to a trace file:
          SQL> ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
       4. Edit the trace file as necessary. The relevant section of the trace file looks something like the following:
          # The following commands will create a new control file and use it
          # to open the database.
          # Data used by the recovery manager will be lost. Additional logs may
          # be required for media recovery of offline data files. Use this
          # only if the current version of all online logs are available.
          STARTUP NOMOUNT
          CREATE CONTROLFILE REUSE DATABASE "TRGT" NORESETLOGS  ARCHIVELOG
          --  STANDBY DATABASE CLUSTER CONSISTENT AND UNPROTECTED
              MAXLOGFILES 32
              MAXLOGMEMBERS 2
              MAXDATAFILES 32
              MAXINSTANCES 1
              MAXLOGHISTORY 226
          LOGFILE
            GROUP 1 '/oracle/oradata/trgt/redo01.log'  SIZE 25M,
            GROUP 2 '/oracle/oradata/trgt/redo02.log'  SIZE 25M,
            GROUP 3 '/oracle/oradata/trgt/redo03.log'  SIZE 500K
          -- STANDBY LOGFILE
          DATAFILE
            '/oracle/oradata/trgt/system01.dbf',
            '/oracle/oradata/trgt/undotbs01.dbf',
            '/oracle/oradata/trgt/cwmlite01.dbf',
            '/oracle/oradata/trgt/drsys01.dbf',
            '/oracle/oradata/trgt/example01.dbf',
            '/oracle/oradata/trgt/indx01.dbf',
            '/oracle/oradata/trgt/tools01.dbf',
            '/oracle/oradata/trgt/users01.dbf'
          CHARACTER SET WE8DEC
          # Take files offline to match current control file.
          ALTER DATABASE DATAFILE '/oracle/oradata/trgt/tools01.dbf' OFFLINE;
          ALTER DATABASE DATAFILE '/oracle/oradata/trgt/users01.dbf' OFFLINE;
          # Configure RMAN configuration record 1
          VARIABLE RECNO NUMBER;
          EXECUTE :RECNO := SYS.DBMS_BACKUP_RESTORE.SETCONFIG('CHANNEL','DEVICE TYPE DISK
          DEBUG 255');
          # Recovery is required if any of the datafiles are restored backups,
          # or if the last shutdown was not normal or immediate.
          RECOVER DATABASE
          # All logs need archiving and a log switch is needed.
          ALTER SYSTEM ARCHIVE LOG ALL;
          # Database can now be opened normally.
          ALTER DATABASE OPEN;
          # Commands to add tempfiles to temporary tablespaces.
          # Online tempfiles have complete space information.
          # Other tempfiles may require adjustment.
          ALTER TABLESPACE TEMP ADD TEMPFILE '/oracle/oradata/trgt/temp01.dbf' REUSE;
          # End of tempfile additions.
       5. Shut down the database:
          SHUTDOWN IMMEDIATE
       6. Execute the script to create the control file, recover (if necessary), archive the logs, and open the database:
          STARTUP NOMOUNT
          CREATE CONTROLFILE ...;
          EXECUTE ...;
          RECOVER DATABASE
          ALTER SYSTEM ARCHIVE LOG CURRENT;
          ALTER DATABASE OPEN ...;
    Caution:
          If you do not open with the RESETLOGS option,
    then two copies of an archived redo log for a given log sequence number may
    exist--even though these two copies have completely different contents.
    For example, one log may have been created on the original host and the other on the new host.
    If you accidentally confuse the logs during a media recovery,
    then the database will be corrupted but Oracle and RMAN cannot detect the problem.

    Please help me to understand Caution -section
    Caution:
    If you do not open with the RESETLOGS option,
    then two copies of an archived redo log for a given log sequence number may
    exist--even though these two copies have completely different contents.
    For example, one log may have been created on the original host and the other on the new host.
    If you accidentally confuse the logs during a media recovery,
    then the database will be corrupted but Oracle and RMAN cannot detect the problem.As per my understanding it says. If you don't open database with RESETLOGS option then there may be archived logs with log sequence number which is already archived on the source host. This may happen due to difference in RECIDs. Now when the database needs media recovery for this particular log sequence, you may provide any of them. So in this case, RMAN and Oracle will not be able to differentiate the two files and can accept any of the archived log files during recovery. Since the contents of two archived logs are different, because they are generated at different times and they contains different transactions. So, internally it corrupts your database.
    Rgds.

  • Background job failing with license check error

    Hi Experts
    In our ERP 6.0 system ,all the background jobs are failing with license check error.
    Have checked the license in SLICENSE and the license is fine.
    There is no warning while users are loggign in ,but when any background job is runing its failing with error
    Job started
    Logon not possible (error in license check)
    Job cancelled after system exception ERROR_MESSAGE
    Also performed the license test which is failing
    F:\usr\sap\XX1\SYS\exe\uc\NTAMD64>saplicense -test pf=F:\usr\sap\XX1\SYS\profile
    \XX1_DVEBMGS00_host_xx
    Protocol saplicense test:
    Read sapsytem name
           ok, sapsytem name = XX1
    Read message server host
           ok, host = hostname
    Read message server service port
           ok, service port = sapmsXX1
    Connect to message server
           ok, connect done
    Read hardware key from message server
           ok, got hardware key
    Detach from message server
           ok, detached
    Check hardware key
           ok, hardware key = T0343073854
    Connect to database
           ok, connected
    Check license
           ok, check done
    Disconnect database
           ok, database disconnected
    test result: license test failed
    LICENSE system: XX1 hardware key: T0343073854 expiration_date:
            installation no:  key:
            userlimit: 0 productid: R3_BASIS
            system-nr:
    license expired ***
    Please suggest how to troubleshoot.
    Regards
    Ajay

    @Michael
    In SLICENSe the Hardware key field is not BLUE or BLACK and its showing the exact hardware key which i can see at OS level with saplicense -get command.
    @Jagadish
    Note is good refrence, i reiinstalled the Digitally signed license with saplikey command and it was successful.
    But still the license test is failing at OS Level..below is the command prompt output.
    ===================================================================
    F:\usr\sap\XX1\SYS\exe\uc\NTAMD64>saplikey -install C:\license_script_XX.txt pf
    =F:\usr\sap\XX\SYS\profile\XX_DVEBMGS00_mngsez148079
    SAP License Key Administration  -  Copyright (C) 2003 SAP AG
    2 SAP license key(s) successfully installed.
    F:\usr\sap\XX\SYS\exe\uc\NTAMD64>saplicense -test pf=F:\usr\sap\XX1\SYS\profile
    \MD1_DVEBMGS00_mngsez148079
    Protocol saplicense test:
    Read sapsytem name
           ok, sapsytem name = XX1
    Read message server host
           ok, host = host
    Read message server service port
           ok, service port = sapmsXX1
    Connect to message server
           ok, connect done
    Read hardware key from message server
           ok, got hardware key
    Detach from message server
           ok, detached
    Check hardware key
           ok, hardware key = T0343073854
    Connect to database
           ok, connected
    Check license
           ok, check done
    Disconnect database
           ok, database disconnected
    test result: license test failed
    LICENSE system: XX1 hardware key: T0343073854 expiration_date:
            installation no:  key:
            userlimit: 0 productid: R3_BASIS
            system-nr:
    license expired ***
    ============================================================
    @Juan
    The hardware key was changed and we requested a new license with new hardware key,system was runing fine for couple of weeks with all background jiobs for SPAM./SAINT Ok .We performed EHP4 on this system.
    But now this issue is here,so i guess we should troubleshoot.
    Please let me know any other pointers.
    Regards
    Ajay
    PS In SLICENSE new installed license is fine and all users can login.

  • Non-SysAdmins get error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.

    I have a SQL 2008 R2 system (10.50.4000) where I'm having problems connecting any user that is not a SysAdmin.  Example: I setup a new SQL Login to use Windows Authentication and grant that user db_datareader on the target database.  The user attempts
    to connect using Excel client or Access or SQL Management Studio and receives Error 18456.  The SQL Server Logs shows Error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    The strange part is that if I temporarily grant the user the sysadmin server role then the user can connect successfully and retrieve data.  But, if I take away that sysadmin server role then the user can no longer connect but again receives the Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    We've turned off UAC on the client machine to see if that was the problem, but no change.
    I have dropped and re-added the user's SQL Login (and the related database user login info).  No success.
    The Ring Buffers output shows:
    The Calling API Name: LookupAccountSidInternal
    API Name: LookupAccountSid
    Error Code: 0x534
    Thanks for any help.
    -Walt

    Yes, you understand correctly.  The user is logging onto a workstation (not the server) with a Windows Authenticated id.  The user is using either Excel or Access or SSMS and connecting to the server using a Windows Authenticated SQL Login account.
     If the account has sysadmin role (which is only for testing) then the connection is successful.  If I take away sysadmin role from the account then the connection is unsuccessful and the SQL Server Log shows Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    (SQL Authentication is not an option here.  I must use Windows Authentication).
    Any other troubleshooting assistance you can offer would be appreciated.  Thanks.
    -Walt 

  • Import (imp) failing with IMP-00010 error

    Hi Experts,
    I am doing import to Windows from an export dump that was taken on Solaris 10. But the import is failing with the following error.
    IMP-00010: not a valid export file, header failed verification
    IMP-00000: Import terminated unsuccessfully
    I checked the source and target oracle versions and NLS_LANG parameter.
    In both the databases NLS_LANG parameter is set to AMERICAN only. But the oracle versions are different
    Source
    OS : Solaris 10
    Oracle version : *11.2.0.2*
    Export dump : exp_CAAU2.dmp.gz (Export taken by zipping)
    Target
    OS : Windows server 2003
    Oracle Version : *10.2.0.2.0*
    While importing into windows env, it is failing..
    Please let me know the reason why the import is failing?
    Can i upgrade the target oracle version to 11.2.0.2 to succeed the import?

    Hi,
    The IMP indicates this this error is coming from the old imp. This dump file could be from the expdp utility, which would require you to use the impdp utility.
    Source
    OS : Solaris 10
    Oracle version : 11.2.0.2
    Export dump : exp_CAAU2.dmp.gz (Export taken by zipping)
    Target
    OS : Windows server 2003
    Oracle Version : 10.2.0.2.0
    While importing into windows env, it is failing..
    What really matters here is the compatibility level. If your source and target compatibility levels are the same, then with Data Pump, the dumpfile created on the source, would work on the target. If the compatibility levels are different, then use expdp with the version parameter set to the compatibility level of the target.
    Please let me know the reason why the import is failing?Check the suggestions above first.
    Can i upgrade the target oracle version to 11.2.0.2 to succeed the import?It could help, but first check to see if you are using the right utility and then check the compatibility versions.
    Dean

  • BRBACKUP fails with 'BR0301W SQL error -980 at location BrbDbLogOpen'

    Hello mates,
    BRBACKUP on our Portal systems fails with the following error:
    EP Version: 600
    Platform: HP-Unix (ia64 hp server rx7640)
    Oracle: 920_64
    BRTOOLS 6.40 (40)
    BR0301W SQL error -980 at location BrbDbLogOpen
    BR0324W Insertion of database log header failed
    Here is the exerpt from the logfile:
    ==============================================
    BR0051I BRBACKUP 6.40 (40)
    BR0055I Start of database backup: bdyxzsml.anf 2008-10-01 08.04.51
    BR0477I Oracle pfile /oracle/GGF/920_64/dbs/initGGF.ora created from spfile /oracle/GGF/920_64/dbs/spfileGGF.ora
    BR0925I Public synonym SAP_SDBAH created successfully for table SAPGGFDB.SDBAH
    BR0925I Public synonym SAP_SDBAD created successfully for table SAPGGFDB.SDBAD
    BR0925I Public synonym SAP_MLICHECK created successfully for table SAPGGFDB.MLICHECK
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0301W SQL error -980 at location BrbDbLogOpen-5
    ORA-00980: synonym translation is no longer valid
    BR0324W Insertion of database log header failed
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0319I Control file copy created: /oracle/GGF/sapbackup/cntrlGGF.dbf 8052736
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0301W SQL error -980 at location BrDbfInfoGet-30
    ORA-00980: synonym translation is no longer valid
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0301W SQL error -980 at location BrDbfInfoGet-31
    ORA-00980: synonym translation is no longer valid
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0301E SQL error -980 at location BrComprDurGet-1
    ORA-00980: synonym translation is no longer valid
    BR0314E Collection of information on database files failed
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0301W SQL error -980 at location BrbDbLogOpen-5
    ORA-00980: synonym translation is no longer valid
    BR0324W Insertion of database log header failed
    BR0056I End of database backup: bdyxzsml.anf 2008-10-01 08.04.51
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0054I BRBACKUP terminated with errors
    ============================================
    I am not able to find any relevant solutions in SMP so far.
    Please help find a solution.
    Thanks & Regards,
    Manoj

    Hello ,
    Am trying to take the online backup using brtools in my portal server but giving below error:
    BR0051I BRBACKUP 7.00 (24)
    BR0055I Start of database backup: bdzqskqc.and 2009-01-08 17.44.50
    BR0484I BRBACKUP log file: /oracle/EPP/sapbackup/bdzqskqc.and
    BR0477I Oracle pfile /oracle/EPP/102_64/dbs/initEPP.ora created from spfile /oracle/EPP/102_64/dbs/spfileEPP.ora
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0301W SQL error -1031 at location BrbDbLogOpen-5, SQL statement:
    'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20090108174450', 'and', 'EPP', ' ', '99
    , ' ', 'bdzqskqc', '#    0     0     0         0                0        0                0  ALL          online
    disk             ---k-c 7.00 (24)')'
    ORA-01031: insufficient privileges
    BR0324W Insertion of database log header failed
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0319I Control file copy created: /oracle/EPP/sapbackup/cntrlEPP.dbf 7397376
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0301W SQL error -1031 at location BrDbfInfoGet-32, SQL statement:
    'DELETE FROM SAP_SDBAH WHERE BEG > '10000000000000' AND BEG < '20071205000000''
    ORA-01031: insufficient privileges
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0301W SQL error -1031 at location BrDbfInfoGet-33, SQL statement:
    'DELETE FROM SAP_SDBAD WHERE BEG > '10000000000000' AND BEG < '20071205000000''
    ORA-01031: insufficient privileges
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0301E SQL error -1031 at location BrComprDurGet-1, SQL statement:
    'OPEN curs_6 CURSOR FOR'
    'SELECT FUNCT, POS, LINE FROM SAP_SDBAD WHERE BEG = '00000000000001' AND (FUNCT = 'CMP' OR FUNCT = 'CMP' OR FUNCT = 'DC
    OR FUNCT = 'DCM') ORDER BY FUNCT'
    ORA-01031: insufficient privileges
    BR0314E Collection of information on database files failed
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0301W SQL error -1031 at location BrbDbLogOpen-5, SQL statement:
    'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20090108174450', 'and', 'EPP', ' ', '99
    , ' ', 'bdzqskqc', '7.00 (24)')'
    ORA-01031: insufficient privileges
    BR0324W Insertion of database log header failed
    BR0056I End of database backup: bdzqskqc.and 2009-01-08 17.44.50
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0054I BRBACKUP terminated with errors
    Please suggest/guide
    Regards,
    AMS Team

  • TSQL code that causes table data to be deleted rather than fail with a compilation error

    Afternoon,
    I recently did this by accident and it felt as though it should have failed with a compilation error rather than run
    A query of the form
    delete from jobs
    where id in
    select id from calibrations
    will delete all rows in the jobs table when the id column exists in the jobs table, but not the calibrations table. This should fail with a compilation error.
    the following sql can be used to generate a test database to show the problem
    USE [test]
    GO
    /****** Object:  Table [dbo].[calibrations]    Script Date: 28/11/2014 13:32:59 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[calibrations](
        [JobId] [int] NULL,
        [textfield] [nvarchar](50) NULL
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[jobs]    Script Date: 28/11/2014 13:32:59 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[jobs](
        [Id] [int] NOT NULL,
        [Name] [nchar](10) NULL
    ) ON [PRIMARY]
    GO
    INSERT [dbo].[calibrations] ([JobId], [textfield]) VALUES (1, N'something')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (1, N'a         ')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (2, N'b         ')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (3, N'c         ')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (4, N'd         ')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (5, N'e         ')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (6, N'f         ')
    GO
    Simon
    simon

    will delete all rows in the jobs table when the id column exists in the jobs table,
    but not the calibrations table. This should fail with a compilation error.
    Hello Simon,
    That's a bug in your T-SQL Statement, not in SQL Server. The Statement as it is valid and column "id" exists, so why should it fail on compilation?
    And that is the reason why we always should use full qualified object name, e.g. like
    delete from jobs AS J
    where J.id in
    select SUB.id from calibrations AS SUB
    and this Statement should fail on compilation.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Token-based server access validation failed with an infrastructure error

    Hi
    We have a new Win 2008 Enterprise x64 server running SQL 2008
    When we try to connect to the server using Windows Authentication, from a user account which is a domain administrator, we get the following message:
    "Token-based server access validation failed with an infrastructure error"
    What needs to be configured here for this to work ?
    Thanks
    Bruce

    Hi,
    I am encountering the same error message but it is more around the login, this problem happens only on one server but it is fine on another three, my investigation show it is a ghost SID associated with AD user account
    Background
        1- An Active Directory (AD) account was created for a user [Domain\UserA]
        2- A SQL login was created for the account above and then granted access to a number of databases
        3- The AD account was renamed/modified to [Domain\UserB]
        At this stage the user would encounter an error when connecting to the server
        The sql log show this error message
        Error: 18456, Severity: 14, State: 11.
        Message
        Login failed for user 'domain\user'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors.     [CLIENT: xxx]
    Action on Server 1 SQL (the one with the problem)
        1- Dropped the user from the databases
        2- Re-Created the login from the windows account [Domain\UserB]
        3- Created the user in the respective databases
        But the user still unable to connect to the server
    Investigation
        On server 1, the SID of the user in SYSUSERS was Matching SYSLOGINS and matches with result of SUSER_SID(Domain\UserA)
        But it does not match the SID in the AD
        The rest of the servers all have the correct SIDs
        When I use SUSER_SNAME(Incorrect-Sid) and SUSER_SNAME(Correct-Sid) on this server they both return [Domain\UserB]
        The problematic server is always returning the incorrect SID when recreating the user login and when using SUSER_SID(Domain\UserA) as if it is cached somewhere.
    I can't specify the SID when creating the SQL login because it is using the Windows account
    Your ideas on how to fix this problem are much appreciated
    Regards,
    DGL

Maybe you are looking for