none
Mapi always prompt login window, even I input right information, then cannot get anythings from exchange RRS feed

  • Question

  • I am trying to wring a program which is using mapi to get mail form exchange server. However, some day, the program have some problem.  Even I input right information, it keep prompt. After I input three or four times, it's gone. But it still cannot get anythings form exchange server.

    Moreover, when I try to use MFCMAPI, the login window still will prompt.

    Can someone help me to solve this?
    ---------------------------------------------
    MAPI CDO Version: 6.5.8353
    ---------------------------------------------
    get-outlookanywhere | fl

    RunspaceId : 4d9fdfbb-1f01-47fb-bb65-3cbc7cbe6c90
    ServerName : XXXX-YYY-MAIL
    SSLOffloading : False
    ExternalHostname : mail.xxx.hk
    InternalHostname : mail.xxx.hk
    ExternalClientAuthenticationMethod : Negotiate
    InternalClientAuthenticationMethod : Ntlm
    IISAuthenticationMethods : {Basic, Ntlm, Negotiate}
    XropUrl :
    ExternalClientsRequireSsl : True
    InternalClientsRequireSsl : True
    MetabasePath : IIS://Xxxx-YYY-Mail.XXX.local/W3SVC/1/ROOT/Rpc
    Path : C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\rpc
    ExtendedProtectionTokenChecking : None
    ExtendedProtectionFlags : {}
    ExtendedProtectionSPNList : {}
    AdminDisplayVersion : Version 15.0 (Build 1473.3)
    Server : XXXX-YYY-MAIL
    AdminDisplayName :
    ExchangeVersion : 0.20 (15.0.0.0)
    Name : Rpc (Default Web Site)
    DistinguishedName : CN=Rpc (Default Web
    Site),CN=HTTP,CN=Protocols,CN=XXXX-YYY-MAIL,CN=Servers,CN=Exchange Administrative
    Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=XXXX,CN=Microsoft
    Exchange,CN=Services,CN=Configuration,DC=XXXX,DC=local
    Identity : XXXX-YYY-MAIL\Rpc (Default Web Site)
    Guid : c877cde9-88e2-47f2-af3f-c0a7a1bab224
    ObjectCategory : XXXX.local/Configuration/Schema/ms-Exch-Rpc-Http-Virtual-Directory
    ObjectClass : {top, msExchVirtualDirectory, msExchRpcHttpVirtualDirectory}
    WhenChanged : 08/04/2019 14:25:14
    WhenCreated : 20/03/2015 12:46:27
    WhenChangedUTC : 08/04/2019 13:25:14
    WhenCreatedUTC : 20/03/2015 12:46:27
    OrganizationId :
    Id : XXXX-YYY-MAIL\Rpc (Default Web Site)
    OriginatingServer : Xxxx-Yyy-dc11.XXXX.local
    IsValid : True
    ObjectState : Changed
    ---------------------------------------------

    Please help me.
    Wednesday, May 8, 2019 4:31 PM