Get-WinEvent unusual errors

Hi all,
looking to change one of my scripts to use Get-WinEvent in place of Get-EventLog. testing the command to see what properties are returned so I can update the script something unexpected happened.
Get-WinEvent : Attempted to perform an unauthorized operation.
At line:1 char:24
+ $applogs = get-winevent <<<<  -logname application
    + CategoryInfo          : NotSpecified: (:) [Get-WinEvent], UnauthorizedAc
   cessException
    + FullyQualifiedErrorId : Attempted to perform an unauthorized operation.,
   Microsoft.PowerShell.Commands.GetWinEventCommand
Before anyone states the obvious - yes I am running this in an elevated prompt.
Now here's the odd part, if I create two arrays - one using "get-winevent -logname application -computer RemoteServer" and another using "get-eventlog -computer RemoteServer Application" the first one errors roughly 20 times, the second
no errors. if I allow both to complete (running at the same time) both have the same item count of 64855. Same errors occur if I logon to "remoteserver" and run it locally.
I'm assuming that its an issue with specific event logs, anyone have suggestions on how to troubleshoot this?
Thanks in advance.

further to that - I just thought I'd run the command and let it dump the output and ctrl+c as soon as I see red... here we see the error between two events, I look it up in event viewer and there's nothing between those two so it seems to have intermittent
issues but still collects all log data.
10/3/2014 12:28:... RSClient                          40003 SubmitData....
10/3/2014 12:27:... MSSQLSERVER                         833 SQL Server has e...
10/3/2014 12:22:... MSSQLSERVER                         833 SQL Server has e...
Get-WinEvent : Attempted to perform an unauthorized operation.
At line:1 char:13
+ get-winevent <<<<  -logname application
    + CategoryInfo          : NotSpecified: (:) [Get-WinEvent], UnauthorizedAc
   cessException
    + FullyQualifiedErrorId : Attempted to perform an unauthorized operation.,
   Microsoft.PowerShell.Commands.GetWinEventCommand
10/3/2014 12:19:... cpqvcagent                           53 Cannot retrieve ...
10/3/2014 12:17:... MSSQLSERVER                         833 SQL Server has e...

Similar Messages

  • Getting an unusual error while running a transaction

    Hi Experts ,
    While i am running a customized transaction for vb7 that is rebate settlement , I have input field on agreement screen of payment method . Whenever , i put any value in that field and run the transaction , it gives me an error "  Input values must be defined in Table T042Z. The value or
    values ' T ' are not specified in this table.  "  whereas when i check the table T042Z for payment method values , the values i m entering are present there . I cannot get why its showing this error .
    Could anyone plz help as its very urgent req ..
    Thanks in advance ..
    Ankit

    Ankit,
    Please close this duplicate thread.
    Rich,
    You are welcome. 

  • Getting an unusual error while running transaction for rebate settlement

    Hi Experts ,
    While i am running a customized transaction for vb7 that is rebate settlement , I have input field on agreement screen of payment method . Whenever , i put any value in that field and run the transaction , it gives me an error " Input values must be defined in Table T042Z. The value or
    values ' T ' are not specified in this table. " whereas when i check the table T042Z for payment method values , the values i m entering are present there . I cannot get why its showing this error .
    Could anyone plz help as its very urgent req ..
    Thanks in advance ..
    Ankit

    Ankit,
    Set a breakpoint very early in the program's soruce code.  When you hit that breakpoint in the debugger, go to the menu bar and choose Breakpoints > Breakpoint at > Statement .  Enter the word MESSAGE into that pop-up window and continue the program's execution.
    This will stop the debugger at all MESSAGE statements... Including the one that is generating your error.  You can then analyze the code just prior to that error.... and address the issue accordingly.

  • Getting an unusual error message in Compressor 4.1 when I try to submit a job

    I'm running Mavericks and have Compressor 4.1 on my Mac Pro along with FCP 10.1.  When I submit a job to compressor, I then add the Dolby Digital and Mpeg-2 6.2 Mbps/90.  When I hit Start Batch I get this error message
    /var/folders/k9/f6fyk4sj4f3_rj2wlrlwx9hr0000gn/T/46BDF064-B30F-4BF1-8D9C-D22DE91 8342B.export-archive
    I've tried to uninstall and re-install Compressor but to no avail.  What is this error message referring to and how do I rectify it?
    Thank you
    Drew

    Hi Drew if you haven't resolved this. TRy this to see if the issue is a TRANSIENT object access error instead for submitting directly to Compressor. Do this to isolate any content error defects before making you distribution (older 2 stage workflow)..
    in FCPX 10.1, make sure the projects Primary Storyline is completely rendered - select all and cntl+R (render selection or control+shift+R)In FCPX 10.1 watch the background tasks (+9) and wait for all the rendering to be completed.... (make sure no object errors)
    in FCPX 10.1 export a master File/Share/Master File (+E) as PRORES 4xx and save it ~/Movies/Drews_final_master.mov (prores)
    in Compressor.app V4.1,
    create a new BATCH ,
    import the MASTER object ~/Movies/Drews_final_master.mov)
    (and add your setting and submit it. (dont use FCPX SEND TO COMPRESSOR just yet! until you resolve this issue)
    This process will avoid the use of transient  file storage areas that seem to be used in the FCPX to COMPRESSOR.
    Post your results for others to see
    Warwick
    Hong Kong

  • Unusual error in Infopackage

    Hello Experts,
    I am getting an unusual error while executing the infopackage for CO-PA extraction. I ran the IP for init with data transfer using controlling area and fiscal period as the selection criteria but the Infopackage returned a error "System could not find a source of data that could perform the search". However, when I run RSA3 for the same selection criteria, it does returns extracted records.
    I am quite confused by this and will appreciate any help in this regards.
    Thanks,
    Rishi

    Hi,
    Init with selections in the Info Package is not Possible
    Remove selection and Initialize the Delta it will work
    Regards
    Hari

  • I get nothing but error messages, -"Your IMAP server wants to alert you to the following: 113 that mail is not available" or 364? there are hundreds stacked up.You must give answers to how to fix these when we do "search" add the error code number

    I get nothing but error messages, -
    "Your IMAP server wants to alert you to the following: 113 that mail is not available"  or  the same with:  364? 
    Now there are hundreds stacked up on my desktop.
    I cannot find the answer anywhere. You need to  give answers to how to fix these errors because when I  "search" "error code" or the number there is NOTHING. NOTHING!  Yet you give us these stupid error codes
    then you do not give us ANYTHING on how to fix these. These error codes make me so mad it makes me hate outlook, and hate the developers and hate microsoft.  How in the world can you give us ERROR codes without the explanation of what
    to do or how to fix it. You need to  add each  error code number in your "search" then explain what it is and how to fix it.  I am not a tech. I am a lawyer. I have googled the entire string of error code and nothing is clear.
    So, for the last several years, I get these error codes. Also, there is another error code that won't go away--it is the password error code that asks if I want to store the password. Yes, so I say YES. but it pops back. I am sick of this. This is the reason
    I hate Microsoft and I love google. #1 they respond to error, #2 them try to fix them you do not. I paid the full price to buy the OUtlook 2010, almost $500 just to get outlook, and all I got was error codes. I could not even open it because all I would get
    was that error codes and NO ONE knew how to fix them. WHAT IS YOUR PROBLEM that you cannot fix the stupid error codes that you imbed? PLEASE HELP

    Hi,
    I understand how frustrated you are when facing such an issue, maybe I can provide some suggestions on the problem.
    Based on the description, you should be using an IMAP account setup in Outlook. As for the error message, usually it's caused by a corrupted message on the Server. I suggest you logon the Webmail site, check if sending/receiving emails works well.
    If you find any unusual emails that cannot be read or sent, try deleting them to try again.
    I also suggest you create a new profile to setup the IMAP account:
    http://support.microsoft.com/kb/829918/en-us
    Contact your Email Service Provider to get the correct and latest account settings, since you have been using Outlook for years, some settings may have been changed while you haven't been informed.
    For the steps to setup an account in Outlook 2010, please refer to:
    http://office.microsoft.com/en-001/outlook-help/add-or-remove-an-email-account-HA010354414.aspx
    I hope this helps.
    Regards,
    Melon Chen
    TechNet Community Support

  • Getting a 'Runtime Error' while launching Crystal Reports

    Hello
    I have Crystal Report XI R2 installed on an XP machine. However, while launching it, I get the following error:
    Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program ...am Fils\Business Objects\Crystal Reports 11.5\crw32.exe
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.
    Any help would be appreciated.
    Thanks,
    Alok.

    Hi Alok
    Are you logged in as Administrator?
    If not try logging in as Administrator,is still the issue persists then you need to manually uninstall Crystal Reports and reinstall it again.
    This issue happens because the installation of Crystal Reports has not been successful, despite a message stating that it has been  successfully installed.
    Manual Uninstalling Process:
    Symptom
    Crystal Reports XI is installed on your computer. You need to manually uninstall Crystal Reports XI for one of the following reasons:
    u2022 To verify that all Crystal Reports XI components have been completely removed prior to installing a later version of Crystal Reports.
    u2022 To remove the remaining Crystal Reports XI components that have not been removed using the 'Add/Remove Programs' command (Start > Settings > Control Panel).
    u2022 To remove the remaining Crystal Reports XI components that have not been removed using the Setup.exe file from Crystal Reports XI installation CD.
    How do you manually uninstall Crystal Reports XI?
    Resolution
    Before getting started, uninstall Crystal Reports XI by launching the Setup.exe file from the installation CD or by using the 'Add/Remove Programs' command. If either of these methods fails to remove all Crystal Reports directories, files and registry keys, then continue with the resolution of this article.
    ==========
    WARNING:
    This resolution can be applied if Crystal Reports XI is the only software installed on the computer that uses the Business Objects directories, files and registry keys.
    For example, Crystal Analysis, Crystal Enterprise and BusinessObjects Enterprise XI are applications that may share the same directories, files and registry keys.
    Removing these directories, files and registry keys may cause other software to function incorrectly.
    ==========
    1. To manually uninstall Crystal Reports XI, delete the following directories:
    u2022 C:\Program Files\Common Files\Business Objects\3.0
    u2022 C:\Program Files\Business Objects
    ====================
    NOTE:
    Do not remove the directory C:\Program Files\Common Files\Business Objects\3.0 if you have BusinessObjects Enterprise XI or Crystal Reports Server XI installed. These files are shared by both applications and removal of these files will cause Business ObjectsEnterprise XI and Crystal Reports Server XI to function incorrectly.
    ====================
    2. Delete the following registry keys:
    ====================
    WARNING:
    The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk.
    HELP:
    For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).
    RECOMMENDATION:
    It is strongly recommended that you make a backup copy of the registry files (System.dat and User.dat on Win9x computers) before you edit the registry.
    ====================
    u2022 HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\
    u2022 HKEY_CURRENT_USER\Software\Business Objects\Suite 11.0\Crystal Reports
    u2022 HKEY_USERS\S-#-#-##-...-####\Software\Business Objects\Suite 11.0\Crystal Reports
    (The number signs (#) represent a series of numbers that are different on each computer.)
    ====================
    NOTE:
    After making changes to the registry, restart the affected service or application as required.
    ====================
    Hope this Helps,
    Shraddha

  • Unusual error.....!!!

    hello friends,
    i m working on making a music application... now the problem that i m facing is quite unusual n i m not understanding why is it arising....?? okay, let me give a brief intro to what i m trying to achieve...
    my application includes a textfield where user has to enter the name of the path where music files r located... after pressing the enter key, all the music files located in that directory wud be shown in a TextPane... now user can select the file he wants to play by moving the caret... by using the caret position i m changing the style of that particular filename...
    the problem arises here... if i give the default path in my code then on moving the caret in TextPane it doesn't give any error but when i enter the path name at run time n then move the caret for selecting the desired file it gives error... the exception i get is of StringOutOfBoundsException n it gives something like String index out of range: -2... i m not getting why this error is coming when i enter the pathname n why its not coming when default pathname is given in the code.....
    plz help me.... my application is just going to get over... but i dont know why this thing is happening....

    plz help me.... my application is just going to get
    over... but i dont know why this thing is
    happening....f y o po t so e c de, t en w c uld he p u... ple se u e he [Code][[i]Code] t gs w en p st ng ur c de...
    - a x g...
    - ' e h n ver sl eps... '

  • I keep getting the same error message:  "Runtime Error" for adobe reader

    Hi,
    I keep getting a 'Runtime Error' message stating the following:  "This application has requested the runtime to terminate it in an unusual way.  Please contact the applications server team for more information".  It then closes the attachment and shuts down the email program.  The email program that is being used is outlook express, I have tried removing Adobe and reinstalling it - with the same issue.  I have tried downloading earlier additions with the same issue.
    Any advice in relation to this issue would be greatly appreciated.
    Cheers,
    Janet

    You can go to control panel, add/delete programs and delete Quick time. Then download & install the stand alone version of Quicktime.
    http://www.apple.com/quicktime/download/

  • Iam getting run time error message when i try to open dream weaver cs4

    iam getting run time error message when i try to open dream weaver cs4

    exact message am getting when i try to open dreamweaver cs4- this application has requested the run time to terminate in it in an unusual  way . please contact the applications support team for more information.

  • Getting Page Load Error while opening a Opportunity in new window

    Hi All,
    outbound SSO is enabled.
    when i try to punch-in to my application from CRM through opportunity web link with Web Link Target as "open in custom tab" its working properly, but when i have Web Link Target as "open in new window" i am getting page load error. previously with out Outbounf SSO it is working properly.
    Do i need enable any settings in CRM
    thanks

    when the web link target is "open in new window" or "open in current window" the request send to third party application from CRM ONDemand is HTTPS request as SSL is not enabled it is giving "page load error"(In the web link we are specifying http only) (User athentication type is "username & password/ SSO")
    Is there any setting in CRM Ondemand to send Http request only instead of HTTPS?

  • Getting a permission error while updating a field.

    hi,
    I want to update a field in OIM and push the same to OID. When i try to update it for like 20 times it woks for 18 times and doesnt work for couple of times. I check the log and i get the below error.....
    *Caused by: javax.ejb.AccessLocalException: [EJB:010160]Security Violation: User: 'xelsysadm' has insufficient permission to a*
    ccess EJB: type=<ejb>, application=Xellerate, module=xlDataObjectBeans.jar, ejb=tcLookupOperations, method=create, methodInte
    rface=LocalHome, signature={}.
    at weblogic.ejb.container.internal.MethodDescriptor.checkMethodPermissionsLocal(MethodDescriptor.java:573)
    at weblogic.ejb.container.internal.StatelessEJBLocalHome.create(StatelessEJBLocalHome.java:60)
    at com.thortech.xl.ejb.beans.tcLookupOperations_u50o5o_LocalHomeImpl.create(tcLookupOperations_u50o5o_LocalHomeImpl.j
    ava:70)
    Kindly help me to fix this.
    Thanks
    thilak

    http://bbs.archlinux.org/viewtopic.php?id=83076

  • WHILE DELETING A SALE ORDER GETTING A RUNTIME ERROR

    hi to all experts,
    whenever i try to delete a particular sale order im getting a runtime error
    stating that
    Short text
        Screen: Illegal message
    What happened?
        The current screen processing action was terminated since a situat
        occurred where the application could not continue.
        This is probably due to an error in the ABAP program or in the cur
        screen.
    Error analysis
        The program attempted to issue a " " message during "Exit Command" processing.
        This is an illegal operation.
        The program was terminated.
        Screen name.............. "SAPMV45A"
        Screen number............ 4001
    Trigger Location of Runtime Error
        Program                                 SAPMV45A
        Include                                 MV45AFZZ
        Row                                     370
        Module type                             (FORM)
        Module Name                             USEREXIT_SAVE_DOCUMENT
    SourceCde
                  message e001(zm) WITH text-335 ltab-kunnr text-334.
                else.
                  if ktab-jkunnr <> ltab-kunnr.
                    ktab-jkunnr = ltab-kunnr.
                    jobsitecode = ltab-kunnr.
                    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                    EXPORTING
                      input  = jobsitecode
                      IMPORTING
                      output = jobsitecode.
                    SELECT SINGLE * FROM kna1 WHERE kunnr = jobsitecode.
                    IF sy-subrc = 0.
                      ktab-jname1 = kna1-name1.
                      ktab-jstras = kna1-stras.
                    ENDIF.
                    chg_flg = 'X'.
                  endif.
                endif.
              else.
                message e001(zm) WITH text-336.
    * Validation for relationship between Sold-to Party and Ship-to Party
    *          if ktab-ckunnr+0(4) NE ktab-jkunnr+0(4).
    *            message e001(zm) WITH text-335 ktab-jkunnr text-337 ktab-ckunnr.
    *          endif.
              custcode1 = ktab-ckunnr.
              CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                EXPORTING
                  input  = custcode1
                IMPORTING
                  output = custcode1.
              jobsitecode1 = ktab-jkunnr.
              CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                EXPORTING
                  input  = jobsitecode1
                IMPORTING
                  output = jobsitecode1.
              SELECT SINGLE * FROM knvp
              WHERE kunnr = custcode1
                AND vkorg = vbak-vkorg
                AND vtweg = vbak-vtweg
                AND spart = vbak-spart
                AND parvw = 'WE'
    Error analysis
        The program attempted to issue a " " message during "Exit Command"
        This is an illegal operation.
        The program was terminated.
        Screen name.............. "SAPMV45A"
        Screen number............ 4001
    Trigger Location of Runtime Error
        Program                                 SAPMV45A
        Include                                 MV45AFZZ
        Row                                     370
        Module type                             (FORM)
        Module Name                             USEREXIT_SAVE_DOCUMENT

    Hi,
    Seems there is some problem with the user exit USEREXIT_SAVE_DOCUMENT..
    Put a breakpoint and see.
    Regards,
    Nagaraj

  • I just tried to install the 11.4 update (or whichever one is the most recent update as of 1/26/2014) and when it failed i tried to install manually and now whenever i try to use it, i get the following error: the application has failed to start because MS

    i just tried to install the 11.4 update (or whichever one is the most recent update as of 1/26/2014) and when it failed i tried to install manually and now whenever i try to use it, i get the following error: "The application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem." Right after i click ok i then get this error: "Itunes was not installed correctly. Please reinstall Itunes. Error 7 (Windows error 126)." I tried to uninstall Itunes and then reinstall the 11.03 version but that didnt work either. I want to know if i copy all of the music in my itunes folder to an external without consolidating can i still transfer all my itunes music from my current windows xp pc to a brand new one and have my current itunes library in my new pc? Basically i just want to know 3 things: What exactly does consolidating the itunes library do? Can i copy, paste, and transfer my itunes library to an external and from there to a new pc? Will i be able to transfer my itunes library without consolidating the files?

    I have found a temporary solution, allowing the previous version of iTunes (v. 11.1.3 (x64) in my case) to be re-installed.  It will allow you to re-establish use of iTunes until the Apple software engineers fix the most recent disasterous upgrade (v. 11.1.4).  Please see and follow the procedure in the following article:http://smallbusiness.chron.com/reverting-previous-version-itunes-32590.html   The previous version works beautifully.

  • Getting Logon Failed error connecting to SAP R/3 with Crystal

    I have Crystal Reports 2008 and also the SAP Integration Kit installed on my desktop.  I've imported the transports into my DEV and QAS systems and am trying to connect directly to R/3 from Crystal using the SAP Table, Cluster or Function choice.
    I receive the error:
    Logon failed.  Details: You do not have the necessary rights to design reports against the SAP system.  Please check with your system administrator. 
    I'm using a logon that has full rights within SAP.  It recognizes my password because when I try a password that I know is wrong I get a different error message: Logon failed. Detail: Name or password is incorrect.  I receive the same error in PRD even though I have not imported the transports into that client.
    I have Crystal Server but am not trying to use that at the moment.  Just Crystal Reports as a standalone product.  If I've left something out please let me know.
    Thank you,
    Kevin Scheeler

    Hi Kevin,
    take a look at the Installation Guide for the SAP Integration Kit which includes a detailed list of authorizations per use case in the appendix
    the documentation is available on help.sap.com
    Ingo Hilgefort

Maybe you are looking for

  • Satellite U400 - restore to default settings

    Q1. I want to restore my laptop to factory settings. I have a corrupted security suite and the provider cannot fix it, so now my only choice is to wipe all data and programs off the laptop and restore to factory settings. How do I do this? Q2. The la

  • Using FORM ENDFORM in ABAP OO

    Hi, I wrote the code like this .I am trying to use FORM which is defined in Report programm,But I am always getting error message "Error at parameter 2 ":what change should i do for this. earlier I used the same code  in ABAP ( not ABAP OO) it was wo

  • Estimating Activation Time of Business Functions in EhP3

    Can anyone estimate how long the activation of c.100 Business Functions plus one industry business function set (ECC-DIMP) ought to take when the transport is imported into a new system? This is in ERP 6 with EhP3. I know some BFs will activate faste

  • I need to display an array of doubles on a table and I am loosing my percision

    Hello, I need to display an array of doubles on a table but I am losing my decimal precision. I am converting the array to a string in order to display it on the table with a number to decimal function. This is where I lose my precision since that co

  • Installation designer 9i (please)

    I have installed designer9i suite and database in different home database : home=orahome9 path=c:\oracle\ora90 designer : home=des9 path=c:\dersigner\des90 and i have problems with designer(forms,designer,reports) thank you.