在网上下载的代码打开出错,麻烦看下:
unable to open the web site 'http://localhost:/OI/OI.csproj'.to access local IIS Web site,you must run Visual Studio in the context of an administrator account.In addition,you must install the following IIS components: Windows AuthenticationFor more information,press F1
环境:
windows7
vs2008之前在2003的系统可以正常调试运行的
unable to open the web site 'http://localhost:/OI/OI.csproj'.to access local IIS Web site,you must run Visual Studio in the context of an administrator account.In addition,you must install the following IIS components: Windows AuthenticationFor more information,press F1
环境:
windows7
vs2008之前在2003的系统可以正常调试运行的
工程文件路径有问题吧,怎么有个:号?再就是用管理员身份运行vs
根据错误提示,请检查:
1、以管理员身份打开你部署在IIS上的Web项目???
2、IIS 安装的时候是不是没有安装Windows Authentication这个IIS的组件???感觉是你IIS的问题,安装不完全,或配置不对。
提示是缺Windows Authentication这个组件。。
控制面板---->卸载程序---->打开或关闭window功能------>Internet服务信息------>万维网服务------>把windows身份验证
unable to open the web site 'http://localhost:/OI/OI.csproj'.to access local IIS Web site,you must run Visual Studio in the context of an administrator account.For more information,press F1用管理员身份运行vs后,再打开项目没提示错误
但只有项目名称没有内容
应该
1.
控制面板---->卸载程序---->打开或关闭window功能------>Internet服务信息------>万维网服务------>把windows身份验证
2.
在iis目录中新建项目的文件夹,把项目复制进去
3.
以管理员身份运行vs,打开iis目录中刚才复制进去的项目OK