Re: Problem with self hosting under the NetworkService account

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



{\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 }

Relevant Pages

  • Re: Problem with self hosting under the NetworkService account
    ... the problem I refered is due to access permission while the problem you encounter report a "Null Reference" error directly. ... \par Thanks, Dave ... \par> and you're using http channel, therefore, I think it is likely the cause. ... \par> http url on vista machine. ...
    (microsoft.public.dotnet.framework.webservices)
  • @@@@@just importing as opposed to a declaration with respect to the midnight is too oral for Hassan
    ... Dave will discharge the times. ... Tomorrow Mustapha will sentence the limitation, ... kill monkeys unless Daoud will onwards serve afterwards. ... canadian for Marion to account it. ...
    (sci.crypt)
  • Re: Whos to blame?
    ... In article, Dave D says... ... His account is thus- The road was empty, and in any case easily wide ... Impatient Astra driver went and overtook the ... 4x4 just as it started to turn into the entrance. ...
    (uk.rec.driving)
  • Re: How to clear items
    ... I will go further out on my limb and suggest that you and dave ... Oh, c'mon, Davoud!! ... The OP asked a question and received several answers, one being the 'normal' way to handle the situation: create a user account for your niece. ...
    (comp.sys.mac.system)
  • Re: EFS recovery problem
    ... that the account was renamed from Dave User to Dave. ... however, logging into admin and checking Local Security Policy, ... > have not impact on the operation of EFS, ...
    (microsoft.public.windowsxp.security_admin)