ERROR - The element 'MailboxSearchScope' in namespace has invalid child element 'ExtendedAttributes'

hi everyone,
i'm using exchange server 2013 and write following code for getting searchable mailboxes and getting emails from these searchable mailboxes but i'm getting following error on "SearchMailboxes" function.
Code:
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013);
        service.Credentials = new WebCredentials("[email protected]", "test123");
        service.AutodiscoverUrl("[email protected]", RedirectionUrlValidationCallback);
        GetSearchableMailboxesResponse gsMBResponse = service.GetSearchableMailboxes("example*", false);
        MailboxSearchScope[] msbScope1 = new MailboxSearchScope[gsMBResponse.SearchableMailboxes.Length];
        Int32 mbCount1 = 0;
        foreach (SearchableMailbox sbMailbox in gsMBResponse.SearchableMailboxes)
            msbScope1[mbCount1] = new MailboxSearchScope(sbMailbox.ReferenceId, MailboxSearchLocation.PrimaryOnly);
            mbCount1++;
        SearchMailboxesParameters smSearchMailbox1 = new SearchMailboxesParameters();
        MailboxQuery mbq1 = new MailboxQuery("attachment:'.xls'", msbScope1);
        MailboxQuery[] mbqa1 = new MailboxQuery[1] { mbq1 };
        smSearchMailbox1.SearchQueries = mbqa1;
        smSearchMailbox1.PageSize = 1000;
        smSearchMailbox1.ResultType = Microsoft.Exchange.WebServices.Data.SearchResultType.PreviewOnly;
        service.TraceEnabled = true;
        ServiceResponseCollection<SearchMailboxesResponse> srCol1 = service.SearchMailboxes(smSearchMailbox1);
ERROR:
The request failed schema validation: The element 'MailboxSearchScope' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types' has invalid child element 'ExtendedAttributes' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types'."}
anyone have idea to solve this?
Thanks

Check to make sure you have the latest version of the managed API.
https://github.com/OfficeDev/ews-managed-api/

Similar Messages

  • Error:The table 'table1' refers to an invalid DataSetName 'dataList'

    I am getting this error The table 'table1' refers to an invalid DataSetName 'dataList' 
    I check the data set name and it is spelled correct 
    what might be the reason for this error 

    Hi Developer,
    In SQL Server Reporting Services, when you changed a dataset name or try to point to another dataset name, this error message is often generated as a result. This is because you have referred to a wrong dataset.
    To troubleshoot this issue, we should make sure the desired dataset is created correctly without any error firstly. Then right-click the table which does cause the trouble to open the Properties dialog box, and then select the desired dataset under the Dataset
    name drop-down list in the General tab. If the issue is still existed, please recreate the table to test again.
    The following similar thread is for your reference:
    http://social.technet.microsoft.com/Forums/en-US/5db17dc5-044e-4c0a-8dfd-dd4feceec6fe/rsinvaliddatasetname-the-table-table1-refers-to-an-invalid-datasetname-dataset1?forum=sqlreportingservices
    If there are any other questions, please feel free to ask.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Licencing Photoshop Elements 13 has error 'The serial number you entered is invalid.'

    I had a trail version of Photoshop Elements 13 that I wanted to buy and licence.  I bought the product and got the serial number, but whenever I try to licence the trial version with the serial number it says 'The serial number you entered is invalid'.
    I can't find a solution anywhere, can anyone help?

    contact adobe support by clicking this link and then clicking 'still need help' as soon as it appears, https://helpx.adobe.com/contact.html

  • 500Internal Server Error The Web Dynpro application PageBuilder has expired

    hi all ,
    i am using public url domain to access my portal through internet . i have done a reverse proxy using apache . from my server url i am able to get every page . from public url i am not able to view my webdynpro applications . its showing the following error
    500   Internal Server Error
      SAP J2EE Engine/7.01 
      The Web Dynpro application 'PageBuilder' has expired. Restart the application. Choose 'Refresh' in the iView tray or use the browser 'Refresh' button to restart the iView
      Details:   No details available
    i  got this log file in the portal
    Full Message Text
    Session unknown: Request with URI=/webdynpro/dispatcher/sap.com/pb/PageBuilder was sent to unknown session. Either request with wrong session parameters was sent, or session has expired before Wed Oct 20 21:47:46 IST 2010. Current request parameters={sap-ext-sid=DL7cHVE6DiKdbE9gwYkSdg5A6q8C_OKOzgxi0HoLa2iw, sap-wd-cltwndid=WID1287644121668, sap-wd-norefresh=X, sap-ep-version=7.0104.20090422102234.0000}. Is termination request=false. Request was sent from host with IP=172.31.11.95/name=172.31.11.95. Hint: see SAP note 842635 for more details on session expiration. RID=a16ac995dcdf11dfb3e70021281821ee
    [EXCEPTION]
    com.sap.tc.webdynpro.clientserver.session.SessionExpiredLongJumpException: Session has expired (current request: follow-up request). Please restart the application. Hint: HttpSession seems to be expired due to user inactivity or application is called with wrong URL parameter (sap-wd-norefresh=X).
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.findClientSession(RequestManager.java:258)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:146)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    can anybody helpme in this issue

    Hello,
    Please see this post:
    The Web Dynpro application 'PageBuilder' has expired
    I think the problem is solved in this post.
    Regards.

  • Error: The font 'HelveticaNeue-UltraLight' contains an invalid encoding.

    Keep getting this warning everytime I open a form I'm working on.  "The font 'HelveticaNeue-UltraLight' contains an invalid encoding. Some characters may not display."  Have found several threads about this but none with any good answers it seems.  Anybody encounter this one yet?
    Thanks!

    Might have solved it in a round about way. Exported all pages out seperately and then re-assembled them and the error went away.

  • Csom error The property or field 'LoginName' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.

    Hi sir,
    When I have get the value of project owner the error is occured
    The property or field 'LoginName' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
    vijay

    Hi Vijay,
    The owner details are not loaded by default when you load all projects.
    You have to make sure the details of the project owner are loaded before you can access them:
    foreach (PublishedProject pubProj in projContext.Projects){
    User owner = pubProj.Owner;
    projContext.Load(owner);
    projContext.ExecuteQuery();
    Console.WriteLine(owner.LoginName);

  • Getting error The uploaded file BSDM_FROZEN_WORKBENCH.xml is invalid. The file should be in XML-DATA-TEMPLATE format.

    the file looks to be in the correct format and I have created similar data definitions--can anyone see something that I am missing?
    any help is very appreciated

    Via a XML Editor the following is signalled...
    <element name="supply_qty_37                    
    dataType="NUMBER" 
    value="supply_qty_37"/>
    Required white space was missing.
    You are missing the double quote after supply_qty_37
    Correct it into
    <element name="supply_qty_37"                    
    dataType="NUMBER" 
    value="supply_qty_37"/>
    ...and your XML file is wellformed.

  • CS6 Error: The serial number you entered has been revoked. This product cannot be installed. HELP.

    The serial number you entered has been revoked. This product cannot be installed. HELP.

    You need to contact Adobe Support either by chat or via phone when you have serial number and activation issues.
    Here are some links to help make contact:
    http://www.adobe.com/support/chat/ivrchat.html
    http://www.adobe.com/support/download-install/supportinfo/

  • Device Enrollment - Error: The server certificate for "myserver" is invalid?

    Hello,
    I am attempting to enroll my iPhone in the Lion Server Profile Manager.  I have aquires and SSL certificate on my Lion Server but do not have a code signing certificate. From my iPhone, I can log into http://myserver.mydomain.lan/mydevices and log in using my AD credentials when I try to install the Device Enrollment Profile I am prompted with the following message: The server certificate for "https://myserver.mydomain.lan/devicemanagment/api/device/ota_service" is invalid.
    Not sure how to get around this...
    I am using AD with an extended schema and was not sure if MDM absolutely requires OD credentials or if I could use my AD credentials when enrolling a device.  I was also unsure if I needed the code signing certificate which appears to be a bit pricey from Go-Daddy.  I am just test bedding MDM and do not wish to go through the expense of a code signing certificate at this point.
    Has anyone else encountered this problem?
    Thanks,
    Ray

    Not sure if this will help, but we encountered the same problem.  Our workaround was to click on the "Profiles" tab & install the Trust Profile first (not the Everyone Profile) and then enroll the device.  That seemed to work, but I don't know what's causing that error message.  Hopefully someone with more knowledge than me can answer that one.

  • jsp:useBean error== The value for useBean class is invalid

    Can anybody tell me why am i getting the error for the JavaBean.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /SimpleBean.jsp(9,0) The value for the useBean class attribute com.stardeveloper.bean.test.SimpleBean is invalid.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1272)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1178)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3426)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:216)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.
    Apache Tomcat/6.0.20
    my jsp file is in path c:\tomcat6\webapps\dev\SimpleBean.jsp
    my JavaBean compiled class is in path
    c:\tomcat6\webapps\dev\WEB-INF\classes\com\stardeveloper\bean\test\SimpleBean.class
    and my SimpleBean java class declaration is
    package com.stardeveloper.bean.test;
    public class SimpleBean implements java.io.Serializable
    and my jsp page SimpleBean.jsp pages call to useBean is as follows
    <jsp:useBean id="simple" class="com.stardeveloper.bean.test.SimpleBean">
         <jsp:setProperty name="simple" property="name" value="Sujoy" />
         <jsp:setProperty name="simple" property="age" value="26" />
    </jsp:useBean>
    Please help me anybody.

    First, try restarting Tomcat :-)
    Main 3 reasons for "useBean class is invalid"
    - class must be in a package (ok)
    - class must be public, and have public constructor that takes no arguments (check)
    - class must be compiled, valid and on the classpath. Normally this means the WEB-INF/classes directory.
    From what you have told us, everything seems to check out.
    Try recompiling the .class file to ensure it is valid.
    Does your constructor do anything which might thrown an exception?
    Can you invoke it in scriptlet code without getting an exception?
    <%@ page import="com.stardeveloper.bean.test.SimpleBean" %>
    <% SimpleBean sb = new SimpleBean() %>Trying it in scriptlet code like this might give you a different error message that might help your diagnosis.
    cheers,
    evnafets

  • Getting an error "The app's distribution certificate is invalid" while submitting for review in itunes connect.

    I have encountered this error while "Submitting for review" in iTunes connect.
    I have uploaded binary 10 days back, my metadata got rejected by apple, i have encountered this error while submitting the metadata again.
    Please help me understand what it meant.
    Thanks,

    I got the same error now. How did you fix it?

  • Service call error: The provided URI scheme 'https' is invalid; expected 'http'.

    I am making a service to service call on Server 2012R2 via https and I receive the error above.  Works fine via http: . Both services are hosted in the .Net v2.0 app pool on the same VM.
    Below are the bindings from the web.config files for both client and provider.
    Client:
      <bindings>
        <wsDualHttpBinding>
          <binding name="wsDualHttp" receiveTimeout="02:00:00" maxReceivedMessageSize="8388608">
            <readerQuotas maxStringContentLength="8388608" maxNameTableCharCount="32768" />
            <security mode="None" />
          </binding>
        </wsDualHttpBinding>
        <wsHttpBinding>
          <binding name="wsHttp" maxReceivedMessageSize="8388608">
            <readerQuotas maxStringContentLength="8388608" maxNameTableCharCount="32768" />
            <security mode="None"/>
          </binding>
          <binding name="wsHttpMessageEncryption" maxReceivedMessageSize="8388608">
            <readerQuotas maxStringContentLength="8388608" maxNameTableCharCount="32768" />
            <security mode="Message">
              <message clientCredentialType="None" negotiateServiceCredential="true" />
            </security>
          </binding>
          <binding name="wsHttps" maxReceivedMessageSize="8388608">
            <readerQuotas maxStringContentLength="8388608" maxNameTableCharCount="32768" />
            <security mode="Transport">
              <transport clientCredentialType="None" proxyCredentialType="None" realm=""/>
              <message clientCredentialType="Certificate" algorithmSuite="Default" />
            </security>
          </binding>
        </wsHttpBinding>
      </bindings>
    Provider:
    <bindings>
          <basicHttpBinding>
             <binding name="basicHttpBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
    bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="4194304" maxBufferPoolSize="524288" maxReceivedMessageSize="4194304" messageEncoding="Text" textEncoding="utf-8"
    transferMode="Buffered" useDefaultWebProxy="true">
               <readerQuotas maxDepth="32" maxStringContentLength="4194304" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
    < security mode="Transport" />
            </binding>
          </basicHttpBinding>
    < /bindings> 

    Hi John Babilon,
    For creating a HTTPS WCF Service, we need to setup the IIS and configure the web.config file. For example it requires an SSL certificate to be registered with IIS and we need to use the mexHttpsBinding binding for the IMetadataExchange contract or setting
    the httpsGetEnabled="true".
    For more information, please try to refer to the following articles:
    #How to: Configure an IIS-hosted WCF service with SSL:
    https://msdn.microsoft.com/en-us/library/hh556232%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396 .
    #Seven simple steps to enable HTTPS on WCF:
    http://www.codeproject.com/Articles/36705/simple-steps-to-enable-HTTPS-on-WCF-WsHttp-bindi .
    Besides, it will be better if you can post your config file with endpoint and other configuration as well in here.
    Thanks for your understanding.
    Best Regards,
    Amy Peng
    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.
    Click
    HERE to participate the survey.

  • Help! Starting Premiere Elements 10: A problem has occured with the licensing... Error 213:11.

    When starting the product, this error comes up:
    I tried several reinstalls with/without admin rights, with/without diabled antivir software, as testversion and with a valid licence key. All under Windows 7 32bit.
    What can I do?
    Thx, Guenter

    Configuration Error the steps should still be applicable for Premiere Elements 10.  For the best assistance, I recommend our chat support at http://adobe.ly/tl8Vx7.  Our chat representatives can provide a personalized experience to resolve the issue you have described.

  • Error for EC-CS : The dependent char. partner unit contains invalid value?

    Hi,
    We are using PC consolidation and while doing rollup for p1/2011 facing following error:
    The dependent char. partner unit contains invalid partner unit. We are facing this error only for one newly created GL/Fs item and that to for some company codes/consol groups.
    The intercompany transaction created in FI is not rolling to EC-CS thru CXCD rollup.

    Hi,
    We need to maintain the default values in transaction - CXOAA.
    The issue is solved.
    Njoy
    Siva

  • How to fix: the share operation master file has failed quicktime error: -50

    So Whenever i export my HD 1080p file in FCPX 10.0.8 i get this error "the share operation master file has failed quicktime error: -50"
    Please help!!!!
    It happens about 12% of the way in. My movie is only 10 minutes long.

    Download it. Quit FCPX. select FCPX in this tool and and click on trash. Restart FCPX and try again to export. Empty trash. It will do no harm but you have to set your settings in preferences in FCPX after that. Every application has preferences files and they can become corrupt. FCPX will build new fresh preferences after you open it.

Maybe you are looking for