Windows 8 RTM上的Visual Studio 2012 Web发布无法启动浏览器 [英] Visual Studio 2012 Web Publish on Windows 8 RTM Fails Browser Launch

查看:102
本文介绍了Windows 8 RTM上的Visual Studio 2012 Web发布无法启动浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Windows 8 RTM x64上使用Visual Studio 2012 Premium开发ASP.NET MVC 4网站.当我右键单击Web应用程序并选择发布"时,Visual Studio 2012返回消息:

I'm developing an ASP.NET MVC 4 site using Visual Studio 2012 Premium on Windows 8 RTM x64. When I right click on the web application and choose Publish, Visual Studio 2012 returns the message:

"无法打开"http://.../"的网址. 例外:未注册课程"

"fail to open url of 'http://.../'. Exception:Class not registered"

发布过程似乎正常运行,但是无法启动浏览器.每当我尝试发布网站时都会发生这种情况,Chrome(21.0.1180.79 m)或Firefox(14.0.1)都会发生这种情况.

The publish process seems to work correctly but it fails to launch the browser. This happens every time I try to Publish the site and it happens with Chrome (21.0.1180.79 m) or Firefox (14.0.1).

此外,由于该网站未启动发布后发布,因此我使用Ctrl-F5手动进行此操作.我可以正常浏览该站点,但是如果我右键单击任务栏上的浏览器图标以启动另一个浏览器实例,则不会发生任何事情.关闭所有浏览器实例后,浏览器任务栏图标将恢复为正常状态.

Furthermore, since the site isn't launching post Publish, I do it manually using Ctrl-F5. I'm able to navigate around the site normally, but if I right click on the browser's icon on the task bar to launch another browser instance, nothing happens. Once I close all browser instances, the browser task bar icon reverts to its normal behavior.

我不确定这两个问题是否相关,但是这里的共同主题是从Visual Studio 2012启动浏览器会导致意外的副作用.浏览器要么无法在Publish上启动,要么无法通过Ctrl-F5启动,但是使用任务栏图标使启动另一个实例无效.

I'm not sure if these two issues are related, but the common theme here is launching a browser from Visual Studio 2012 causes unexpected side effects. The browser either fails to launch on Publish or launches with Ctrl-F5 but renders launching another instance useless using the task bar icon.

感谢您的帮助.

编辑:我已经重新安装了整个软件堆栈(Windows 8,Office 2010,Visual Studio 2012,Windows Update,Chrome,Firefox).除非我将Internet Explorer设置为默认浏览器,否则上述问题仍然存在.

I've re-installed the entire software stack (Windows 8, Office 2010, Visual Studio 2012, Windows Update, Chrome, Firefox). The above issues continue, unless I make Internet Explorer the default browser.

谢谢.

推荐答案

我提交了一个Chrome错误,这是浏览器注册的问题.如果您从下载"中卸载并重新安装,并且在UAC提示符下确定是",则Chrome将注册计算机范围"而非用户".这需要以管理员身份启动. (HKLM与HKCU)

I filed a Chrome bug, it was a browser registration thing. If you uninstall and reinstall from a Download and be SURE to say Yes to the UAC prompt, Chrome will register Machine Wide, rather than User. That is required to launch as Admin. (HKLM vs. HKCU)

这篇关于Windows 8 RTM上的Visual Studio 2012 Web发布无法启动浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆