Reputation: 456
File -> New -> Website -> ASP.NET Web Forms Site -> OK
Configuring IIS Express failed with the following error:
Filename: redirection.config
Error: Cannot read configuration file
So I've tried several solutions. I checked and already have IIS Express installed. I also am running as admin. I don't know what else to do and googling just tells me to turn it on (it's checked in my tools options)
File -> New -> Project -> ASP.NET WebApplication -> Web Forms Template -> Ok
Unspecified error(Exception from HRESULT: 0x80004005 (E_FAIL))
Are these related? Why can't I do anything related to ASP? My Documents folder is not encrypted.
Result: I eventually got a new computer where this problem did not occur, so I did not personally solve this problem. Sorry.
Upvotes: 1
Views: 4836
Reputation: 103
In my case it worked fine after I went to IISExpress folder Documents\IISExpress\config and unchecked the "encrypt content to segure data" cause by default win 8.1 will encrypt it.
Upvotes: 0
Reputation: 33
Same issue due to having IIS Express 10.
Resolved by clicking Repair on it in Programs & Features. Took 5 seconds and it was fixed.
Upvotes: 2
Reputation: 325
User\Documents\IISExpress\config files try to uncheck Read Only property
Upvotes: 0
Reputation: 56
I was having the same issue. Here's what worked for me.
IISExpress will create the necessary .configs in a brand new "config" folder.
Upvotes: 4