Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2007

Tip: Looking for answers? Try searching our database.

WSE3 (and MTOM?) - Permissions Issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shaun_wilde@hotmail.com - 30 Apr 2007 08:18 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.