解决VS2012 Express的There was a problem sending the command to the program问题
作者:
安装Visual Studio 2012 Express之后,双击打开web.config文件时经常出现“There was a problem sending the command to the program”的错误,然后VS2012 Express打开了,但web.config文件没打开,需要再次双击web.config文件才能打开。很是烦人
问题现象
安装Visual Studio 2012 Express之后,双击打开web.config文件时经常出现“There was a problem sending the command to the program”的错误,然后VS2012 Express打开了,但web.config文件没打开,需要再次双击web.config文件才能打开。很是烦人。
出现条件
问题出现在双击web.config文件时第一次启动VS2012 Express,如果VS2012 Express已在运行,双击文件不会出现这个问题。
解决方法
鼠标右键点击web.config,选择Open with,选择Choose default program...;然后在打开的窗口中选择Other programs,继续选择Microsoft Visual Studio Version Selector,点击OK之后,问题就解决。以后任何时候双击web.config都能直接打开。
副作用
web.config文件图标变得很丑陋,如下图:
您可能感兴趣的文章:
- 用Command对象和RecordSet对象向数据库增加记录哪一个更好
 - 使用Jmail及Winwebmail发信时系统记录中的错误:502 Error: command ...
 - Delphi Command模式
 - asp中command的在单条记录时,有些字段显示为空的问题
 - javascript document.execCommand() 常用解析
 - asp.net gridview的Rowcommand命令中获取行索引的方法总结
 - php设计模式 Command(命令模式)
 - php设计模式 Command(命令模式)
 - 获取Repeter的Item和ItemIndex/CommandArgument实现思路与代码
 - bash scp command not found的解决方法
 - GridView中动态设置CommandField是否可用或可见的小例子
 - document.execCommand()的用法小结
 - pip 错误unused-command-line-argument-hard-error-in-future解决办法
 - 在RowCommand事件中获取索引值示例代码
 - ON_COMMAND_RANGE多个按钮响应一个函数的解决方法
 - C#命令模式(Command Pattern)实例教程
 - ASP基础知识Command对象讲解
 
