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="tr ue"
userName="regis try:HKLM\Softwa re\MyASP.NET\Id entity\ASPNET_S ETREG,userName"
password="regis try:HKLM\Softwa re\MyASP.NET\Id entity\ASPNET_S ETREG,passwd"/>
Line 87:
Line 88: </system.web>
Source File: c:\inetpub\wwwr oot\MTest\web.c onfig Line: 86
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET
Version:1.1.432 2.573
"Sonal" <So****@yahoo.c om> wrote in message
news:e2******** ******@TK2MSFTN GP10.phx.gbl...
I am trying to impersonate user with windows account.
If I write following lines in web.config it show error
<identity impersonate="tr ue" userName="conto so\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="tr ue" userName="" password=""/>
I am wondering what is wrong. can any one guide.