Hi All
I am getting the following error from the web service, but only when
the web service is in an account that is not in the Administrators
group, but this is not an ideal long-term solution.
Unhandled Exception: System.FormatException: WSE839: An HTTP response
was receiv
ed that used the following content type: text/xml; charset=utf-8. The
following
content type was expected: multipart/related; type=application/xop
+xml.
at
Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor(SoapClientMess
age message, String messageContentType)
at
Microsoft.Web.Services3.WebServicesClientProtocol.GetReaderForMessage(Soap
ClientMessage message, Int32 bufferSize)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream,
Boolean asyncCal
l)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodN
ame, Object[] parameters)
Because it works when it is in the Administrators group it would
appear to be permssions related, is there any permission to any
registry/file etc that I need to apply for the APPPOOL acount, nothing
is showing in the event log as to a possible reason that I can
rectify.
Thanks
Shaun
shaun_wilde@hotmail.com - 30 Apr 2007 08:37 GMT
On 30 Apr, 08:18, shaun_wi...@hotmail.com wrote:
> Hi All
>
[quoted text clipped - 33 lines]
>
> Shaun
Okay I can answer this myself - should have thought of it sooner -
used FileMon from sysinternals and trudged through the output
It seems I needed to give the account (or a group it belongs to) write
access to the c:\windows\temp folder - At first I missed it as it was
the csc.exe process - So I guess it is related to some sort of auto-
generated code - e.g. serialization related. Still a bit miffed that
there was nothing in the event logs.