WeyCell
WeyCell

Reputation: 293

Config Error Failed to decrypt attribute 'password'

Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x8007000d
Config Error Failed to decrypt attribute 'password'
Config File Unavailable (Config Isolation)

When i run my app im getting this error and i couldn't find any solution please help?

Upvotes: 12

Views: 32553

Answers (5)

WeyCell
WeyCell

Reputation: 293

I resolved the issue. The problem was C:\Windows\System32\inetsrv\config\applicationHost.config file. In the config file, I deleted username and password definitions for applications and it worked well.

Upvotes: 15

BurnWithLife
BurnWithLife

Reputation: 364

I had the same problem and I changed the Physical Path under the website's advanced settings to a dummy path then changed it back, then it started working.

Upvotes: 0

PhillyNJ
PhillyNJ

Reputation: 3901

This is one of those mystery errors. For me, the issue occurred when we cloned a development server. When I went to reconfigure some the sites in IIS on the cloned server, one of the sites threw this error. You need to delete all the sites that shared the same app pool in IIS and recreate them.

Upvotes: 2

Alexandre Smialoski
Alexandre Smialoski

Reputation: 71

I had the same issue after clone a Web Server.

Solution:

Source Server:

aspnet_regiis -px "iisConfigurationKey" "C:\temp\iisConfigurationKey.xml" -pri 
aspnet_regiis -px "iisWasKey" "C:\temp\iisWasKey.xml" -pri 

Destination Server:

aspnet_regiis -pi "iisConfigurationKey" "C:\temp\iisConfigurationKey.xml" 
aspnet_regiis -pi "iisWasKey" "C:\temp\iisWasKey.xml"

And, at the final, copy applicationhost.config from the source server to destination server.

Upvotes: 7

Rots
Rots

Reputation: 5586

I fixed this by disabling Anonymous Access in the application, then re-enabling it immediately. No IIS restart necessary.

Upvotes: 1

Related Questions