如何从Lightswitch运行DTSX程序包 [英] How to run a DTSX Package from Lightswitch

查看:91
本文介绍了如何从Lightswitch运行DTSX程序包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我创建了一个SSIS包,用于将基于SQL Server的Lightswitch应用程序中的数据导出到简单的文本文件中,现在我正在寻找一种从Lightswitch内部运行该包的解决方案.

I created a SSIS Package to export data from my SQL Server based Lightswitch application into simple Text-Files and now I'm looking for a solution to run this Package from within Lightswitch. 

有人成功尝试过吗?

推荐答案

可以做到...但是...使用SSIS包,您将需要调用SQL Server管理对象来启动程序包.这样,您将需要确定要在何处以及由谁执行程序包.正在运行的用户 程序包将需要msdb数据库以及存储数据的数据库内部的正确权限.

It can be done... but... with SSIS Packages you will need to call the SQL Server management objects to start the packages. With that you will need to decide on where you would like the package to be executed from and by whom. The user that is running the package will need the correct permissions inside the msdb database as well as the database that is storing the data.

此外,如果您希望系统从客户端运行,则需要该用户具有数据库权限,但是,如果您在服务器端运行它,则需要了解运行业务和数据层的用户您的电灯开关应用程序... 或对用户信用进行硬编码,这也意味着您将需要在混合模式安全性模型中运行数据库.

Also if you want the system to run from the client you will need that user to have the permissions in database, but if you run it on the server end you will need to know the users that are running the business and data layers of your lightswitch application... or hardcode the user creditentials which will also mean that you will need to run the database in a mixed mode security model.


这篇关于如何从Lightswitch运行DTSX程序包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆