之前安装了Vs 2008,不知道什么时候起从源视图切换到设计视力时整个IDE都停止响应了,最后只能结束进程。网上有朋友也遇到这个问题,但都没有比较好的回答,只能发邮件问问Scott Guthrie,本人E文不好,等了几天,终于收到加信,他将问题转交给了Omar Khan,Omar Khan又将问题Mikhail Arkhipov,经过了多人之手后,回信原文如下:
Compatibility problem between VS 2008 and Office 2000 and how to fix it
A few users discovered that design view in VS 2008 and Visual Web Developer Express 2008 may get broken when Office 2000 is installed. See, for example, http://forums.asp.net/p/1194475/2061103.aspx#2061103 and http://forums.asp.net/t/1191630.aspx. Actually, the issue is wider and may affect Office 2003 installation as well. The problem manifests itself when machine has path to the Office folder with older version of fpcutl.dll specified in the system path. User might do this so they could run Office from the command line. However, adding Office path to the system path causes OS to pick the older dll when VS 2008 designer tries to loads its components. You can learn more about how OS loads dlls in the LoadLibrary API documentation.
As a workaround, try setting path to the VS 2008 designer (typically Program Files\Microsoft Web Designer Tools\VWD) before path to the Office folder or remove path to the Office folder completely from the system path. For Office 2000 this is normally Program Files\Microsoft Office\Office. Adding VWD path before Office should not affect Office applications or FrontPage 2000 since they use custom dll discovery mechanism.
大概的意思是因为老版本的office有dll和vs的某些东西冲突造成这个问题。