SQL Server SMO complains of missing DLL

后端 未结 6 1468
余生分开走
余生分开走 2020-12-09 05:44

Ok, I\'ve scoured the web, BOL, various forums and I\'m no closer to an answer...hopefully you fine folks can lend a hand...

We\'ve got a dozen or so SQL Servers (so

6条回答
  •  旧时难觅i
    2020-12-09 06:09

    Just so we understand the issue properly, the Microsoft.SqlServer.BatchParser.dll is not installed in the Global Assembly Cache on your development machine? If so, you might want to start with re-installing the .NET Framework (the version of the Framework that you are targeting) to see if that resolves the issue.

    You can also try using the .NET Framework Configuration tool to see if the assembly is indeed present in the Global Assembly Cache (GAC). This MSDN Article describes how to use this tool.

    (A search of my hard drive did not return the Microsoft.SqlServer.BatchParser.dll assembly even though I can see it using the .NET Framework Configuration tool).

提交回复
热议问题