Re: URGENT: Strange Prob With Web.config <<identity> section.

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

From: Sonal (SonalB_at_yahoo.com)
Date: 11/26/04


Date: Fri, 26 Nov 2004 18:43:08 +0530

HI Again,

I located the exact error... How can I resolve This.

Server Error in '/MTest' Application.
----------------------------------------------------------------------------

----
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: Error reading the password from the registry.
Source Error:
Line 86: <identity impersonate="true"
userName="registry:HKLM\Software\MyASP.NET\Identity\ASPNET_SETREG,userName"
password="registry:HKLM\Software\MyASP.NET\Identity\ASPNET_SETREG,passwd"/>
Line 87:
Line 88:   </system.web>
Source File: c:\inetpub\wwwroot\MTest\web.config    Line: 86
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
"Sonal" <SonalB@yahoo.com> wrote in message
news:e24Wmg60EHA.1292@TK2MSFTNGP10.phx.gbl...
> I am trying to impersonate user with windows account.
>
> If   I write following lines in web.config it show error
> <identity impersonate="true" userName="contoso\Jane" password="pass"/>
>
> ERROR:
> Error while trying to run project: Unable to start debugging on the web
> server. Server side-error occurred on sending debug HTTP request.
>
> Make sure the server is operating correctly. Verify there are no syntax
> errors in web.config by doing a Debug.Start Without Debugging. You may
also
> want to refer to the ASP.NET and ATL Server debugging topic in the online
> documentation.
>
>
> On the other hand if i just write like this then error goes aways and
> application starts running...
>
> <identity impersonate="true" userName="" password=""/>
>
>
> I am wondering what is wrong. can any one guide.
>
>
>
>


Relevant Pages

  • Re: SBS SP 1 installation error
    ... Component Name: Microsoft Exchange Forest Preparation ... Component Name: Server Configuration ... Component Name: Windows Server 2003 Configuration ... Component Name: Networking Configuration ...
    (microsoft.public.windows.server.sbs)
  • RE: Problems with passwordless ssh/scp (W2K client , Solaris 8 se rver).
    ... > configuration for the ssh client and server. ... > # This is the ssh client system-wide configuration file. ...
    (SSH)
  • Re: SBS 2003 Misconfigured?
    ... The netgear has a setting for the Internet IP which is set to the ... DNS server address is set to SBS server's ip 192.168.5.109 ... but something else is clearly awry if you can't get DHCP ... Which, based on the configuration you gave, is part of the problem. ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS 2003 Misconfigured?
    ... The netgear has a setting for the Internet IP which is set to the ... DNS server address is set to SBS server's ip 192.168.5.109 ... DHCP working - and as Cliff says, that should be a simple thing. ... Which, based on the configuration you gave, is part of the problem. ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS 2003 Misconfigured?
    ... The netgear has a setting for the Internet IP which is set to the ... DNS server address is set to SBS server's ip 192.168.5.109 ... but something else is clearly awry if you can't get DHCP ... Which, based on the configuration you gave, is part of the problem. ...
    (microsoft.public.windows.server.sbs)