Is this a right query...?

SELECT
DECODE(NVL(FIELDVAL,'X'),'X','NULL VALUE','NOT NULL VALUE')
FROM TABLENAME
I couldnot get 'NULL VALUE' or 'NOT NULL VALUE'.
Actually I want to display NULL VALUE if the FIELDVAL is Null and NOT NULL VALUE if FIELDVAL is not Null.
Please help me..

If I write the query like
SELECT
DECODE(NVL(FIELDVAL,'X'),'X','NULL VALUE','NOT NULL VALUE')
FROM TABLENAME
WHERE FIELD2='NA'
and FIELD2 has no 'NA' values.
In this case, it will return no rows and giving NULL value only.
How can I overcome this..?
Actually I will give this select query for a column in view as below
CREATE OR REPLACE VIEW VIEWNAME AS
SELECT FIELD10, FIELD9, FIELD8,
(SELECT
DECODE(NVL(FIELD7,'X'),'X','NULL VALUE','NOT NULL VALUE')
FROM TABLENAME1
WHERE FIELD2='NA')
FILED_VAL
FROM TABLENAME1

Similar Messages

  • Buffer Hit Ratio % -- Whats the right query ?

    Whats the right query to track Buffer Hit % ;
    Using this :
    prompt BUFFER HIT RATIO %
    prompt ===============
    select 100 * ((a.value+b.value)-c.value) / (a.value+b.value) "Buffer Hit Ratio"
    from v$sysstat a, v$sysstat b, v$sysstat c
    where
    a.statistic# = 38
    and
    b.statistic# = 39
    and
    c.statistic# = 40;
    Buffer Hit Ratio
    99.9678438
    However, using this :
    Select
    Round((Sum(Decode(name, 'consistent gets',value,0)) +
    Sum(Decode(name, 'db block gets',value,0)) -
    Sum(Decode(name, 'physical reads',value,0))) /
    (Sum(Decode(name, 'consistent gets',value,0)) +
    Sum(Decode(name, 'db block gets',value,0)) ) * 100, 4)
    from V$sysstat;
    Comes up as : 67.7069 %
    So which is the right one ?
    Thanks.

    user4874781 wrote:
    Well, I recently joined this organisation and that was the script that was used since long to check Buffer Hit Ratio%.
    But when I ran a TOAD report, using the other query, the value came up different.
    So am confused .. Whats the difference and which is the right one ?
    Try running the following query:
    select
            statistic#, name
    from
            v$sysstat
    where
            statistic# in (38,39,40)
    or      name in (
                    'consistent gets',
                    'physical reads',
                    'db block gets'
    ;The you will understand the point the previous answer was making. It's a bad idea to rely on things like the statistic# being consistent across different versions of Oracle - names tend to be safer.
    But neither query is correct. If you want any sort of vaguely meaningful "buffer cache hit ratio", you should be quering v$buffer_pool_statistics. See also: Re: Testing of buffer cache reveals these results: and http://jonathanlewis.wordpress.com/2007/09/02/hit-ratios/
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge." Stephen Hawking.

  • EWS The server cannot service this request right now. Try again later.

    html,body{padding:0;margin:0;font-family:Verdana,Geneva,sans-serif;background:#fff;}html{font-size:100%}body{font-size:.75em;line-height:1.5;padding-top:1px;margin-top:-1px;}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em}h3{font-size:1.16em}h4{font-size:1em}h5{font-size:.83em}h6{font-size:.7em}p{margin:0
    0 1em;padding:0 .2em}.t-marker{display:none;}.t-paste-container{;left:-10000px;width:1px;height:1px;overflow:hidden}ul,ol{padding-left:2.5em}a{color:#00a}code, pre{font-size:1.23em}
    Hi,
    I do have a problem that Exchange 2013 CU7 is giving mit a "The server cannot service this request right now. Try again later." when trying to access some accounts using EWS and impersonation.
    I know there might be throttling involved and for that I did make an separate policy and assigned it to the users (EWS andthe mailbox - just in case...)
    Here is what I got from the EWS logs:
    .007Z,f973ffeb-b1fa-4946-a9b4-acb047ea1b37,15,0,1044,21,,NTLM,true,[email protected],domain,ExchangeServicesClient/0.0.0.0,Target=None;Req=Exchange2007_SP1/Exchange2007_SP1;,192.168.0.100,EWS15MB1,EWS15MB3.domain,FindItem,200,1041,,ErrorServerBusy,[email protected],,,cc91dc21f4c542acb64f196ec47ae727,c314fd38-a24e-4bcb-992e-e009c7adcb4e,PrimaryServer,LocalTask,0,1,0,1,0,0,1,0,0,,,,,,,,,0
    Max,0 Max,,,,EWS_BO,0.1067,[C],0,0,10,390,,,5,0,,6,15,695,713,,,BackEndAuthenticator=WindowsAuthenticator;TotalBERehydrationModuleLatency=0;AuthzFlags=AuthzSkipTokenGroups;FindItemQueryFilter=(True);AQS=False;MailboxTypeCacheSize=2039;S:WLM.Cl=InternalMaintenance;S:ServiceTaskMetadata.ADCount=0;S:WLM.Type=Ews;S:FCI.MBXT=Primary;S:ServiceTaskMetadata.ADLatency=0;S:WLM.Int=True;S:FCI.QS=;S:ServiceTaskMetadata.RpcCount=10;S:ServiceTaskMetadata.RpcLatency=420;S:WLM.SvcA=False;S:FCI.VF=All;S:ServiceTaskMetadata.WatsonReportCount=0;S:ServiceTaskMetadata.ServiceCommandBegin=16;S:ServiceTaskMetadata.ServiceCommandEnd=711;S:ActivityStandardMetadata.Component=Ews;S:WLM.BT=Ews;S:BudgetMetadata.MaxConn=Unlimited;S:BudgetMetadata.MaxBurst=Unlimited;S:BudgetMetadata.BeginBalance=$null;S:BudgetMetadata.Cutoff=Unlimited;S:BudgetMetadata.RechargeRate=Unlimited;S:BudgetMetadata.IsServiceAct=False;S:BudgetMetadata.LiveTime=00:00:00.2343945;S:BudgetMetadata.EndBalance=$null;S:FCI.CVT=689;S:FCI.CSIT=70;S:FCI.CSIC=0;S:FCI.CSIQ=2;S:FCI.CSISTC=2;S:FCI.CSIG=54;S:FCI.CRIT=613;S:FCI.CRIC=340;S:FCI.CRIQ=2;S:FCI.CRIG=381;S:FCI.CRIET=0;S:FCI.CRINI=160;S:FCI.CRIMBT=0;S:FCI.CRIMET=7;S:FCI.CRIMP=0;S:FCI.CRIMAR=37;S:FCI.CVU=False;Dbl:WLM.TS=713;Dbl:BudgUse.T[]=715.151611328125;I32:ADR.C[dc1]=1;F:ADR.AL[dc1]=3.1106;Dbl:CCpu.T[CMD]=312.5;I32:RPC.C[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=10;Dbl:RPC.T[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=420;I32:ROP.C[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=80768493;I32:MAPI.C[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=23;Dbl:MAPI.T[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=420;I32:MB.C[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=10;F:MB.AL[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=42;Dbl:ST.T[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=59;I32:ATE.C[dc1.domain-]=1;F:ATE.AL[dc1.domain-]=0;Dbl:STCPU.T[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=46,,ExceptionHandler_Execute=Microsoft.Exchange.Services.Core.Types.ServerBusyException:
    The server cannot service this request right now. Try again later.    at Microsoft.Exchange.Services.Core.Search.NormalQueryView.ThrowIfFindCountLimitExceeded(UInt32 viewLength)    at Microsoft.Exchange.Services.Core.Search.NormalQueryView.RetrieveCalendarViewData(Object[][]
    view  Int32 rowsToGet)    at Microsoft.Exchange.Services.Core.Search.CalendarPageView.ApplyPostQueryPaging(Object[][] view)    at Microsoft.Exchange.Services.Core.Search.NoGrouping.IssueQuery(QueryFilter query  Folder
    folder  SortBy[] sortBy  BasePagingType paging  ItemQueryTraversal traversal  PropertyDefinition[] propsToFetch  RequestDetailsLogger logger)    at Microsoft.Exchange.Services.Core.FindItem.FindItemsInParent(IdAndSession
    folderIdAndSession)    at Microsoft.Exchange.Services.Core.FindItem.Execute()    at Microsoft.Exchange.Services.Core.ExceptionHandler`1.Execute(CreateServiceResult createServiceResult  Int32 index  GenerateMessageXmlForServiceError
    generateErrorXml);,
    And here is the throttling policy I'm using for those users.
    ThrottlingPolicyScope                       : Regular
    IsServiceAccount                            : False
    AnonymousMaxConcurrency                     : 1
    AnonymousMaxBurst                           : 120000
    AnonymousRechargeRate                       :420000
    AnonymousCutoffBalance                      : 720000
    EasMaxConcurrency                           : 10
    EasMaxBurst                                 : 480000
    EasRechargeRate                             : 1800000
    EasCutoffBalance                            : 600000
    EasMaxDevices                               : 100
    EasMaxDeviceDeletesPerMonth                 : Unlimited
    EasMaxInactivityForDeviceCleanup            : Unlimited
    EwsMaxConcurrency                           : Unlimited
    EwsMaxBurst                                 : Unlimited
    EwsRechargeRate                             : Unlimited
    EwsCutoffBalance                            : Unlimited
    EwsMaxSubscriptions                         : Unlimited
    ImapMaxConcurrency                          : Unlimited
    ImapMaxBurst                                : 3600000
    ImapRechargeRate                            : 600000
    ImapCutoffBalance                           : Unlimited
    OutlookServiceMaxConcurrency                : 27
    OutlookServiceMaxBurst                      : 300000
    OutlookServiceRechargeRate                  : 900000
    OutlookServiceCutoffBalance                 : 3000000
    OutlookServiceMaxSubscriptions              : 5000
    OutlookServiceMaxSocketConnectionsPerDevice : 4
    OutlookServiceMaxSocketConnectionsPerUser   : 12
    OwaMaxConcurrency                           : 20
    OwaMaxBurst                                 : 480000
    OwaRechargeRate                             : 1800000
    OwaCutoffBalance                            : Unlimited
    OwaVoiceMaxConcurrency                      : 3
    OwaVoiceMaxBurst                            : 75000
    OwaVoiceRechargeRate                        : 375000
    OwaVoiceCutoffBalance                       : 525000
    PopMaxConcurrency                           : 20
    PopMaxBurst                                 : 3600000
    PopRechargeRate                             : 600000
    PopCutoffBalance                            : Unlimited
    PowerShellMaxConcurrency                    : 18
    PowerShellMaxBurst                          : Unlimited
    PowerShellRechargeRate                      : Unlimited
    PowerShellCutoffBalance                     : Unlimited
    PowerShellMaxTenantConcurrency              :
    PowerShellMaxOperations                     : Unlimited
    PowerShellMaxCmdletsTimePeriod              : Unlimited
    ExchangeMaxCmdlets                          : Unlimited
    PowerShellMaxCmdletQueueDepth               : Unlimited
    PowerShellMaxDestructiveCmdlets             : Unlimited
    PowerShellMaxDestructiveCmdletsTimePeriod   : Unlimited
    PowerShellMaxCmdlets                       : Unlimited
    PowerShellMaxRunspaces                      : Unlimited
    PowerShellMaxTenantRunspaces                :
    PowerShellMaxRunspacesTimePeriod            : Unlimited
    PswsMaxConcurrency                          : 18
    PswsMaxRequest                              : Unlimited
    PswsMaxRequestTimePeriod                    : Unlimited
    RcaMaxConcurrency                           : Unlimited
    RcaMaxBurst                                 : 150000
    RcaRechargeRate                             : 900000
    RcaCutoffBalance                            : Unlimited
    CpaMaxConcurrency                           : Unlimited
    CpaMaxBurst                                 : Unlimited
    CpaRechargeRate                             : Unlimited
    CpaCutoffBalance                            : Unlimited
    MessageRateLimit                            : Unlimited
    RecipientRateLimit                          : Unlimited
    ForwardeeLimit                              : Unlimited
    DiscoveryMaxConcurrency                     : 15
    DiscoveryMaxMailboxes                       : 20000
    DiscoveryMaxKeywords                        :2000
    DiscoveryMaxPreviewSearchMailboxes          : 5000
    DiscoveryMaxStatsSearchMailboxes            : 1000
    DiscoveryPreviewSearchResultsPageSize       : 2000
    DiscoveryMaxKeywordsPerPage                 : 500
    DiscoveryMaxRefinerResults                  : 500
    DiscoveryMaxSearchQueueDepth                : 128
    DiscoverySearchTimeoutPeriod                : 30
    PushNotificationMaxConcurrency              : 20
    PushNotificationMaxBurst                    : Unlimited
    PushNotificationRechargeRate                : Unlimited
    PushNotificationCutoffBalance               : Unlimited
    PushNotificationMaxBurstPerDevice           : 10
    PushNotificationRechargeRatePerDevice       : 6
    PushNotificationSamplingPeriodPerDevice     : 600000
    EncryptionSenderMaxConcurrency             : 200
    EncryptionSenderMaxBurst                    : 4800000
    EncryptionSenderRechargeRate                : 18000000
    EncryptionSenderCutoffBalance               : Unlimited
    EncryptionRecipientMaxConcurrency           : 20
    EncryptionRecipientMaxBurst                 : 480000
    EncryptionRecipientRechargeRate             : 1800000
    EncryptionRecipientCutoffBalance            : Unlimited
    ComplianceMaxExpansionDGRecipients          : 10000
    ComplianceMaxExpansionNestedDGs             : 25
    IsLegacyDefault                             : False
    Diagnostics                                 :
    Do you have an idea how to get rid of this?
    Thank you.
    Regards
    Carsten

    Hi,
    This issue occurs because the EWS monitoring detects that the limit for the requests that are from a Client Access server to a Mailbox server was reached. Therefore, the Client Access server returns an ErrorServerBusy response code to all EWS requests to
    the Mailbox server.
    To work around this issue, make the following changes in the Web.config file on the Client Access server, The Web.Config file is located in the following path: Drive\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\ews
    1.        Find the following code in the Web.config file:
    <add key="MbxServerEnableConcurrencyControl" value="true" />
    Change the MbxServerEnableConcurrencyControl value from true to
    false.
    2.        Add the following line of code into the Web.config file:
    <add key="DefaultFindCountLimit" value="2000" />
    <add key="MdbFairUnhealthyLatencyThreshold" value="500" />
    3.        Reset IIS to check this issue.
    If this issue persists, I suggest to create a new throttling policy with unlimited settings and applying the policy to those users.
    New-ThrottlingPolicy EWSRCAunlimited
    Get-ThrottlingPolicy EWSRCAunlimited | Set-ThrottlingPolicy -EWSPercentTimeInAD:$null -EWSFindCountLimit:$null -EWSPercentTimeInMailboxRPC:$null -EWSMaxConcurrency:$null -EWSFastSearchTimeoutInSeconds:$null -EWSMaxSubscriptions:$null -EWSPercentTimeInCAS:$null
    -RCAPercentTimeInCAS:$null -RCAPercentTimeInMailboxRPC:$null -RCAMaxConcurrency:$null -RCAPercentTimeInAD:$null
    Set-Mailbox username -ThrottlingPolicy EWSRCAunlimited
    Best Regards.

  • I am being asked to upgrade to iCloud Drive but indications are that I will not be able to access up to date details on any of my documents on my Mac without going into iCloud first.  Have I got this interpretation right or can I save changes to acce

    I am being asked to upgrade to iCloud Drive but indications are that I will not be able to access up to date details on any of my documents on my Mac without going into iCloud first.  Have I got this interpretation right or can I save changes to access the new versions on my iMac?

    That is Apple's statement:
    Using iWork with iCloud Drive - Apple Support
    Options for iWork customers
    You can upgrade to iCloud Drive today if you want to keep your documents up to date in iOS 8 and OS X Yosemite, and you want to use the iWork web apps on iCloud.com and the Share via iCloud feature.
    You can upgrade to iCloud Drive later if you want to keep your documents up to date with your apps on iOS 7 or earlier and OS X Mavericks or earlier.
    Upgrade to iCloud Drive today
    To access the most recent versions of your documents from a Mac with OS X Mavericks or earlier, you’ll need to go to iCloud.com and access Pages, Numbers, and Keynote from there. On a PC, you can install iCloud for Windows and set up iCloud Drive.
    If you upgrade to iCloud Drive now:
    Your documents will keep up to date across devices with iOS 8, Macs with OS X Yosemite, PCs with iCloud for Windows, and iCloud.com.
    Your documents will no longer keep up to date on devices with iOS 7 and Macs with OS X Mavericks or earlier.
    You’ll be able to use the iWork web apps on iCloud.com.
    You’ll be able to use the Share via iCloud feature with iOS 8, OS X Yosemite, and iCloud.com.
    Documents you previously shared via iCloud will be accessible to collaborators.
    Upgrade to iCloud Drive later
    Note that until you upgrade your iCloud account to iCloud Drive, you won’t be able to use the iWork web apps on iCloud.com or the Share via iCloud feature.     If you don’t upgrade to iCloud Drive at this time:
    Your documents will keep up to date across devices with iOS 8 and across devices with iOS 7 and Macs with OS X Mavericks or earlier.
    You won’t be able to use the iWork web apps on iCloud.com.
    You won’t be able to use the Share via iCloud feature.
    Documents you previously shared via iCloud won’t be accessible to collaborators until you upgrade to iCloud Drive.

  • Feb 13, 2013 17,10AM I can't sync my I downloaded the icloud software and it says my ID is a valid Apple ID, but not an icloud ID - this is right after I've set it up as one(When i try to log in on Icloud).  Help!

    Feb 13, 2013 17,10AM I can't sync my downloaded icloud software and it says my ID is a valid Apple ID, but not an icloud ID - this is right after I've set it up as one(When i try to log in on Icloud).  Help

    Are you trying to login to an account you already made (on an iPhone or similar) or create a new iCloud account?

  • The front camera on my iPod touch 4th generation is frozen. I cannot use it. Updating software does not help. This started right after I bought it, new from BestBuy. What can I do?

    The front camera on my iPod touch 4th generation is frozen. I cannot use it. Updating software does not help. This started right after I bought it, new from BestBuy. What can I do? When i go to the camera, it is stuck on a black screen. the only way to use my camera is through other camera apps, but if I try to switch it to the front camera, it freezes again.

    If you still have the problem after retoring the iPOd to factory defaults/new iPod then The iPod is likely defective and replacement is required.  You can make an appoinment at the Genius Bar of an APple store or take it back to BestBuy if within warranty

  • How do i get this put right?

    I hope this post is in the correct area of the forum as I technically do not have a problem with speed...............but i do
    Confusing i know    I shall try explain.
    I was with another ISP on ADSL max until 2 days ago but I noticed that BT were upgrading my local exchange to 21CN so as I was out of contract with my old ISP i decided to move to BT so that I could get better speeds from the 21CN network that was going into my local exchange. My phone line and Broadband were moved to BT on the 10th December, on that day i went into the sam knows website and checked my exchange to find that the 21CN was now enabled in my exchange...............great i thought, perfect timing............not quite it seems as when i look at my router stats I am on G.992.1 Modulation which to the best of my knowledge is the "up to 8Mb" service.
    Could someone with a little more knowledge than me please look at my line stats and confirm what I am thinking please. I appreciate my homehub is only 2 days into its 10 day learning period but from what i can see it is learning the wrong network. If what i think is correct how would i have this put right as I did not leave one up to 8Mb service just to go straight to another. 21CN was my only reason for moving to BT and seems like I am not getting it.....my exchange code is ESKGH so you can check for yourself
    ADSL Line Status
    Connection Information
    Line state:
    Connected
    Connection time:
    2 days, 02:54:57
    Downstream:
    7.938 Mbps
    Upstream:
    448 Kbps
    ADSL Settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.1 Annex A
    Latency type:
    Fast
    Noise margin (Down/Up):
    12.2 dB / 30.0 dB
    Line attenuation (Down/Up):
    5.5 dB / 2.0 dB
    Output power (Down/Up):
    12.0 dBm / 12.1 dBm
    FEC Events (Down/Up):
    0 / 267
    CRC Events (Down/Up):
    62265 / 111
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    HEC Events (Down/Up):
    56415 / 66
    Error Seconds (Local/Remote):
    52568 / 468

    thanks seems it is enabled, so do you know what i would have to do?
    THE BROADBAND AVAILABILITY CHECKER
    Your exchange is ADSL enabled, and our initial test on your line indicates that your line should be able to have an ADSL broadband service that provides a fixed line speed up to 2Mbps.
    Our test also indicates that your line currently supports an estimated ADSL Max broadband line speed of 8Mbps; typically the line speed would range between 7Mbps and 8Mbps.
    Our test also indicates that your line should be able to have an ADSL2+ broadband service that provides a fixed line speed up to 2Mbps.
    Our test also indicates that your line currently supports an estimated ADSL2+ broadband line speed of 17Mbps; typically the line speed would range between 10Mbps and 19.5Mbps. Our test also indicates that your line could support an estimated ADSL 2+ Annex-M broadband upstream line speed of 1.5Mbps and downstream line speed of 17Mbps; typically the downstream speed would range between 10Mbps and 19.5Mbps.
    The actual stable line speed supportable will be determined during the first 10 days of use. This speed may change over time, to ensure line stability is maintained.
    If you decide to place an order, a further test will be performed to confirm if your line is suitable for the service you wish to purchase.
    Thank you for your interest.
    Please note that postcode and address check results are indicative only. Most accurate results can be obtained from a telephone number check.
    Note: If you already have a Broadband service enabled on this line and you want to switch service providers, you will need to contact both your current provider and your new provider to get your service changed over new and existing service provider to have this service transferred.
    Also provision of some services may not be allowed due to product withdrawal, please contact your service provider for further details.

  • Why am I getting ExchangeWebServices Inbox Error: Error, ErrorServerBusy. The server cannot service this request right now. Try again later

    I recently switched my application that uses EWS from an on-premise Exchange Server to Exchage Online through Office356.
    The process worked just fine for several days, then I started getting the following errors;
    Error accessing [USERNAME] email account.; ExchangeWebServices Inbox Error: Error, ErrorServerBusy, The server cannot service this request right now. Try again later. --> 
    This has been happening for the past 14 hours now. 
    I contacted my Office365 support team and they acted like they had never heard of the Exchange Web Services API, so no help there.
    I can access the mailbox using the O365 web portal and I can access the mailbox account using the Outlook 2013 desktop client. The issue seems specific to EWS
    My program is a Windows service, written in VB.Net. It connects to EWS, goes to the user account inbox, iterates through the inbox extracting attachments from messages, then moves the messages to a saved folder below the inbox.
    I created the wrapper for EWS that I can reference in my project code using the following, run from an elevated VS2012 command prompt;
    wsdl.exe /namespace:ExchangeWebServices /out:EWS.cs https://outlook.office365.com/ews/services.wsdl /username:[email protected] /password:p@ssw0rd
    csc /out:EWS_E2K13_release /target:library EWS.cs
    I bind to EWS in my class, using the following code;
    Imports System.Net
    Imports ExchangeWebServices
    Public Class Exchange2013WebServiceClass
        Private ExchangeBinding As New ExchangeServiceBinding
        Public Sub New(ByVal userEmail As String, ByVal userPassword As String, ByVal URL As String)
            ExchangeBinding.Credentials = New NetworkCredential(userEmail, userPassword)
            ExchangeBinding.Url = URL
        End Sub
    The error that is logged gets triggered when my code makes a call to the following method;
        Public Function GetInboxMessageIDs() As ArrayOfRealItemsType
            Dim returnInboxMessageIds As ArrayOfRealItemsType = Nothing
            Dim errMsg As String = String.Empty
            'Create the request and specify the travesal type.
            Dim FindItemRequest As FindItemType
            FindItemRequest = New FindItemType
            FindItemRequest.Traversal = ItemQueryTraversalType.Shallow
            'Define which item properties are returned in the response.
            Dim ItemProperties As ItemResponseShapeType
            ItemProperties = New ItemResponseShapeType
            ItemProperties.BaseShape = DefaultShapeNamesType.IdOnly
            'Add properties shape to the request.
            FindItemRequest.ItemShape = ItemProperties
            'Identify which folders to search to find items.
            Dim FolderIDArray(0) As DistinguishedFolderIdType
            FolderIDArray(0) = New DistinguishedFolderIdType
            FolderIDArray(0).Id = DistinguishedFolderIdNameType.inbox
            'Add folders to the request.
            FindItemRequest.ParentFolderIds = FolderIDArray
            Try
                'Send the request and get the response.
                Dim FindItemResponse As FindItemResponseType
                FindItemResponse = ExchangeBinding.FindItem(FindItemRequest)
                'Get the response messages.
                Dim ResponseMessage As ResponseMessageType()
                ResponseMessage = FindItemResponse.ResponseMessages.Items
                Dim FindItemResponseMessage As FindItemResponseMessageType
                If ResponseMessage(0).ResponseClass = ResponseClassType.Success Then
                    FindItemResponseMessage = ResponseMessage(0)
                    returnInboxMessageIds = FindItemResponseMessage.RootFolder.Item
                Else
                    '' Server error
                    Dim responseClassStr As String = [Enum].GetName(GetType(ExchangeWebServices.ResponseClassType), ResponseMessage(0).ResponseClass).ToString
                    Dim responseCodeStr As String = [Enum].GetName(GetType(ExchangeWebServices.ResponseCodeType), ResponseMessage(0).ResponseCode).ToString
                    Dim messageTextStr As String = ResponseMessage(0).MessageText.ToString
                    Dim thisErrMsg As String = String.Format("ExchangeWebServices Inbox Error: {0}, {1}, {2}", responseClassStr, responseCodeStr, messageTextStr)
                    errMsg = If(errMsg.Equals(String.Empty), String.Empty, errMsg & "; ") & thisErrMsg
                End If
            Catch ex As Exception
                'errMsg = String.Join("; ", errMsg, ex.Message)
                errMsg = If(errMsg.Equals(String.Empty), String.Empty, errMsg & "; ") & ex.Message
            End Try
            If Not errMsg.Equals(String.Empty) Then
                returnInboxMessageIds = Nothing
                Throw New System.Exception(errMsg)
            End If
            Return returnInboxMessageIds
        End Function  
    Since the code worked just fine for several days and then suddenly stopped working with a server busy error, I have to think that this is some type of limit or throttling by EWS on the account. I process several thousand emails per day, in chunks of 300
    at a time. 
    But I have no idea how to check for any limits exceeded. I am nowhere close to my O365 mailbox size limit. Right now, there are over 4,000 messages in my inbox, and growing. 
    Thanks in advance for any ideas you can offer.
    Dave

    All the API's EWS, MAPI, ActiveSync,Remote powershell are throttled on Office365 (based around what 1 particular user could resonably do). If you have had a read of this already i would recommend
    http://msdn.microsoft.com/en-us/library/office/jj945066(v=exchg.150).aspx
     You can't adjust or even find your current throttle usage so you have to try to design your code around living inside the default limits. If your using One Service Account to access multiple Mailboxes (or if that account is because used across multiple
    applications) that can cause problems. In this case using EWS Impersonation is good solution as described in
    http://blogs.msdn.com/b/exchangedev/archive/2012/04/19/more-throttling-changes-for-exchange-online.aspx (this basically means the Target Mailbox is charged instead of the Service Account).
     Looking at the code one thing I notice missing is your don't appear to be paging the results of FindItems, also have versioned your requests to Exchagne2013. eg ". When the value of the
    RequestServerVersion element indicates Exchange 2010 or an earlier version of Exchange, the server sends a failure response with error code
    ErrorServerBusy. If the value of the RequestServerVersion
    element indicates a version of Exchange starting with Exchange 2010 SP1
    or Exchange Online, and the client is using paging, EWS may return a
    partial result set instead of an error"
    To Page FindItems Correctly you should use the IndexedPageViewType class and page the Items at no more the 1000 at a time eg something like
    IndexedPageViewType indexedPageView = new IndexedPageViewType();
    indexedPageView.BasePoint = IndexBasePointType.Beginning;
    indexedPageView.Offset = 0;
    indexedPageView.MaxEntriesReturned = 1000;
    indexedPageView.MaxEntriesReturnedSpecified = true;
    FindItemType findItemrequest = new FindItemType();
    findItemrequest.Item = indexedPageView;
    findItemrequest.ItemShape = new ItemResponseShapeType();
    findItemrequest.ItemShape.BaseShape = DefaultShapeNamesType.IdOnly;
    BasePathToElementType[] beAdditionproperties = new BasePathToElementType[3];
    PathToUnindexedFieldType SubjectField = new PathToUnindexedFieldType();
    SubjectField.FieldURI = UnindexedFieldURIType.itemSubject;
    beAdditionproperties[0] = SubjectField;
    PathToUnindexedFieldType RcvdTime = new PathToUnindexedFieldType();
    RcvdTime.FieldURI = UnindexedFieldURIType.itemDateTimeReceived;
    beAdditionproperties[1] = RcvdTime;
    PathToUnindexedFieldType ReadStatus = new PathToUnindexedFieldType();
    ReadStatus.FieldURI = UnindexedFieldURIType.messageIsRead;
    beAdditionproperties[2] = ReadStatus;
    findItemrequest.ItemShape.AdditionalProperties = beAdditionproperties;
    DistinguishedFolderIdType[] faFolderIDArray = new DistinguishedFolderIdType[1];
    faFolderIDArray[0] = new DistinguishedFolderIdType();
    faFolderIDArray[0].Mailbox = new EmailAddressType();
    faFolderIDArray[0].Mailbox.EmailAddress = "[email protected]";
    faFolderIDArray[0].Id = DistinguishedFolderIdNameType.inbox;
    bool moreAvailible = false;
    findItemrequest.ParentFolderIds = faFolderIDArray;
    int loopCount = 0;
    do
    FindItemResponseType frFindItemResponse = esb.FindItem(findItemrequest);
    if (frFindItemResponse.ResponseMessages.Items[0].ResponseClass == ResponseClassType.Success)
    foreach (FindItemResponseMessageType firmtMessage in frFindItemResponse.ResponseMessages.Items)
    Console.WriteLine("Number of Items retreived : " + ((ArrayOfRealItemsType)firmtMessage.RootFolder.Item).Items.Length);
    if (firmtMessage.RootFolder.IncludesLastItemInRange == false)
    moreAvailible = true;
    else
    moreAvailible = false;
    ((IndexedPageViewType)findItemrequest.Item).Offset += ((ArrayOfRealItemsType)firmtMessage.RootFolder.Item).Items.Length;
    Console.WriteLine("Offset : " + ((IndexedPageViewType)findItemrequest.Item).Offset);
    if (firmtMessage.RootFolder.TotalItemsInView > 0)
    foreach (ItemType miMailboxItem in ((ArrayOfRealItemsType)firmtMessage.RootFolder.Item).Items)
    Console.WriteLine(miMailboxItem.Subject);
    else
    throw new Exception("error " + frFindItemResponse.ResponseMessages.Items[0].MessageText);
    } while (moreAvailible);
    The support people should be able to help you as long as you can get past the first level. The EWS Managed API has a RequestId header that gets submitted with requests
    http://blogs.msdn.com/b/exchangedev/archive/2012/06/18/exchange-web-services-managed-api-1-2-1-now-released.aspx . In theory they should be able to take this and then from the Logs tell more information about why your request failed etc.
    Cheers
    Glen

  • At the top of my homepage, I'm getting a message "Downloading the latest applications", but the circle to the left keeps spinning, and no applications are downloaded. I don't know how to stop this, tried right and left clicking on the bar. This occurs

    At the top of my homepage, I'm getting a message "Downloading the latest applications", but the circle to the left keeps spinning, and no applications are downloaded. I don't know how to stop this, tried right and left clicking on the bar. This occurs every time I open Firefox. How can I stop or disable this?
    == This happened ==
    Every time Firefox opened
    == Several weeks ago.

    See http://kb.mozillazine.org/Software_Update (Software Update not working properly)
    Remove the files in the ''updates'' and ''updates\0'' folder:
    Vista/Windows7:
    C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Mozilla Firefox\ (updates)
    C:\Users\&lt;user&gt;\AppData\Local\VirtualStore\Program Files\Mozilla Firefox\ (updates)
    %LOCALAPPDATA%\Mozilla\Firefox\Mozilla Firefox\updates\

  • Hi! I´m having problems with showing video files in Qlab on my Macbook Air. A sound/video technician told me to "blow out" my Mac. Was told to use  cmd+ r  when restarting. Is this the right way?

    Hi! I´m having problems with showing video files in Qlab on my Macbook Air. It started suddenly. Consulted a sound/video technician who told me to "blow out" my Mac. Was told to use cmd+r  when restarting. Is this the right way to clean up my Mac? And is it likely that some kind of bug is causing problems for Qlab to show video files? I´ve already tried with a bunch of different video files and sometimes Qlab plays them and sometimes not. I need the Qlab playlist for a theatre show and only have a week until showtime so starting to really worry. Is there anyone out there who can help?

    Your Mac runs maintenance in the background for you.
    Command + R gives you access to restore, repair, or reformat the drive using OS X Recovery
    No idea why that was suggested.
    You may have a third party video player installed that's causing an incompatibility issue.
    Check these folders:
    /Library/Internet Plug-Ins/
    /Library/Input Methods/
    /Library/InputManagers/
    /Library/ScriptingAdditions
    ~/Library/Internet Plug-Ins/
    ~/Library/Input Methods/
    ~/Library/InputManagers/
    ~/Library/ScriptingAdditions
    The first four locations listed are in the root-level Library on your hard disk, not the user-level Library in your Home folder.The tilde (~) represents your Home folder.
    To access the Home folder in OS X Lion or Mountain Lion, open the Finder, hold the Option key, and chooseGo > Library.

  • Is this the right program for me?

    I need a program that'll work very well with all of my audio equipment for recording. I need something that is easy to use, but still has nice results. I plan on uploading my recordings as MP3s to a musician myspace. Is this the right thing to purchase?

    Jake, one man's perspective. Your mileage may vary:
    I came to Logic via Garageband, and some experience with ProTools from around five or six years ago. After the usual setup headaches that, quite honestly, were more due to my inexperience than any inherent Logic lameness, I am up and running and quite happy with it.
    I think I benefit from the fact that I pick up new technologies/gadgets/what have you very quickly. In addition, this being the first pro-level recording application I've worked with, I'm pretty much a blank slate -- I can't say "Man, logic f-in ***** compared to Cubase/ProTools/etc." Maybe it does; maybe it doesn't. I just have no real frame of reference, so it's all new and cool to me.
    Also, I suspect my needs are fairly simple relative to the pros on this board. I do guitars/bass/ mando/vox audio, keys and drums (Addictive Drums, yeah!) software instruments, usually about 12-16 tracks. (Musically my stuff is a combo of Django Reinhardt and Black Sabbath, all those minor 6ths doncha know; I also orchestrate stuff written by a friend of mine who's a post-grunge dude from Seattle.)
    I'm totally excited with the sonic possibilities Logic has offered. I love tinkering around with the different plugins/instruments etc to achieve just the right little ear tickle *******. I'm now listening to music in a different way -- and having these little "Oh, that's how Jimmy Page did it! I can do that!" moments which is a pretty awesome experience. Being able to listen to old music in new ways is always a good thing.
    And seriously, for the price I am not sure you can beat it -- the basic studio environment, plus software instruments, plus loops. For a (fairly accomplished) parkin'-lot picker and DIY'er who's doing the Myspace thing, it's everything I want.
    But as to Logic's industrial strength, and applicability to professional environments, I gotta defer to the pros on the board.

  • Purchasing an Airport Express card...Is this the right move?

    Hey Folks,
    I've recently been given an older iMac (it's the all in one purple one from around 99-2000) i talked to two different apple employees in two different stores (chicago and milwaukee) the concensus sounds like i need to purchase the "airport express card" and open up the hatch and install it manually in order to get the wirless internet that is already hooked up in my apartment builing. Is this the right purchase? i'm not clear on if this mac is airport ready, and am worried that 120 bucks later i will find out the hard way, any suggestions/advice?
    thanks everyone!

    Jason my model is most certainly the Mac Rev C, i copied and pasted the information available below, turns out it is the Grape Imac, what does this mean for my wireless connectivity, and does this change my purchasing options, thank you so much for you help!
    CPU
    CPU: PowerPC 750
    CPU Speed: 266 MHz
    FPU: integrated
    Bus Speed: 66 MHz
    Data Path: 64 bit
    ROM: 1 MB ROM + 3 MB toolbox ROM loaded into RAM
    RAM Type: 144 pin SO-DIMM
    Minimum RAM Speed: 100 MHz
    Onboard RAM: 0 MB
    RAM slots: 2
    Maximum RAM: 256 MB
    Level 1 Cache: 32 kB data, 32 kB instruction
    Level 2 Cache: 512 kB backside, 1:2
    Video
    Monitor: 15"
    VRAM: 6 MB SGRAM
    Max Resolution: 24 bit 1024x768
    Storage
    Hard Drive: 6 GB
    ATA Bus: EIDE
    Optical Drive: 24x CD-ROM
    Input/Output
    USB: 2
    Audio Out: stereo 16 bit mini
    Audio In: stereo 16 bit mini
    Speaker: stereo, SRS
    Microphone: mono
    Networking
    Modem: 56 kbps
    Ethernet: 10/100Base-T
    Miscellaneous
    Codename: Lifesavers
    Gestalt ID: 406
    Power: 80 Watts
    Dimensions: 15.8" H x 15.2" W x 17.6" D
    Weight: 40 lbs.
    Minimum OS: 8.5.1
    Maximum OS: 10.3.9
    Introduced: January 1999
    Terminated: April 1999

  • I am having trouble with the initial connection. I have isolated the problem to the cable/ connection. My new hdmi cable has a resolution up to 1080p...does the resolution matter?is this the right hdmi cable for the apple tv?

    I am having trouble with the initial connection of the apple tv. I have isolated the problem to the cable/connection. My new hdmi cable has a resolution up to 1080p...does the resolution matter?is this the right hdmi cable for the apple tv?

    There are only two types of HDMI cables (standard and high speed - listen to all 1.2, 1.3 etc etc nonsense they will try to tell in the store) both types will work with the Apple TV.
    The cable may be faulty though, have you got another to try, what exactly is happening.

  • How to Perform this calculaction in Query

    Hi Experts
    How can i achieve this Calculaction at query Level.
    Data:
    Emp_ID--Wage_IDPayroll_Date--Amount
    1--03925.01.2008-5000
    1--03925.02.2008-5000
    1--03925.03.2008-5000
    1--03925.04.2008-6000
    1--03925.07.2008-6000
    The employee will have No of different Wage types in his pay run.
    But as per my requirment i want to calculacte Employee Salarly.
    Lets Consider Wage Type 039 which is Salarly
    The Cal i need to perform is
    Select the Wage Type 039 and then Select the Latest (25.07.2008) Payroll date and then select the amount assiociated with it for and the 12* amount give salarly
    In the above case aslarly should be 72,000

    Hi,
    Soluition can be the following:
    Put Pay_Roll_date also as a key-figure in your cube and add to columns.
    Add condition (top 1) on keyfigure,
    In Character Assignment tick ïndividual char. and Char combinations.
    Tick also Emp_id and Wage ID. do not tick Pay_Roll_date (the characteristics, not the keyfigure)
    Hide key-figure Pay_roll_date & Amount
    Make calculated keyfigure Salary = 12 * Amount.
    That should do it.
    Udo

  • Im trying to backup an ipad2 with 240 books and photos, it is telling me its going to take 42 hours, can this be right

    Im trying to backup to the cloud my wifes Ipad2.  It has about 250 books on it and lots of pics, its telling me
    its going to take 42 hrs to do this, can this be right?
    Thanks

    Is there a "X" in a circle on the right of progress bar?
    If yes, tap it to stop backup.

Maybe you are looking for

  • Index keywords not getting displayed in alphabetical order

    Greetings to one and all!!1 Why the keywords defined in my index folder, is not getting displayed in alphabetical order..what option am i missing to set?? can anyone help me to achieve this!!! Thankx

  • 16:9 Export Problem for iDVD

    I need to export a project shot on a Panasonic HVX-200 using the P2 cards. For a standard def DVD I down converted the footage from 720 24p to 720x480, 23.98 fps, anamorphic 16:9 sequence. When I export using Quicktime Export I alway get a movie that

  • Job key in employee master

    Hi, I am maintaining Job key in employee master PA30. But I am getting error Object S 50000100 01 does not exist I made following settings. IMG>Personnel Administration>Organizational Data>Organizational Assignment>Organizational Plan Define organiza

  • Optional url redirect

    Hello, I have a button on a page, by clicking this button there should appear a small pop-up window with the question if the user agrees the data. For the moment, I have the following: javascript:confirmDelete('By pressing this button, you confirm th

  • Good receipts

    Hi All, when i am peforming GR the following error ..POSTING ONLY POSSIBLE IN PERIODS 2012/02 AND 2012/01 IN COMPANY CODE RAF1 As per pervious replies to this question i have tried but no result... 1. In OMSY Table these are the things  appering in m