Tech Tips
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Could not load Microsoft.SqlServer.BatchParser

Go down

Could not load Microsoft.SqlServer.BatchParser  Empty Could not load Microsoft.SqlServer.BatchParser

Post  Admin Thu May 19, 2016 3:41 pm

After installing new instance MS SQL 2014 Standard edition i get this error when i run Batch process
Server server = new Server(new ServerConnection(cn));
server.ConnectionContext.ExecuteNonQuery(script);

Project is using Microsoft.Sqlserver.smo.dll


Admin
Admin

Posts : 60
Join date : 2009-06-05

https://softro.forumotion.net

Back to top Go down

Could not load Microsoft.SqlServer.BatchParser  Empty Re: Could not load Microsoft.SqlServer.BatchParser

Post  Admin Thu May 19, 2016 3:42 pm

I had to go into the advanced settings of my application pool and set "enable 32-bit applications" to TRUE ( I was running 64-bit SQL Server).

Admin
Admin

Posts : 60
Join date : 2009-06-05

https://softro.forumotion.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum