locked
Mailtips could not be retrieved RRS feed

  • Question

  • Hi,

      I recently just received users that feedback that their mailtips in outlook 2010 had the error "Mailtips could not be retrieved".  I had checked that mailtips is owa is working fine except for outlook 2010 clients.  I had also verified the mailtips is enabled on the exchange 2013 server by running "Get-OrganizationConfig | fl mailtip*".

      I had enabled the outlook client logging and below is the result:

    2017/01/09 13:51:59.310: Attempting preferred URL
    2017/01/09 13:51:59.310: Request to URL: https://mail.domain.com/EWS/Exchange.asmx
    2017/01/09 13:51:59.310: Request action: http://schemas.microsoft.com/exchange/services/2006/messages/GetServiceConfiguration
    2017/01/09 13:51:59.310: Request XML: <?xml version="1.0"?>
    <q:Envelope xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/"><q:Header><ex12t:RequestServerVersion Version="Exchange2010"></ex12t:RequestServerVersion></q:Header><q:Body><ex12m:GetServiceConfiguration><ex12m:ActingAs><ex12t:EmailAddress>test2@domain.com</ex12t:EmailAddress><ex12t:RoutingType>SMTP</ex12t:RoutingType></ex12m:ActingAs><ex12m:RequestedConfiguration><ex12m:ConfigurationName>MailTips</ex12m:ConfigurationName></ex12m:RequestedConfiguration></ex12m:GetServiceConfiguration></q:Body></q:Envelope>
    2017/01/09 13:51:59.310: Sending request
    2017/01/09 13:52:00.044: Request sent
    2017/01/09 13:52:00.044: Response error code: 00000000
    2017/01/09 13:52:00.044: HTTP status code: 500
    2017/01/09 13:52:00.044: -------------------------------
    2017/01/09 13:52:00.044: There is an error in request/response.
    2017/01/09 13:52:00.044: XML response:<!DOCTYPE html>
    <html>
        <head>
            <title>Configuration Error</title>
            <meta name="viewport" content="width=device-width" />
            <style>
             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
             p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
             b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
             pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
             .marker {font-weight: bold; color: black;text-decoration: none;}
             .version {color: gray;}
             .error {margin-bottom: 10px;}
             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
             @media screen and (max-width: 639px) {
              pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
             }
             @media screen and (max-width: 479px) {
              pre { width: 280px; }
             }
            </style>
        </head>
        <body bgcolor="white">
                <span><H1>Server Error in '/EWS' Application.<hr width=100% size=1 color=silver></H1>
                <h2> <i>Configuration Error</i> </h2></span>
                <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
                <b> Description: </b>An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
                <br><br>
                <b> Parser Error Message: </b>Unrecognized attribute 'vlaue'. Note that attribute names are case-sensitive.<br><br>
                <b>Source Error:</b> <br><br>
                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code><pre>
    Line 77:     &lt;!--Minimum interval to wait between GC.Collect calls--&gt;
    Line 78:     &lt;add key=&quot;CollectIntervalInMilliseconds&quot; value=&quot;120000&quot; /&gt;
    <font color=red>Line 79:     &lt;add key=&quot;KillBitRefreshTimeInSeconds&quot; vlaue=&quot;86400&quot; /&gt;
    </font>Line 80:   &lt;/appSettings&gt;
    Line 81:   &lt;connectionStrings /&gt;</pre></code>
                      </td>
                   </tr>
                </table>
                <br>
                <b> Source File: </b> C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS\web.config<b> &nbsp;&nbsp; Line: </b> 79
                <br><br>
                <hr width=100% size=1 color=silver>
                <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1069.1
                </font>
        </body>
    </html>
    <!--
    [ConfigurationErrorsException]: Unrecognized attribute &#39;vlaue&#39;. Note that attribute names are case-sensitive. (C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS\web.config line 79)
       at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
       at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
       at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
       at System.Configuration.Configuration.get_AppSettings()
       at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)
    [HttpException]: Unrecognized attribute &#39;vlaue&#39;. Note that attribute names are case-sensitive. (C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS\web.config line 79)
       at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
       at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
       at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
    -->
    2017/01/09 13:52:00.044: -------------------------------
    2017/01/09 13:52:00.044: XML response:<!DOCTYPE html>
    <html>
        <head>
            <title>Configuration Error</title>
            <meta name="viewport" content="width=device-width" />
            <style>
             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
             p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
             b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
             pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
             .marker {font-weight: bold; color: black;text-decoration: none;}
             .version {color: gray;}
             .error {margin-bottom: 10px;}
             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
             @media screen and (max-width: 639px) {
              pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
             }
             @media screen and (max-width: 479px) {
              pre { width: 280px; }
             }
            </style>
        </head>
        <body bgcolor="white">
                <span><H1>Server Error in '/EWS' Application.<hr width=100% size=1 color=silver></H1>
                <h2> <i>Configuration Error</i> </h2></span>
                <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
                <b> Description: </b>An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
                <br><br>
                <b> Parser Error Message: </b>Unrecognized attribute 'vlaue'. Note that attribute names are case-sensitive.<br><br>
                <b>Source Error:</b> <br><br>
                <table width=100% bgcolor="#ffffcc">
                  <tr>
                      <td>
                          <code><pre>
    Line 77:     &lt;!--Minimum interval to wait between GC.Collect calls--&gt;
    Line 78:     &lt;add key=&quot;CollectIntervalInMilliseconds&quot; value=&quot;120000&quot; /&gt;
    <font color=red>Line 79:     &lt;add key=&quot;KillBitRefreshTimeInSeconds&quot; vlaue=&quot;86400&quot; /&gt;
    </font>Line 80:   &lt;/appSettings&gt;
    Line 81:   &lt;connectionStrings /&gt;</pre></code>
                      </td>
                   </tr>
                </table>
                <br>
                <b> Source File: </b> C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS\web.config<b> nbsp;&nbsp; Line: </b> 79
                <br><br>
                <hr width=100% size=1 color=silver>
                <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1069.1
                </font>
        </body>
    </html>
    <!--
    [ConfigurationErrorsException]: Unrecognized attribute &#39;vlaue&#39;. Note that attribute names are case-sensitive. (C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS\web.config line 79)
       at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
       at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
       at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
       at System.Configuration.Configuration.get_AppSettings()
       at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)
    [HttpException]: Unrecognized attribute &#39;vlaue&#39;. Note that attribute names are case-sensitive. (C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS\web.config line 79)
       at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
       at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
       at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
    -->

    Could someone advise if the mailtips fail due to some configuration file error as per logs? 

    Monday, January 9, 2017 2:49 PM

Answers

  • Based on the error above, it seems to be an issue with web.config file of /EWS vdir.

    ...

    <b> Parser Error Message: </b>Unrecognized attribute 'vlaue'. Note that attribute names are case-sensitive.

    ...

    Navigate to C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS\, and check the web.config file and correct above unrecognized or misspelled attribute.


    KrishKT

    • Marked as answer by Zhu-er Monday, January 16, 2017 1:21 AM
    Monday, January 9, 2017 3:19 PM
  • Line 77:     &lt;!--Minimum interval to wait between GC.Collect calls--&gt;
    Line 78:     &lt;add key=&quot;CollectIntervalInMilliseconds&quot; value=&quot;120000&quot; /&gt;
    <font color=red>Line 79:     &lt;add key=&quot;KillBitRefreshTimeInSeconds&quot; vlaue=&quot;86400&quot; /&gt;
    </font>Line 80:   &lt;/appSettings&gt;
    Line 81:   &lt;connectionStrings /&gt;</pre></code>
                      </td>
                   </tr>
                </table>
                <br>
                <b> Source File: </b> C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS\web.config<b> nbsp;&nbsp; Line: </b> 79
              

    Hi Zhu-er,

    According to the error above, it shows that there is a key at line 79 in web.config file (add underline), but compare with the web.config file in my lab, the key does not exist, as below:

    So, try to remove this key in your web.config file, and check again.

    Note: Before removing the key, please backup the web.config file at first.

    Hope this helps,

    Best Regards,



    Niko Cheng
    TechNet Community Support


    Please remember to mark the replies as answers.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    • Edited by Niko.Cheng Tuesday, January 10, 2017 9:09 AM
    • Marked as answer by Zhu-er Friday, January 27, 2017 1:15 AM
    Tuesday, January 10, 2017 9:09 AM

All replies

  • Based on the error above, it seems to be an issue with web.config file of /EWS vdir.

    ...

    <b> Parser Error Message: </b>Unrecognized attribute 'vlaue'. Note that attribute names are case-sensitive.

    ...

    Navigate to C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS\, and check the web.config file and correct above unrecognized or misspelled attribute.


    KrishKT

    • Marked as answer by Zhu-er Monday, January 16, 2017 1:21 AM
    Monday, January 9, 2017 3:19 PM
  • Line 77:     &lt;!--Minimum interval to wait between GC.Collect calls--&gt;
    Line 78:     &lt;add key=&quot;CollectIntervalInMilliseconds&quot; value=&quot;120000&quot; /&gt;
    <font color=red>Line 79:     &lt;add key=&quot;KillBitRefreshTimeInSeconds&quot; vlaue=&quot;86400&quot; /&gt;
    </font>Line 80:   &lt;/appSettings&gt;
    Line 81:   &lt;connectionStrings /&gt;</pre></code>
                      </td>
                   </tr>
                </table>
                <br>
                <b> Source File: </b> C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS\web.config<b> nbsp;&nbsp; Line: </b> 79
              

    Hi Zhu-er,

    According to the error above, it shows that there is a key at line 79 in web.config file (add underline), but compare with the web.config file in my lab, the key does not exist, as below:

    So, try to remove this key in your web.config file, and check again.

    Note: Before removing the key, please backup the web.config file at first.

    Hope this helps,

    Best Regards,



    Niko Cheng
    TechNet Community Support


    Please remember to mark the replies as answers.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    • Edited by Niko.Cheng Tuesday, January 10, 2017 9:09 AM
    • Marked as answer by Zhu-er Friday, January 27, 2017 1:15 AM
    Tuesday, January 10, 2017 9:09 AM
  • Hi all,

    Thanks for the help.  After I had corrected the spelling, it works fine.

    Best Regards

    Monday, January 16, 2017 1:21 AM
  • Had the same error, turned out to be an extra (misconfigured) IIS binding entry for Default Web Site on the Exchange server. Once we removed it and did an IIS reset, it worked OK.
    Friday, May 3, 2019 2:16 AM