开发者

deploying a wcf service web site

开发者 https://www.devze.com 2023-01-20 00:34 出处:网络
I am new to asp.net & IIS. Now I am deploying a web site with wcf service to IIS. The WCF service needs windows authentication, so i have used impersonate attribute in web.config.

I am new to asp.net & IIS. Now I am deploying a web site with wcf service to IIS. The WCF service needs windows authentication, so i have used impersonate attribute in web.config.

But everytime I change my password, the web page is not served and it throws 开发者_如何学JAVAerror. I think it is basic, but I donno.

How I can fix this permanently? Do I need to setup a ASPNET account for website? Please help me.


Create a Windows account where the password doesn't expire and only has the rights needed for the service to operate. Nothing more. Depending on your needs this may need to be an Active Directory account. Then modify the identity element in web.config to use this account to impersonate. identity Element (ASP.NET Settings Schema) shows how the username and password can be encrypted and stored in the registry.

0

精彩评论

暂无评论...
验证码 换一张
取 消