I am trying to develop a windows application (I am using VS 2015, OS: Windows 2007). This application executes some SQL scripts to a destination server (SQL Server 2017). Whenever we are trying to execute those scripts it's shows the following error
Could not load file or assembly 'Microsoft.SqlServer.BatchParser, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.":"Microsoft.SqlServer.BatchParser, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
I have already used the following dll
I also share Microsoft.SqlServer.BatchParser version in C:\Windows\assembly