0
当试图更改我的MVC 4 Web应用程序的项目URL时,出现了一些奇怪的错误。 所以首先我所做的:Visual Studio 2012,无法启动IIS Express Web服务器,Webmatrix和命令行ok
变更项目地址从
http://localhost:54300 to http://192.168.1.26:54300
改变了bindingInformation为我的网站,以
*:54300:192.168.1.25:54300
添加地址:
netsh http add urlacl url=http://192.168.1.26:54300/ user=everyone
所以,当我试图从Visual Studio中运行我的Web应用程序,我得到错误
"Unable to launch the ISS Express Web Server"
当从WebMatrix中运行我的web应用程序,或者如果我启动IIS的命令行表示,一切正常。 我试过了:重新安装visual studio,但没有效果。
有什么建议吗?
是不是'netsh'的东西的HTTPS? http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx –
不仅适用于https,http://msdn.microsoft.com/en-us/library/windows/desktop/cc307223(v=vs.85)。 ASPX – user1324258