none
Client issues with Autodiscover, now all IIS related exchange features.

    Question

  • The client could use out of office just fine in OWA, but not in outlook.

    I had done a lot of research and it brought me to having to reinstall the exchange client access role.

    But I’m getting ahead of myself.

    Previously, the client was experiencing issues where the default website was not starting, something else was taking up the ports it needed. We moved the sites to SBS Web Applications and the OWA, activesync etc worked fine. However Autodiscover did not. (PID 4, System was using the ports)

    Previously, Browsing to https://server-1.domain.local/autodiscover/autodiscover.xml brought up the error message:

    <?xml version="1.0" encoding="utf-8" ?>
    - <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
    - <Response>
    - <Error Time="10:49:45.9896765" Id="3215405877">
    <ErrorCode>600</ErrorCode>
    <Message>Invalid Request</Message>
    <DebugData />
    </Error>
    </Response>

    I had done many things to try to resolve this issue, but could not find anything appropriate. One site suggested reinstalling the client access role. This would normally be fine, but the Default Web Site isn’t working.

    Moving the applications to SBS Web Applications again beings the issues:
    https://server-1.domain.local/autodiscover/autodiscover.xml

    Error

    Summary
    HTTP Error 500.19 - Internal Server Error
    The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information
    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x8007000d
    Config Error Configuration file is not well-formed XML
    Config File \\?\C:\Program Files\Microsoft\Exchange Server\ClientAccess\Autodiscover\web.config
    Requested URL https://server-1.domain.local:443/autodiscover/autodiscover.xml
    Physical Path C:\Program Files\Microsoft\Exchange Server\ClientAccess\Autodiscover\autodiscover.xml
    Logon Method Not yet determined
    Logon User Not yet determined
    Config Source
    1:

    And https://server-1.domain.local/owa

    Error

    Summary
    HTTP Error 500.19 - Internal Server Error
    The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information
    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x8007000d
    Config Error Configuration file is not well-formed XML
    Config File \\?\C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\web.config
    Requested URL https://server-1.domain.local:443/owa
    Physical Path C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa
    Logon Method Not yet determined
    Logon User Not yet determined
    Config Source
    1:

    So it appears that OWA is now no longer working as well as the directions I followed on the reinstall from technet assume the default website is working fine.

    Do you know what sort of logs we should be looking for or what could be causing the issue?

    Can the autodiscover work when it's not on the default website?

    Is there anything more that can even be done?


    MCSE 2003, Exchange. MCTS Vista, 7. Administrator of awful, neglected website http://timssims.net
    Tuesday, October 04, 2011 3:57 PM

Answers

  • Hi,

     

    At first, I could like to clarify the first web page you got about Autodiscover. It’s not the error. It proved the Autodisocver works properly on your server. After entering the credentials, it’s normal to get this webpage.

     autodiscover

    I don’t know why you consider it as it’s not working. If you would like to test whether the autodiscover works properly or not, you need the PC installed Outlook client to verify or using the website tool (https://www.testexchangeconnectivity.com/) to test the Autodiscover.

     

    Note: The website tool only suitable to test the internet published autodiscover.

     

    After reviewing other error, I noticed following error message:

     

    The requested page cannot be accessed because the related configuration data for the page is invalid

     

    It seems that the configuration file (web.config or other .xml file) could not be found. I suggest that you could reinstall the IIS on your server. Just like the Jkazama mentioned.

     

    There is a similar thread towards the Exchange virtual directories moving:

     

    Title: Move Exchange Virtual Directories

    URL: http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/2c8c6a5b-a0c7-416f-94af-47c845bcb294/

     

    Regards,

    James
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Thursday, October 06, 2011 12:50 AM
    Moderator

All replies

  • You have not specified what version of SBS you are using ,but, since you mention SBS WEB APPLICATIONS I guess its SBS 2008.

     

    Yes autodiscover works if its not under default website,in fact it should not be under default website in sbs 2008 [SBS is a bit different from normal exchange installations.All Virtual Directories should be under SBS WEB APPLICATIONS.

    As you have already taken the step to reinstall CAS,can you confirm if you followed the official Microsoft steps from SBS repair Guide?It has a script that needs to be run to propererly transfer stuff from Default Web Site to SBS WEB APPLICATIONS.

     

    If not then please follow the repair guide and test again:

    http://technet.microsoft.com/en-us/library/dd767439(WS.10).aspx

     

     

    Tuesday, October 04, 2011 4:07 PM
  • For OWA, what is inside:

    C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\web.config

    Tuesday, October 04, 2011 4:20 PM
  • You have not specified what version of SBS you are using ,but, since you mention SBS WEB APPLICATIONS I guess its SBS 2008.

     

    Yes autodiscover works if its not under default website,in fact it should not be under default website in sbs 2008 [SBS is a bit different from normal exchange installations.All Virtual Directories should be under SBS WEB APPLICATIONS.

    As you have already taken the step to reinstall CAS,can you confirm if you followed the official Microsoft steps from SBS repair Guide?It has a script that needs to be run to propererly transfer stuff from Default Web Site to SBS WEB APPLICATIONS.

     

    If not then please follow the repair guide and test again:

    http://technet.microsoft.com/en-us/library/dd767439(WS.10).aspx

     

     


    Actually I had followed that guide.

     

    In fact, the script was not worknig 100% until... just now when I tried it again.

     

    I ran the Exchange best practices analyzer and cleaned up a TON of warnings (not errors, but still)

     

    Autodiscover still comes to the error:

     
    https://server-1.domain.local/autodiscover/autodiscover.xml
    Server ErrorInternet Information Services 7.0
    Error Summary
    HTTP Error 500.19 - Internal Server Error
    The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information
    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x8007000d
    Config Error Configuration file is not well-formed XML 
    Config File \\?\C:\Program Files\Microsoft\Exchange Server\ClientAccess\Autodiscover\web.config
    Requested URL https://server-1.domain.local:443/autodiscover/autodiscover.xml
    Physical Path C:\Program Files\Microsoft\Exchange Server\ClientAccess\Autodiscover\autodiscover.xml
    Logon Method Not yet determined
    Logon User Not yet determined
     Config Source
        1: ?

     

    OWA comes up with the error:

    https://server-1.domain.local/owa
    Server ErrorInternet Information Services 7.0
    Error Summary
    HTTP Error 500.19 - Internal Server Error
    The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information
    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x8007000d
    Config Error Configuration file is not well-formed XML 
    Config File \\?\C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\web.config
    Requested URL https://server-1.domain.local:443/owa
    Physical Path C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa
    Logon Method Not yet determined
    Logon User Not yet determined
     Config Source
        1: ?

    And externally https://Mail.domain.org/owa leads to:

     

    Server Error

    <fieldset>

    500 - Internal server error.

    There is a problem with the resource you are looking for, and it cannot be displayed.

    </fieldset>

    MCSE 2003, Exchange. MCTS Vista, 7. Administrator of awful, neglected website http://timssims.net
    Tuesday, October 04, 2011 7:52 PM
  • For OWA, what is inside:

    C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\web.config


    Seems to be blank, as is autodiscover.xml.

     

    Also when the iis service is disabled, so it doesn't be used by that service.


    MCSE 2003, Exchange. MCTS Vista, 7. Administrator of awful, neglected website http://timssims.net
    Tuesday, October 04, 2011 8:17 PM
  • "https://Sites/Autodiscover/Autodiscover.xml" [From script]

     

    I think the script binds every url to "Sites".Can you re-run the "Internet Address Management Wizard",Restart Exchange Service's and try again?

    Tuesday, October 04, 2011 8:18 PM
  • "https://Sites/Autodiscover/Autodiscover.xml" [From script]

     

    I think the script binds every url to "Sites".Can you re-run the "Internet Address Management Wizard",Restart Exchange Service's and try again?


    https://Sites/Autodiscover/Autodiscover.xml just brings it to the same site mentioning a malformed xml

     

    I have a small problem as well, the Internet Address Management Wizard refuses to run until I rerun the "Connect to the Internet" wizard.

     

    The "Connect to the Internet" wizard refuses to work because the person who set this server up 3 years ago used a class B address after initially using that wizard, and the wizard accepts only Class C. The gateway is .200.x and the server and workstation addresses are .1.x

     

    To set it up the way it wants it, I'd have to completely screw the network for a bit.


    MCSE 2003, Exchange. MCTS Vista, 7. Administrator of awful, neglected website http://timssims.net
    Tuesday, October 04, 2011 8:30 PM
  • I am not sure about malformed xml as I  donot have a sbs 2008 box with me right now to do the test

     

    You can manually do the stuff that IAMW would do,that is to set the URL's up.Follow:

    http://support.microsoft.com/kb/981954

     

     

    Tuesday, October 04, 2011 8:34 PM
  • Tuesday, October 04, 2011 8:38 PM
  • Hi,

     

    At first, I could like to clarify the first web page you got about Autodiscover. It’s not the error. It proved the Autodisocver works properly on your server. After entering the credentials, it’s normal to get this webpage.

     autodiscover

    I don’t know why you consider it as it’s not working. If you would like to test whether the autodiscover works properly or not, you need the PC installed Outlook client to verify or using the website tool (https://www.testexchangeconnectivity.com/) to test the Autodiscover.

     

    Note: The website tool only suitable to test the internet published autodiscover.

     

    After reviewing other error, I noticed following error message:

     

    The requested page cannot be accessed because the related configuration data for the page is invalid

     

    It seems that the configuration file (web.config or other .xml file) could not be found. I suggest that you could reinstall the IIS on your server. Just like the Jkazama mentioned.

     

    There is a similar thread towards the Exchange virtual directories moving:

     

    Title: Move Exchange Virtual Directories

    URL: http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/2c8c6a5b-a0c7-416f-94af-47c845bcb294/

     

    Regards,

    James
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Thursday, October 06, 2011 12:50 AM
    Moderator
  • I apologize for the ambiguity.I did not mean to imply to re install IIS. Re installing IIS on sbs breaks lots of things and there is a lot of manual work required to put things back in place.
    Thursday, October 06, 2011 8:36 AM