Configuration Error

From: Henry Ma (henry@rcsworks.com)
Date: 02/12/03


From: "Henry Ma" <henry@rcsworks.com>
Date: Wed, 12 Feb 2003 16:31:51 -0500


Hi,
I set
<identity impersonate="true" userName="DomainName/username"
password="password"/>
in web.config, I got error:

Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Could not create Windows user token from the
credentials specified in the config file. Error from the operating system 'A
required privilege is not held by the client. '

But I use the same userName and password for <processModel> section of
machine.config, it is fine.
Why and how to solve it?
Thank you.

My real problem is as follow:
By default, my web service can not access the file on remote machine, so I
changed userName and password in <processModel> section of machine.config
file, it works fine. The problem is my change affects all web services on
one computer, I like to have a solution so that I can set userName and
password for one web service, but not other web services on the same
computer.



Relevant Pages

  • RE: Deploying Data Access Application Block
    ... Rachel ... > bit to utilize the web interface version of the web service. ... > is also a big deal with Windows Server 2003. ... >> below and modify your configuration file appropriately. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: ASP.Net on server with Sharepoint 2003
    ... Have you rebooted the server or at least stopped and started the web service ... "Robin" wrote:> I am trying to get a virtual directory ASP.Net application to work on a> Windows 2003 server that has Sharepoint 2003. ... I have followed the Microsoft> knowledgebase but the error message below still occurs. ... Please review the specific error details> below and modify your configuration file appropriately. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Deploy an ASP Application
    ... I built an ASP application and it runs fine on my local IIS. ... move the application to my web service (ISP) out on the internet. ... An error occurred during the processing of a configuration file ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Consuming a web service in VS 2008 ASP.Net project
    ... Dim ds As New Data.DataSet ... Dim url As New ... This might be because no configuration file was found for your application, or because no endpoint element matching this name could be found in the client element. ... wait until you see what has to be in ASP.Net's Web.config and what must be in a WCF's Web service Web.config to consume a WCF Web service. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: HTTP protocol violation
    ... Since this is an ASP.Net / .Net Framework question, ... machine hosting the web service I get the following error: ... I tried inserting this into my machine configuration file and it did not fix ...
    (microsoft.public.inetserver.iis)