vs c# 2005 ver 8.0.50110.28
dotnet ver 2.0.50110周末安装一个dotnet插件,后删除了.在安装过程中同时升级了最近的windows升级补丁.
结果重装了N次 sql2005 vs2005 。只要在程序form中连一个数据源,编译通过,运行即出错。
网上google了,好像说是windows 2003出问题了,影响到mdac,不知有人有解决方案吗?
(windows uninstall 我也删除了,因安装中空间不足,也没想到会是windows的原因。)System.Runtime.InteropServices.COMException was unhandled
  Message="找不到指定的程序。 (Exception from HRESULT: 0x8007007F)"
  Source="WindowsApplication4"
  ErrorCode=-2147024769
  StackTrace:
       at WindowsApplication4.Form1.InitializeComponent()       at WindowsApplication4.Form1..ctor() in e:\jork\test\windowsapplication4\form1.cs:line 15       at WindowsApplication4.Program.Main() in E:\Jork\Test\WindowsApplication4\Program.cs:line 16       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)       at Microsoft.VisualStudio.HostingProcess.Utilities.HostProc.RunUsersAssembly()       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)       at System.Threading.ThreadHelper.ThreadStart()
又悉,今天,微软按惯例每月第三周星期二的安全补丁暂时取消了,原因不明。本人教训:升级悠着点。