Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

could not load file or assembly 'microsoft.sqlserver.batchparserclient'

Good Evening, I have a C# Winforms app with its deployment, where i did it, it works, in others pc it doesn't. Did somebody have the same issue and how did you solve it?

When I run from other pc is presents the next error:

could not load file or assembly 'microsoft.sqlserver.batchparserclient'

See image above

http://i47.photobucket.com/albums/f195/warbandit69/error1_zps3353dcce.png

---- Update 02-09-2014 -----

I added SQL Shared Management Objets AND CLR Types 2012 and finally get rid from last error, now i am having a similar one

http://i47.photobucket.com/albums/f195/warbandit69/error2_zps2749c6ac.png

like image 448
user3282377 Avatar asked Oct 01 '22 16:10

user3282377


1 Answers

I got the same problem, i fixed this by downloading SMO and CLR for SQL Server 2014 version x86 (from https://www.microsoft.com/fr-fr/download/details.aspx?id=42295).

I'm on a 64 bits system, first I tried with version x64. Like you my error change from microsoft.sqlserver.batchparserclient to microsoft.sqlserver.batchparser. But version x86 is fixed the Exception.

like image 53
A.Pissicat Avatar answered Oct 05 '22 10:10

A.Pissicat