Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all, i have developed small application in vb.net application,this application will execute my sql script file, i have used here Microsoft.sqlserver.smo version 10.0.0,its works fine with my pc,but when i install this application in my client PC and when i execute i am getting the following error,

'Microsoft.SqlServer.BatchParser, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.

how to fix this issue.


[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 6-May-13 22:52pm
v3
Comments
Shahan Ayyub 7-May-13 4:43am    
Is SQL Server installed on client machine ?
sameertm 7-May-13 4:58am    
no SQL SERVER is not installed that machine.
Shahan Ayyub 7-May-13 12:59pm    
Try setting up SQL so that the system can have these supported files available, which is required to run your script(s).
OriginalGriff 7-May-13 4:52am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.

1 solution

First install sql server, then change the connection string.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900