Report.rdl创建以及部署过程
2009-10-29 10:26
225 查看
一.创建一个简单报表这里以Report.rdl作为演示,并非水晶报表。如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Succes_Step_1.png)
在这里我们选择报表服务器项目,点击确定。出来的界面如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/1.png)
右击报表选择“添加新报表”。然后根据相关选项一步步的。然后可以自己设计自己的报表,这是我的报表,如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Succes_Step_2.png)
一个简单的报表就创建完毕!
二.配置报表服务
在Microsoft SQL Server 2005---->配置工具---->Reporting Services 配置。
点击”Reporting Services 配置“。需要启动相关服务,安提示启动相关服务就可以了。
如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Succes_Step_3.png)
在上图中,点击“报表服务器虚拟目录”然后点击新建。继续点击“报表管理器虚拟目录”然后点击新建。
打开IIS就会看到在IIS目录中会多了两个虚拟目录,如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Succes_Step_4.png)
选择虚拟目录“ReportSert"---->"Pages"---->"ReportViewer.aspx"。
如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_5.png)
打开页面,会看到下图效果:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_6.png)
到这里就成功一大半了,o(∩_∩)o...。
回到Microsoft Visual Studio 2005报表项目中,右击报表项目(不是解决方案,是解决方案下面的),会弹出一个对话框,如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_7.png)
在”TargerServerURL"中填入刚才的URL。右击选择“部署”,就会看到如图的效果:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_8.png)
然后,在浏览器中键入“http://localhost/ReportServer",回车就会看到如图的效果:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_9.png)
选择一下:就可以看到先前创建的报表了!o(∩_∩)o...
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_10.png)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Succes_Step_1.png)
在这里我们选择报表服务器项目,点击确定。出来的界面如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/1.png)
右击报表选择“添加新报表”。然后根据相关选项一步步的。然后可以自己设计自己的报表,这是我的报表,如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Succes_Step_2.png)
一个简单的报表就创建完毕!
二.配置报表服务
在Microsoft SQL Server 2005---->配置工具---->Reporting Services 配置。
点击”Reporting Services 配置“。需要启动相关服务,安提示启动相关服务就可以了。
如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Succes_Step_3.png)
在上图中,点击“报表服务器虚拟目录”然后点击新建。继续点击“报表管理器虚拟目录”然后点击新建。
打开IIS就会看到在IIS目录中会多了两个虚拟目录,如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Succes_Step_4.png)
选择虚拟目录“ReportSert"---->"Pages"---->"ReportViewer.aspx"。
如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_5.png)
打开页面,会看到下图效果:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_6.png)
到这里就成功一大半了,o(∩_∩)o...。
回到Microsoft Visual Studio 2005报表项目中,右击报表项目(不是解决方案,是解决方案下面的),会弹出一个对话框,如图:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_7.png)
在”TargerServerURL"中填入刚才的URL。右击选择“部署”,就会看到如图的效果:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_8.png)
然后,在浏览器中键入“http://localhost/ReportServer",回车就会看到如图的效果:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_9.png)
选择一下:就可以看到先前创建的报表了!o(∩_∩)o...
![](http://p.blog.csdn.net/images/p_blog_csdn_net/ChinaHuNannet/EntryImages/20091029/Report_Success_Step_10.png)
相关文章推荐
- ReportView报表实现带参数存储过程创建报表以及为rdlc传递参
- ReportView报表实现带参数存储过程创建报表以及为rdlc传递参
- ReportView报表实现带参数存储过程创建报表以及为rdlc传递参数
- ReportView如何使用构造SQL语句带参数的存储过程创建报表以及为rdlc传递参数
- XMPie部署与创建过程 - 快速指南
- Linux 初始 RAM 磁盘(initrd)概述 学习 initrd 的剖析、创建以及在 Linux 引导过程中的用法
- 数据库之存储过程创建表以及for循环插入数据
- Tomcat热部署以及热部署过程中问题解决
- 批处理实现c/s程序部署,以及创建桌面快捷方式
- Toast的window创建过程以及源码分析
- 最小堆创建以及过程中的疑惑
- 在Activity中创建Handler发送消息以及接受消息过程浅析
- Mysql存储过程的创建以及调用
- java加载类创建对象的过程以及静态代码段的执行时机
- 用VS(c#)创建、调试windows service以及部署卸载
- 用MDT 2012为企业部署windows 7(四)--创建Deploymentshare共享以及介绍一些选项的具体作用
- 实习:UT report 部署过程:dom4j解析xml
- oracle中创建存储过程,以及存储过程中调用游标
- 创建ejb项目以及weblogic部署ejb