2012-07-24 399 views
1

我不断收到以下错误:Redirection.config无法读取的权限不足

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 
.) 

我想要一个主机名添加到HTTPS:网站在IIS 7的Windows Server 2008上我加IUSR读/修改我的web.config文件。但似乎无法弄清楚redirection.config在哪里和什么地方?

回答

0

您需要确保从提升的命令提示符下运行AppCmd.exe。

0

单击开始 - >键入“命令提示符” - >右键单击命令提示符程序 - >“以管理员身份运行”。 然后运行命令行程序,它应该工作。 此外,您还需要在您的计算机上拥有管理员权限。