Could not load Microsoft.SqlServer.BatchParser

View previous topic View next topic Go down

Could not load Microsoft.SqlServer.BatchParser

Post  Admin on 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 : 50
Join date : 2009-06-05

View user profile http://softro.forumotion.net

Back to top Go down

Re: Could not load Microsoft.SqlServer.BatchParser

Post  Admin on 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 : 50
Join date : 2009-06-05

View user profile http://softro.forumotion.net

Back to top Go down

View previous topic View next topic Back to top


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