I can\'t figure out why I\'m getting this error when I run my application (MVC 3). The project has a reference to Microsoft.SQLServer.ManagedDTS. I have both SQL Server 20
If this is a part of a web application, you need to enable running 32-bit applications from application pool of IIS. This will solve your problem.
The Microsoft.SqlServer.DTSRuntimeWrap.dll is probably not in the GAC, which means that it has to be copied in your web application's bin folder or manually added to your machine's GAC (e.g., using GACUTIL.exe). You can probably find it in C:\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies\
. If you referenced it from a location like that in your Visual Studio project, then you can probably just set the option in Properties of the reference for Copy Local to True.
Note that this DLL may not be redistributable, so you may have to actually install SSIS on any web server on which the application will run in order to not violate the SSIS licensing, but you will have to verify that.