Re: Problem with self hosting under the NetworkService account
- From: stcheng@xxxxxxxxxxxxxxxxxxxx ("Steven Cheng")
- Date: Tue, 11 Nov 2008 09:54:59 GMT
{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}{\f1\fswiss\fprq2\fcharset134 System;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi Dave,
\par
\par Have you got any progress on this issue or have any new findings on this issue?
\par
\par Sincerely,
\par
\par Steven Cheng
\par
\par Microsoft MSDN Online Support Lead
\par
\par
\par Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx
\par \pard\li720 --------------------
\par From: stcheng@xxxxxxxxxxxxxxxxxxxx ("Steven Cheng")
\par Organization: Microsoft
\par Date: Thu, 06 Nov 2008 06:16:45 GMT
\par Subject: Re: Problem with self hosting under the NetworkService account
\par
\par
\par Thanks for your reply Dave,
\par
\par Yes, the problem I refered is due to access permission while the problem you encounter report a "Null Reference" error directly. Currently, I'm thinking two means to further troubleshoot the issue:
\par
\par 1. I'm wondering whether it's the http endpoint channel that cause the issue. I suggest you try configuring the WCF service via Tcp channel to see whether the same problem occurs. If the problem doesn't occur for TCP channel, that means there is still something wrong with the HTTP url registering.
\par
\par 2. If you can also repro the problem on non-vista box, would you try creating a simplified repro solution with a simple WCF service that can repro the same behavior. thus, I can try performing some test on my side. We may need to use debugger to have alook at the detailed exception info.
\par
\par Sincerely,
\par
\par Steven Cheng
\par
\par Microsoft MSDN Online Support Lead
\par
\par
\par Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx
\par
\par \pard\li1440 --------------------
\par From: "Dave Burns" <dburns@xxxxxxxxxxxxxxxx>
\par References: <uJXqQ7qPJHA.4908@xxxxxxxxxxxxxxxxxxxx> <R8AgTjvPJHA.312@xxxxxxxxxxxxxxxxxxxxxx>
\par Subject: Re: Problem with self hosting under the NetworkService account
\par Date: Wed, 5 Nov 2008 11:01:34 -0600
\par
\par I see this problem on XP as well. On Vista I run as an Administrator, on XP
\par as well during the install of the service.
\par
\par Also, I am not getting an AddressAccessDeniedException, I am getting an
\par NullReferenceException.
\par
\par Any other ideas?
\par
\par Thanks, Dave
\par
\par
\par ""Steven Cheng"" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
\par news:R8AgTjvPJHA.312@xxxxxxxxxxxxxxxxxxxxxxxxx
\par > Hi Dave,
\par >
\par > From your description, your windows service hosted WCF service report
\par > exception at startup time, correct?
\par >
\par > According to the error message and code snippet you provided, I think the
\par > code and configuration should be ok. And since changing account will make
\par > the result different, the problem is likely to be a permission specific
\par > issue.
\par >
\par > So far, based on my experience, there is a potential issue(which might be
\par > caused by unsufficient permission) when initilaize the WCF host. That's
\par > the
\par > registring of the http listening url on vista machine. Based on the
\par > computer name and wcf configuration, I think your dev box is a vista box
\par > and you're using http channel, therefore, I think it is likely the cause.
\par >
\par > Here is a web article which mentioned detailed information on registering
\par > http url on vista machine(for a certain user account). You can try
\par > granting
\par > the http url (You want to use for your WCF endpoint) access permission to
\par > the service account:
\par >
\par > #AddressAccessDeniedException: HTTP could not register URL
\par > http://+:8080/<\f1\'a1\'ad\f0 >.
\par > http://blogs.msdn.com/paulwh/archive/2007/05/04/addressaccessdeniedexception
\par > -http-could-not-register-url-http-8080.aspx
\par >
\par > Sincerely,
\par
\par \pard
\par
\par }
- References:
- Problem with self hosting under the NetworkService account
- From: Dave Burns
- RE: Problem with self hosting under the NetworkService account
- From: "Steven Cheng"
- Re: Problem with self hosting under the NetworkService account
- From: Dave Burns
- Re: Problem with self hosting under the NetworkService account
- From: "Steven Cheng"
- Problem with self hosting under the NetworkService account
- Prev by Date: RE: WCF length quota (16384) has been exceeded while reading XML data.
- Next by Date: Re: Best Practice for Web Service Design - Method Parameters and Data Type Validation
- Previous by thread: Re: Problem with self hosting under the NetworkService account
- Next by thread: Best Practice for Web Service Design - Method Parameters and Data Type Validation
- Index(es):
Relevant Pages
|