MSRS Reporting Procedure
MSRS Reporting Procedure
MSRS Reporting Procedure
1
Preface
• What For?
– To demonstrate the Methods & Good practices for Implementing Reporting in FTView SE
using SQL Server & Microsoft SQL Reporting Services (MSRS).
• Software Required :
– 1) FTView SE 6.10.00 (CPR9 SR4)
– 2) SQL Server 2008 (SQLEXPRADV_x86_ENU)
• Document Content.
– This document shows the step by step procedure with image files for better understanding.
– 1) Its mandatory to uninstall FTView studio (Any version) as well as Any SQL versions first.
– 2) We need to install SQL Server First. And then FTView SE 6.10.00 (CPR9 SR4).
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 2
Install SQL Server
2008.
3
SQL Server Installation.
Click on New
Installation Button as
shown here.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 4
SQL Server Installation.
Select on New
Installation
Button as
shown here.
Then click
“Next”.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 5
SQL Server Installation.
Select on Both
the Selection
boxes, as
shown here.
Then click
“Next”.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 6
SQL Server Installation.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 7
SQL Server Installation.
Select Default
Instance, as
shown here.
Then click
“Next”.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 8
SQL Server Installation.
Select as shown
here. Then click
“Use the Same
Account for all
SQL Server
Services”
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 9
SQL Server Installation.
Select account
name from drop
down menu, as
shown here.
Then click “OK”
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 10
SQL Server Installation.
Select Mixed
Mode, as shown
here.
PUT Password
as = rockwell or
as per your
choice.
Select Add
Current user.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 11
SQL Server Installation.
Select Add
button to add
few more users
if required. as
shown here.
Then click
FILESTREAM.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 12
SQL Server Installation.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 13
SQL Server Installation.
Select Install
the Native mode
default
configuration,
as shown here.
Then click
“Next”.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 14
SQL Server Installation.
This will
Successfully
complete the
Installation of
SQL Server.
Then click
“Close”.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 15
SQL Server Installation.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 16
Create New database
in SQL.
17
SQL Server Create New Database.
Start SQL
Server
Management
Studio.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 18
SQL Server Create New Database.
Click Connect.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 19
SQL Server Create New Database.
After
Connecting,
you will see a
window like
this.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 20
SQL Server Create New Database.
Select as shown
here.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 21
SQL Server Create New Database.
We should see
a window like
this.
Give a name for
the database as
per your
requirement.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 22
SQL Server Create New Database.
New database
will get created.
Now add new
table in the
same database.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 23
SQL Server Create New Database.
In New table,
add a column
and give Name
& Data Type as
per
requirement.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 24
SQL Server Create New Database.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 25
SQL Server Create New Database.
After successful
saving of table.
It should look
like as shown.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 26
Backup of SQL
database.
27
SQL Server Backup Database.
Start SQL
Server
Management
Studio.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 28
SQL Server Backup Database.
Click Connect.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 29
SQL Server Backup Database.
After
Connecting,
you will see a
window like
this.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 30
SQL Server Backup Database.
Right click on
the database,
which needs to
be backed up.
As select as
shown.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 31
SQL Server Backup Database.
New window
will appear.
Select as shown
& then click
“OK”.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 32
SQL Server Backup Database.
It will show
Backup is
completed
successfully.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 33
Restore of SQL
database.
34
SQL Server Restore Database.
Start SQL
Server
Management
Studio.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 35
SQL Server Restore Database.
Click Connect.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 36
SQL Server Restore Database.
After
Connecting,
you will see a
window like
this.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 37
SQL Server Restore Database.
Right click on
Database &
then select
Restore
Database
option. as
shown here.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 38
SQL Server Restore Database.
New Window
will appear.
Click on From
device option.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 39
SQL Server Restore Database.
New Window
will appear.
Click on ADD
option.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 40
SQL Server Restore Database.
New Window
will appear.
Select the
location where
you kept the
backup of
database which
need to be
restored.
Click on OK
option.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 41
SQL Server Restore Database.
Select Restore
option. as
shown here.
Click on OK
option.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 42
SQL Server Restore Database.
Wright a name
of database
which needs to
be added. as
shown here.
Click on OK
option.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 43
SQL Server Restore Database.
We should see
Restore of
database
completed
successfully
screen.
Click on OK
option.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 44
Microsoft SQL
Reporting Services
(MSRS).
45
Making New project.
46
Making New project.
Start MSRS by
selecting the shown
path.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 47
Making New project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 48
Making New project.
Select New
Project option
to create new
project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 49
Making New project.
Select desired
type of project.
As shown
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 50
Making New project.
Give a desired
name to project.
As shown
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 51
Adding New Data
Source in the Project.
52
Adding New Data Source in the Project.
Go to add new
data source.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 53
Adding New Data Source in the Project.
Give a desired
name & Select
Microsoft SQL
Server.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 54
Adding New Data Source in the Project.
Then Go to
connection string
Edit option.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 55
Adding New Data Source in the Project.
Select a proper
Server name from
drop down menu.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 56
Adding New Data Source in the Project.
Then select
Database, which
needs to be used for
showing the data on
report.
So if there are more
than one database is
available in an
application then you
need to make more
Data sources. One
data source for one
database.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 57
Adding New Data Source in the Project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 58
Adding New Data Source in the Project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 59
Adding New Report in
the Project.
60
Adding New Report in the Project.
Right Click on
Reports.
& then Add New
Reports.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 61
Adding New Report in the Project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 62
Adding New Report in the Project.
Go to Query builder.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 63
Adding New Report in the Project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 64
Adding New Report in the Project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 65
Adding New Report in the Project.
Select required
columns from a
added tables. Which
we need to show on
Report or may be
using for filtering.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 66
Adding New Report in the Project.
Click OK.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 67
Adding New Report in the Project.
Query is generated
for selected data
source.
Click Next.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 68
Adding New Report in the Project.
Click Next.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 69
Adding New Report in the Project.
Click Finish.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 70
Adding New Report in the Project.
Click Finish.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 71
Adding New Report in the Project.
Now Report is
created.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 72
Adding New Report in the Project.
Go to dataset. And
add the required
fields on the page.
By drag & drop
method.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 73
Adding New Dataset in
the Project.
74
Adding New Dataset in the Project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 75
Adding New Dataset in the Project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 76
Adding New Dataset in the Project.
Go to Query
Designer.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 77
Adding New Dataset in the Project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 78
Adding New Dataset in the Project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 79
Adding New Dataset in the Project.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 80
Adding New Dataset in the Project.
Click OK.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 81
Adding New Dataset in the Project.
Now query is
generated.
Click OK. To finish
the job.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 82
Build, Rebuild &
Deploy the project.
83
Build, Rebuild & Deploy the project
Then go to Build or
Rebuild option.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 84
Build, Rebuild & Deploy the project
Then go to Deploy
option.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 85
Build, Rebuild & Deploy the project
We might get
following error.
Then follow next
procedure.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 86
Build, Rebuild & Deploy the project
Then go to
Properties option.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 87
Build, Rebuild & Deploy the project
Go to Reporting
services
configuration
manager to find the
path for Target
Server URL.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 88
Build, Rebuild & Deploy the project
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 89
Build, Rebuild & Deploy the project
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 90
Build, Rebuild & Deploy the project
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 91
Build, Rebuild & Deploy the project
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 92
Build, Rebuild & Deploy the project
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 93
Build, Rebuild & Deploy the project
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 94
Build, Rebuild & Deploy the project
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 95
Build, Rebuild & Deploy the project
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 96
Build, Rebuild & Deploy the project
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 97
Build, Rebuild & Deploy the project
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 98
MSRS Configuration.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 99
MSRS Project Backup.
100
MSRS Project Backup
Start MSRS by
selecting the shown
path.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 101
MSRS Project Backup
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 102
MSRS Project Backup
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 103
MSRS Project Backup
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 104
MSRS Project Backup
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 105
Some IMP Slides
regarding error in
MSRS.
106
MSRS Error.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 107
MSRS Error.
Go to
Control Panel
\Administrative Tools
\Event viewer
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 108
MSRS Error.
Then Go to
Application option.
Right click on that &
go to “Clear all
Event”.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 109
MSRS Error.
Then Go to
Application option
again.
Right click on that &
go to Properties.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 110
MSRS Error.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 111
FINISH
(The End)
112