I'm developing a website that will run a MS SQL Server SSIS package when a button on a webpage is operated. The site is hosted on the same windows 2008 r2 server that hosts the SQL Server with the SSIS package. I'm developing in Visual Studio 2012 premium on a windows 7 client. In my project references I have added the reference to Microsoft.SqlServer.ManagedDTS and in the web.config for the project there is <add assembly="Microsoft.SqlServer.ManagedDTS, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/> as expected. The site build and publish to the server works without errors or warnings.
When I try to access the site from a client machine it errors out. When I access it through a MS IE on the server it presents the error ...
Parser Error Message: Could not load file or assembly
'Microsoft.SqlServer.ManagedDTS, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot
find the file specified.
I can access the page when debugging from VS 2012 . I found the Microsoft.SqlServer.ManagedDTS.dll on my development client machine and moved it into he \bin folder in the sites directory in inetpub on the hosting server and then I can access the page without error... but of course after each publish from the development client have to move the dll over again.
I was expecting the add of the reference to cause the dll to become part of the site build and publish to the site each time it was done.
How can I get the build and publish to include the reference I have added to the project for Microsoft.SqlServer.ManagedDTS ?
If I'm missing something basic please excuse I'm still a bit of a newbie,
Thanks tonnes in advance for any help, Roscoe