Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Redirection.config cannot read due to insufficient permissions

I keep getting the following error:

c:\Windows\System32\inetsrv>appcmd set site /site.name:"WebVTS" /+bindings.[prot
ocol='https',bindingInformation='*:443:webvts.mprinc.com']
ERROR ( message:Configuration error
Filename: redirection.config
Line Number: 0
Description: Cannot read configuration file due to insufficient permissions
. )

I'm trying to add a hostname to an https: site in IIS 7 on Windows Server 2008. I added IUSR read/modify to my web.config file. But can't seem to figure out where and what is redirection.config?

like image 289
cdub Avatar asked Nov 16 '25 10:11

cdub


2 Answers

Click Start-> type "Command Prompt"-> Right click on Command Prompt program->"Run As Admin". Then run Command line programs, it should work. Also you need to have Admin rights on your machine.

like image 156
Palak Avatar answered Nov 18 '25 19:11

Palak


You need to make sure that you run AppCmd.exe from an elevated command prompt.

like image 42
atVelu Avatar answered Nov 18 '25 19:11

atVelu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!