Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Wed, 9 Apr 2008 10:33:23 -0500,    group: microsoft.public.exchange.development        back       


Autodiscover Problem   
Hello,

I am having trouble with autodiscover configuration.  I have a custom 
autodiscover application which is trying to obtain the autodiscover xml 
file.  When it tries to obtain the file, the server throws an error about 
the impersonation level.

I have followed all the instructions about configuring autodiscover.  The 
autodiscover app pool is running under the Local Service.

test-outlookwebservices also fails, I can send the trace from that if 
necessary.

Any help would be appreciated.

Thanks,

Mike

----------------------------

POST /autodiscover/autodiscover.xml HTTP/1.1
Content-Type: text/xml
Authorization: Negotiate 
TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAFASgKAAAADw==
Host: plcm-siptest4.siptest4.austin.plcm.com
Content-Length: 0

HTTP/1.1 401 Unauthorized
Content-Length: 83
Content-Type: text/html
Server: Microsoft-IIS/6.0
WWW-Authenticate: Negotiate 
TlRMTVNTUAACAAAAEAAQADgAAAA1goniQ5rYEvbd+/QAAAAAAAAAAAABAAFIAAAABQLODgAAAA9TAEkAUABUAEUAUwBUADQAAgAQAFMASQBQAFQARQBTAFQANAABABoAUABMAEMATQAtAFMASQBQAFQARQBTAFQANAAEADYAcwBpAHAAdABlAHMAdAA0AC4AYQB1AHMAdABpAG4ALgBwAG8AbAB5AGMAbwBtAC4AYwBvAG0AAwBSAHAAbABjAG0ALQBzAGkAcAB0AGUAcwB0ADQALgBzAGkAcAB0AGUAcwB0ADQALgBhAHUAcwB0AGkAbgAuAHAAbwBsAHkAYwBvAG0ALgBjAG8AbQAFADYAcwBpAHAAdABlAHMAdAA0AC4AYQB1AHMAdABpAG4ALgBwAG8AbAB5AGMAbwBtAC4AYwBvAG0AAAAAAA==

X-Powered-By: ASP.NET
Date: Wed, 09 Apr 2008 15:19:37 GMT

<html><head><title>Error</title></head><body>Error: Access is 
Denied.</body></html>
POST /autodiscover/autodiscover.xml HTTP/1.1
Content-Type: text/xml
Authorization: Negotiate 
TlRMTVNTUAADAAAAGAAYALQAAAAYABgAzAAAADYANgBIAAAAGgAaAH4AAAAcABwAmAAAABAAEADkAAAANYKI4gUBKAoAAAAPcwBpAHAAdABlAHMAdAA0AC4AYQB1AHMAdABpAG4ALgBwAG8AbAB5AGMAbwBtAC4AYwBvAG0AYQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBNAFQAVQBDAEsARQBSAF8AVABQAFQANAAyAFAA3oJXhnAX0kcAAAAAAAAAAAAAAAAAAAAAALAyelqi60+faUBVK6E72UVDm9gOSn8kwjHHEd/YIJzPF13o2/rvRQ==
Host: plcm-siptest4.siptest4.austin.plcm.com
Content-Length: 480
Expect: 100-continue

HTTP/1.1 100 Continue

<?xml version="1.0"?>
<Autodiscover xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
  <Request>
    <EMailAddress>administrator@siptest4.austin.plcm.com</EMailAddress>
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
  </Request>
</Autodiscover>
HTTP/1.1 500 Internal Server Error
Date: Wed, 09 Apr 2008 15:19:38 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 5746

<html>
    <head>
        <title>Either a required impersonation level was not provided, or 
the provided impersonation level is invalid</title>
        <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:"Lucida Console";font-size: .9em}
        .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; }
        </style>

    </head>
    <body bgcolor="white">
            <span><H1>Server Error in '/Autodiscover' Application.<hr 
width=100% size=1 color=silver></H1>
            <h2> <i>Either a required impersonation level was not provided, 
or the provided impersonation level is invalid</i> </h2></span>
            <font face="Arial, Helvetica, Geneva, SunSans-Regular, 
sans-serif ">
            <b> Description: </b>An unhandled exception occurred during the 
execution of the current web request. Please review the stack trace for more 
information about the error and where it originated in the code.
            <br><br>
            <b> Exception Details: </b>System.ComponentModel.Win32Exception: 
Either a required impersonation level was not provided, or the provided 
impersonation level is invalid<br><br>
            <b>Source Error:</b> <br><br>
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code>
An unhandled exception was generated during the execution of the current web 
request. Information regarding the origin and location of the exception can 
be identified using the exception stack trace below.</code>
                  </td>
               </tr>
            </table>
            <br>
            <b>Stack Trace:</b> <br><br>
            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre>
[Win32Exception (0x80004005): Either a required impersonation level was not 
provided, or the provided impersonation level is invalid]
   Microsoft.Exchange.ExchangeSystem.RegistryWatcher.IsChanged(Int32 
timeout, WaitHandle cancelEvent) +1046
   Microsoft.Exchange.Diagnostics.ExEventSourceInfo.GetCategory(Int32 index) 
+70
   Microsoft.Exchange.Diagnostics.ExEventLog.IsEventCategoryEnabled(Int16 
categoryNumber, EventLevel level) +52
   Microsoft.Exchange.Diagnostics.ExEventLog.LogEvent(UInt32 eventId, Int16 
category, EventLevel level, EventLogEntryType type, EventPeriod period, 
String periodicKey, Object[] messageArgs) +54
   Microsoft.Exchange.Diagnostics.ExEventLog.LogEvent(EventTuple tuple, 
String periodicKey, Object[] messageArgs) +29
   Microsoft.Exchange.Autodiscover.Default.OnLoad(EventArgs args) +384
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean 
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
</pre></code>
                  </td>
               </tr>
            </table>
            <br>
            <hr width=100% size=1 color=silver>
            <b>Version Information:</b> Microsoft .NET Framework 
Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
            </font>
    </body>
</html>
<!-- 
[Win32Exception]: Either a required impersonation level was not provided, or 
the provided impersonation level is invalid
   at Microsoft.Exchange.ExchangeSystem.RegistryWatcher.IsChanged(Int32 
timeout, WaitHandle cancelEvent)
   at Microsoft.Exchange.Diagnostics.ExEventSourceInfo.GetCategory(Int32 
index)
   at Microsoft.Exchange.Diagnostics.ExEventLog.IsEventCategoryEnabled(Int16 
categoryNumber, EventLevel level)
   at Microsoft.Exchange.Diagnostics.ExEventLog.LogEvent(UInt32 eventId, 
Int16 category, EventLevel level, EventLogEntryType type, EventPeriod 
period, String periodicKey, Object[] messageArgs)
   at Microsoft.Exchange.Diagnostics.ExEventLog.LogEvent(EventTuple tuple, 
String periodicKey, Object[] messageArgs)
   at Microsoft.Exchange.Autodiscover.Default.OnLoad(EventArgs args)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean 
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

[HttpUnhandledException]: Exception of type 
'System.Web.HttpUnhandledException' was thrown.
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean 
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean 
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at 
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& 
completedSynchronously)
--><!-- 

This error page might contain sensitive information because ASP.NET is 
configured to show verbose error messages using <customErrors 
mode="Off"/>. Consider using <customErrors mode="On"/> or 
<customErrors mode="RemoteOnly"/> in production environments.-->
date: Wed, 9 Apr 2008 10:33:23 -0500   author:   Michael

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us