Reporting Services系列七:使用脚本发布报表
2007-12-02 16:04
375 查看
脚本内容:
Dim mDefinition As [Byte]() = Nothing
Dim mWarnings As Warning() = Nothing
Dim mParentPath As String = "/" + pParentFolder
将上述代码保存成.rss文件,如deploy.rss,然后在命令行执行:
C:"Documents and Settings"xxx>rs -i yourrssfilepath"deploy.rss -s http://localhost/reportserver -v pParentFolder="RsSample" -v pOverwriteDataSource=true -v pDsName="DataSource1" -v pDsUserName="youroracleusername" -v pDsPwd=" youroracleuserpassword " -v pFilePath="yourreportfilespath"
输出:
folder existed
datasource:DataSource1 create successfully
total report files: 1
deploy report:Report1 successfully
命令已成功完成
另外,可参考下面的文章:
/article/5213043.html
Dim mDefinition As [Byte]() = Nothing
Dim mWarnings As Warning() = Nothing
Dim mParentPath As String = "/" + pParentFolder
将上述代码保存成.rss文件,如deploy.rss,然后在命令行执行:
C:"Documents and Settings"xxx>rs -i yourrssfilepath"deploy.rss -s http://localhost/reportserver -v pParentFolder="RsSample" -v pOverwriteDataSource=true -v pDsName="DataSource1" -v pDsUserName="youroracleusername" -v pDsPwd=" youroracleuserpassword " -v pFilePath="yourreportfilespath"
输出:
folder existed
datasource:DataSource1 create successfully
total report files: 1
deploy report:Report1 successfully
命令已成功完成
另外,可参考下面的文章:
/article/5213043.html
相关文章推荐
- WCF开发实战系列二:使用IIS发布WCF服务
- 使用WebDeployment Project改善VS2005发布网站问题 [系列导读]
- WCF开发实战系列二:使用IIS发布WCF服务
- eclipse使用教程系列之四:发布部署项目以及常见问题总结
- WebService之Axis2系列教程(四)使用services.xml文件发布WebService
- 水晶报表使用自定义纸张 发布解决方案 .
- ASP.NET AJAX入门系列(7):使用客户端脚本对UpdateProgress编程
- MaxCompute Studio使用心得系列2——编译SQL脚本
- Linux Shell脚本系列教程(四):使用函数添加环境变量
- 【NuGet】使用NuGet打包并发布至ProGet过程 (步骤详细,附python脚本)【上篇】
- etl工具nifi使用系列(六):使用ExecuteScript执行脚本(1)
- ASP.NET AJAX入门系列(7)使用客户端脚本对UpdateProgress编程
- WCF开发实战系列二:使用IIS发布WCF服务
- WCF开发实战系列二:使用IIS发布WCF服务 转
- WCF开发实战系列二:使用IIS发布WCF服务
- ASP.NET AJAX入门系列(7):使用客户端脚本对UpdateProgress编程
- WCF开发实战系列四:使用Windows服务发布WCF服务
- WCF开发实战系列二:使用IIS发布WCF服务
- WCF开发实战系列二:使用IIS发布WCF服务
- VS2008水晶报表发布后无法使用的解决方案