我正在使用 Microsoft Visual Studio 2010 并创建 ASP.NET MVC 2 Web 应用程序。 在这里我添加了 SQL Server 数据库,之后我想创建新表,那时出现“找不到指定的模块”错误。我不知道如何解决。
请帮帮我。提前致谢。
最佳答案
这似乎是由于更新,有人这样写:
The problem seems to be with the Visual Database Tools DLL.
This DLL file is installed by the VS 2010 installation, but during a SQL Server 2012 installation, it will be upgraded to the SQL 2012 version of the tools. Thereafter, uninstalling and reinstalling SQL or VS will not remove this newer DLL in order to allow the older version to be installed, and hence leave this annoying issue. How I fixed it was I set up a clean virtual machine and installed VS 2010, then took this original DLL from my virtual machine and overwrote the DLL on my live machine. Simple as that.
I would assume though that deleting this DLL file and then doing a VS 2010 repair or uninstall/reinstall would also fix the problem.
The directory and file name of the DLL (on an X64 machine) is: C:\Program Files (x86)\Common Files\microsoft shared\Visual Database Tools\dsref80.dll
查看整个 thread了解更多信息
关于c# - 如何解决在 Asp.NET 中找不到指定模块的错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19905177/