RE: WSE 3.0 errors in event log (may be MTOM related): The value may not be accessed in message stage 0.
- From: "zoho"<hmusthuri@xxxxxxxxx>
- Date: Mon, 09 Jul 2007 20:28:52 GMT
Hi,
We've noticed some strange errors on our production servers running WSE
3.0. From the stack trace it seems it may be MTOM related. The following
two errors occur at the same time:
1. System.InvalidOperationException: The value may not be accessed in
message stage 0.
2. Server cannot clear headers after HTTP headers have been sent.
I'm guessing the first error is causing the second message. Does anyone
have any suggestions for trying to solve this?
I'll include the full event log details below.
Thanks,
Don
--
Don Rixtown
don[dot]rixtown[at]gmail[dot]com
-------- Error 1 --------
Event Type: Error
Event Source: Microsoft WSE 3.0
Event Category: None
Event ID: 0
Date: 2/22/2007
Time: 7:22:59 AM
User: N/A
Computer: MyServer
Description:
HTTP/ASMX Message Receive Failure: System.InvalidOperationException: The
value may not be accessed in message stage 0.
at System.Web.Services.Protocols.SoapMessage.EnsureStage
(SoapMessageStage stage)
at System.Web.Services.Protocols.SoapMessage.get_ContentType()
at Microsoft.Web.Services3.WseProtocol.CheckMtomContentType
(SoapServerMessage message)
at Microsoft.Web.Services3.WseProtocol.CreateRequestSoapEnvelope
(SoapServerMessage message)
at Microsoft.Web.Services3.WseProtocol.GetRequestEnvelopeFromMessage
(SoapServerMessage message)
-------- Error 2 -------- (technically this one is a warning)
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 2/22/2007
Time: 7:22:59 AM
User: N/A
Computer: MyServer
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2/22/2007 7:22:59 AM
Event time (UTC): 2/22/2007 1:22:59 PM
Event ID: 448bdf3298404c2a89a7583fb9861259
Event sequence: 19
Event occurrence: 4
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/MyService-1-128166233616977968
Trust level: Full
Application Virtual Path: /MyService
Application Path: d:\inetpub\wwwroot\MyService\
Machine name: MyServer
Process information:
Process ID: 3024
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: HttpException
Exception message: Server cannot clear headers after HTTP headers
have been sent.
Request information:
Request URL: https://myurl
Request path: /myservice/myservice.asmx
User host address:
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.HttpResponse.ClearHeaders()
at System.Web.Services.Protocols.SoapServerProtocol.WriteException
(Exception e, Stream outputStream)
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type
type, HttpContext context, HttpRequest request, HttpResponse response,
Boolean& abortProcessing)
at
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler
(Type type, HttpContext context, HttpRequest request, HttpResponse
response)
we too run into same problem.But increasing the maxrequestlength in web.config didn't solve the issue for us.
Could you somebody tell how to solve this issue.
Thanks in advance
regards
zoho
BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
.
- Prev by Date: WSE 3.0, Kerberos & Windows Server 2003 (IIS 6.0)
- Next by Date: Re: Securing the ASMX File
- Previous by thread: WSE 3.0, Kerberos & Windows Server 2003 (IIS 6.0)
- Next by thread: Re: Securing the ASMX File
- Index(es):
Relevant Pages
|