Friday, March 30, 2012
How do I migrate reports to new server
I just installed reporting services on a new server and need to migrate
existing reports from an old server to the new one. Being new to Reporting
Services, I am not sure of how to do this. Any help you gurus can provide
will be greatly appreciated.
Thanks,
--
LynnYou might want to use Reporting Services Scripter
http://www.sqldbatips.com/showarticle.asp?ID=62
Any questions just drop me a mail using the link in the readme file
--
HTH
Jasper Smith (SQL Server MVP)
http://www.sqldbatips.com
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Lynn" <Lynn@.discussions.microsoft.com> wrote in message
news:7BEBF34B-420F-42D0-BEB0-33BF5E01AD46@.microsoft.com...
> Hi all,
> I just installed reporting services on a new server and need to migrate
> existing reports from an old server to the new one. Being new to
> Reporting
> Services, I am not sure of how to do this. Any help you gurus can provide
> will be greatly appreciated.
> Thanks,
> --
> Lynn|||> I just installed reporting services on a new server and need to migrate
> existing reports from an old server to the new one. Being new to
> Reporting
> Services, I am not sure of how to do this. Any help you gurus can provide
> will be greatly appreciated.
Hi Lynn,
I think this tool [1] can help you.
Look in the generated script to find out how it is working.
[1] http://www.sqldbatips.com/showarticle.asp?ID=62
Best regards,
--
Martin Kulov
http://www.codeattest.com/blogs/martin
MCAD Charter Member
MCSD.NET Early Achiever
MCSD
Monday, March 26, 2012
How do I know I have notification services (DST)
How can I verify this? We have SQL 2000 (version 8) with sp4.
I am referring to the daylight saving time.
Thanks ahead.
Tony
You can take a look at the section "How to determine whether SQL Server 2000
Notification Services is installed" in the following KB article:
http://support.microsoft.com/?id=931815
It outlines 3 methods to verify if you have NS installed.
Note that even if you determine that you have NS installed you may not need
to do anything. You are affected only if you have an instance of NS
deployed. Just installing NS will not be a problem with DST (the binary
files are not affected). To verify if you have an instance you can check if
you see the NS* services running and if there are any NS* databases.
HTH,
Plamen Ratchev
http://www.SQLStudio.com
How do I know I have notification services (DST)
How can I verify this? We have SQL 2000 (version 8) with sp4.
I am referring to the daylight saving time.
Thanks ahead.
TonyYou can take a look at the section "How to determine whether SQL Server 2000
Notification Services is installed" in the following KB article:
http://support.microsoft.com/?id=931815
It outlines 3 methods to verify if you have NS installed.
Note that even if you determine that you have NS installed you may not need
to do anything. You are affected only if you have an instance of NS
deployed. Just installing NS will not be a problem with DST (the binary
files are not affected). To verify if you have an instance you can check if
you see the NS* services running and if there are any NS* databases.
HTH,
Plamen Ratchev
http://www.SQLStudio.comsql
How do I know I have notification services (DST)
How can I verify this? We have SQL 2000 (version 8) with sp4.
I am referring to the daylight saving time.
Thanks ahead.
TonyYou can take a look at the section "How to determine whether SQL Server 2000
Notification Services is installed" in the following KB article:
http://support.microsoft.com/?id=931815
It outlines 3 methods to verify if you have NS installed.
Note that even if you determine that you have NS installed you may not need
to do anything. You are affected only if you have an instance of NS
deployed. Just installing NS will not be a problem with DST (the binary
files are not affected). To verify if you have an instance you can check if
you see the NS* services running and if there are any NS* databases.
HTH,
Plamen Ratchev
http://www.SQLStudio.com
How do I install Reporting services?
trying to learn it using the Developer edition. When I was installing SQL
server 2005 Developer edition, I came to the "Components to Install, Select
the components to install or upgrade"on the setup form , I noticed that
"Reporting Services" option was disabled is there a reason why? how can I
install it. After instalation, I tried to use the configure tools to
configure Report server I got the message "No report servers were found on
the specified machine.details: Invalid namespace". I had a dialog box
entiteled "Report Server Installation Instance Selection" with the Machine
Name box enabled and the machine name was entered but the "Instance name box"
was disabled? any idea.
thanks
AlYou need to installed the report service component from your Windows Server
2003 operating system
"Al" wrote:
> I come from access development background and I am new to SQL Server. I am
> trying to learn it using the Developer edition. When I was installing SQL
> server 2005 Developer edition, I came to the "Components to Install, Select
> the components to install or upgrade"on the setup form , I noticed that
> "Reporting Services" option was disabled is there a reason why? how can I
> install it. After instalation, I tried to use the configure tools to
> configure Report server I got the message "No report servers were found on
> the specified machine.details: Invalid namespace". I had a dialog box
> entiteled "Report Server Installation Instance Selection" with the Machine
> Name box enabled and the machine name was entered but the "Instance name box"
> was disabled? any idea.
> thanks
> Al|||Hi,
to clarify this a bit, there is no reporting services components of the
Windows 2003 Server system, but Reporting Services has the
prerequisites of IIS Service. This has to be installed from the
"Add/Remove Software" panel with the appropiate Windows 2003 Server
media.
HTH, Jens K. Suessmeyer.
--
http://www.sqlserver2005.de
--|||Thank you for responding. I do not have the Windows 2003 Server. I am
installing the Developer edition locally on Windows xp professional. is there
away to do it? is there another place (microsoft website) where I get IIS
service?
thanks
Al
"Jens" wrote:
> Hi,
> to clarify this a bit, there is no reporting services components of the
> Windows 2003 Server system, but Reporting Services has the
> prerequisites of IIS Service. This has to be installed from the
> "Add/Remove Software" panel with the appropiate Windows 2003 Server
> media.
> HTH, Jens K. Suessmeyer.
> --
> http://www.sqlserver2005.de
> --
>|||For developer edition of SQL Server, you do not need Win2003 server. WinXP
is OK. You need to have IIS running (install it if you haven't. Since you
have WinXP Pro, you are OK).
"Al" <Al@.discussions.microsoft.com> wrote in message
news:65F24FC2-3F9C-48D6-B4F4-9323D10BC229@.microsoft.com...
> Thank you for responding. I do not have the Windows 2003 Server. I am
> installing the Developer edition locally on Windows xp professional. is
> there
> away to do it? is there another place (microsoft website) where I get IIS
> service?
> thanks
> Al
> "Jens" wrote:
>> Hi,
>> to clarify this a bit, there is no reporting services components of the
>> Windows 2003 Server system, but Reporting Services has the
>> prerequisites of IIS Service. This has to be installed from the
>> "Add/Remove Software" panel with the appropiate Windows 2003 Server
>> media.
>> HTH, Jens K. Suessmeyer.
>> --
>> http://www.sqlserver2005.de
>> --
>>|||Windows XP Pro has IIS but it is not running/installed. Go to Control Panel,
Add/Remove, then on the left there will be a selection called something like
Windows Components. You need to have IIS running prior to installing RS. You
also need to have SQL Server Installed. If you are installing RS 2005 then
you can install both SQL Server and RS at the same time. Note you will have
two installs. The server install and then the client tools. I strongly
recommend using RS 2005.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Al" <Al@.discussions.microsoft.com> wrote in message
news:65F24FC2-3F9C-48D6-B4F4-9323D10BC229@.microsoft.com...
> Thank you for responding. I do not have the Windows 2003 Server. I am
> installing the Developer edition locally on Windows xp professional. is
> there
> away to do it? is there another place (microsoft website) where I get IIS
> service?
> thanks
> Al
> "Jens" wrote:
>> Hi,
>> to clarify this a bit, there is no reporting services components of the
>> Windows 2003 Server system, but Reporting Services has the
>> prerequisites of IIS Service. This has to be installed from the
>> "Add/Remove Software" panel with the appropiate Windows 2003 Server
>> media.
>> HTH, Jens K. Suessmeyer.
>> --
>> http://www.sqlserver2005.de
>> --
>>|||yes you are right. I tried to install the IIS from the windows Components
and from the original cd and made all the selections it asked me. I then
restarted my computer but nothing happened. it does not show on the control
panel>add remove program and it does not show on the all programs menu. how
do I know if it was installed?
Al
"Bruce L-C [MVP]" wrote:
> Windows XP Pro has IIS but it is not running/installed. Go to Control Panel,
> Add/Remove, then on the left there will be a selection called something like
> Windows Components. You need to have IIS running prior to installing RS. You
> also need to have SQL Server Installed. If you are installing RS 2005 then
> you can install both SQL Server and RS at the same time. Note you will have
> two installs. The server install and then the client tools. I strongly
> recommend using RS 2005.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "Al" <Al@.discussions.microsoft.com> wrote in message
> news:65F24FC2-3F9C-48D6-B4F4-9323D10BC229@.microsoft.com...
> > Thank you for responding. I do not have the Windows 2003 Server. I am
> > installing the Developer edition locally on Windows xp professional. is
> > there
> > away to do it? is there another place (microsoft website) where I get IIS
> > service?
> > thanks
> > Al
> >
> > "Jens" wrote:
> >
> >> Hi,
> >>
> >> to clarify this a bit, there is no reporting services components of the
> >> Windows 2003 Server system, but Reporting Services has the
> >> prerequisites of IIS Service. This has to be installed from the
> >> "Add/Remove Software" panel with the appropiate Windows 2003 Server
> >> media.
> >>
> >> HTH, Jens K. Suessmeyer.
> >>
> >> --
> >> http://www.sqlserver2005.de
> >> --
> >>
> >>
>
>
Friday, March 23, 2012
How do i implement If Then Else Conditions
Hi All,
I'm very new to Integration Services. Self Learned this ETL tool based on my prior ETL tool knowledge.
Can you tell me how do write IF Then Else conditions for every column in my source and redirect to a single output?
Hey correction here ... i'm using flat file as my source
Thanks in Advance,
Suresh N
It would help if you could provide a more explicit example of the type of logic you're hoping to implement, but here is a response based on my best guess at what you're trying to accomplish.
FIrst, start with the Derived Column transformation in your data flow: http://msdn2.microsoft.com/en-us/library/ms141069.aspx. This transform is the tool of choice for adding new columns - including new columns based on conditional logic and the values in existing columns - to your data flow.
Next, build an expression using the SSIS conditional operator to implement the If Then Else logic you need: http://msdn2.microsoft.com/en-us/library/ms141680.aspx.
You can also use the Script Transformation to perform more complex If Then Else logic in the data flow, but I personally try to avoid this if I can, as it makes your packages more difficult to maintain.
Please let us know if this gives you what you need.
|||Thanks for reply Matthew.
I'm not able to do. Still needed help.
I have a flat file as a source, for each column i need to detect for NULL values. If it is NULL then i need to populate "99" Else Value.
I'm trying the same in Derived column transformation, not succeeded.
Do SSIS have something where i could write If Then Else ?
thanks..
Suresh N
|||Suresh,
You can use a derived column transformation in the data flow with an conditional expression like
ISNULL(column1) ? 99 : column1
http://msdn2.microsoft.com/en-us/library/ms137538.aspx
|||
Suresh N wrote:
Thanks for reply Matthew.
I'm not able to do. Still needed help.
I have a flat file as a source, for each column i need to detect for NULL values. If it is NULL then i need to populate "99" Else Value.
I'm trying the same in Derived column transformation, not succeeded.
Do SSIS have something where i could write If Then Else ?
thanks..
Suresh N
This is exactly what the Derived Column transform is designed to do. Can you please post some specific information about what you are doing and what results you're seeing. There's not a lot of helpful information in your post to assist in troubleshooting.
|||Hi Rafael,
Thanks much for your answer.
This has made my job done.
Regards,
Suresh N
|||If you have to do this for several files accross a couple of packages then this when I think you should consider a custom transform. Faster development and maintenance as well as the ability to control custom business rules in a single (external to packages) assembly. The use of 99 in a local business rule I believe.
Wednesday, March 21, 2012
How do I get Visual Studio to open a deployed report?
Greetings,
I have a report that was previously deployed to a reporting services host (running Reporting Services 2005 SP2) and I'm running the version of Visual Studio that came with reporting services on the same reporting serviceshost. The deployed report was never opened on this particular server, so it doesn't appear in the recent files list. Is there a trick to open a deployed report in all of Visual Studio's report editing glory? Visual Studio has a File Open option to open an analysis services database, a project, or a file. A "deployed report" seems to be none of these options since it's an RDL file stored somewhere that IIS can find it. I know that I can use Report Manager and export the RDL for the report and then edit that RDL file in Visual Studio, but doing that appears to disable all of Visual Studio's report editing features (ie it works no better than notepad). What's the trick to get Visual Studio to open the deployed report and allow all of it's editing tools to work properly and then save the updated report back to the reporting services server?
Thanks,
Ron
In report manager, go to the report properties.there is a button in there 'save/edit' or similar
you can then save the file locally and open it in vs.net
NB don't forget 2000 rdl files will be automatically upgraded to 2005
How do I get the Y axis Labels to show as a Percent e.g 10%
SQL Reporing Services 2005The y-axis tab has a format code property. You can set it to P0 (to get
percentage values with 0 decimals).
-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.
"BrianDotNet" <BrianDotNet@.discussions.microsoft.com> wrote in message
news:C7145CD4-9A8D-4581-B549-EF066C9A21ED@.microsoft.com...
>I have the values in percent but I want the % sign to be on the axis
>labels.
> SQL Reporing Services 2005
Monday, March 19, 2012
How Do I Get Reporting Services for SQL 2000?
been released. I have two clients who already have SQL 2000 and are
interested in using this tool, but I have no idea how to get it anymore. They
have a nice page describing some licensing scenarios, but no information on
how to get a copy. Can anybody help? Thanks in advance!I'm in the same position of looking into RS for SQL 2k, and other than
the licensing page, this was the best I could come up with on the web:
SQL Server 2000 Reporting Services Evaluation Edition
http://www.microsoft.com/downloads/details.aspx?FamilyID=ba517c01-2e2f-4bc7-84af-149b7637f807&DisplayLang=en
SQL Server 2000 Reporting Services Service Pack 2
http://www.microsoft.com/downloads/details.aspx?familyid=502C0D89-1308-4662-8F58-CEC55EF1235B&displaylang=en
Hotfix for SQL Server 2000 Reporting Services SP2
http://www.microsoft.com/downloads/details.aspx?FamilyID=7ffe50d4-aff8-4c1e-9609-6798190c2d58&displaylang=en
HTH,
Sean G.|||In case anyone's interested, here's what I've found out so far. Reporting
Services was included on the SQL Server 2000 media starting in March 2004.
For customers who have an old copy of SQL2k, you may be out of luck. Your
best chance may be to try and order replacement copies of your installation
media and hope that the RS install is on there. I've spoken to MS
representatives twice and that's the best they can come up with. If anyone
has any additional information, I'd be grateful if you could pass it along.
"SeanGerman@.gmail.com" wrote:
> I'm in the same position of looking into RS for SQL 2k, and other than
> the licensing page, this was the best I could come up with on the web:
> SQL Server 2000 Reporting Services Evaluation Edition
> http://www.microsoft.com/downloads/details.aspx?FamilyID=ba517c01-2e2f-4bc7-84af-149b7637f807&DisplayLang=en
> SQL Server 2000 Reporting Services Service Pack 2
> http://www.microsoft.com/downloads/details.aspx?familyid=502C0D89-1308-4662-8F58-CEC55EF1235B&displaylang=en
> Hotfix for SQL Server 2000 Reporting Services SP2
> http://www.microsoft.com/downloads/details.aspx?FamilyID=7ffe50d4-aff8-4c1e-9609-6798190c2d58&displaylang=en
>
> HTH,
> Sean G.
>|||Here are the links for RS 2000:
http://www.microsoft.com/sql/prodinfo/previousversions/default.mspx
http://www.microsoft.com/sql/technologies/reporting/retailfulfillment.mspx
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Baxter" <Baxter@.discussions.microsoft.com> wrote in message
news:21B99198-9D06-4474-AB1C-83B87FB7B5A7@.microsoft.com...
> In case anyone's interested, here's what I've found out so far. Reporting
> Services was included on the SQL Server 2000 media starting in March 2004.
> For customers who have an old copy of SQL2k, you may be out of luck. Your
> best chance may be to try and order replacement copies of your
> installation
> media and hope that the RS install is on there. I've spoken to MS
> representatives twice and that's the best they can come up with. If anyone
> has any additional information, I'd be grateful if you could pass it
> along.
> "SeanGerman@.gmail.com" wrote:
>> I'm in the same position of looking into RS for SQL 2k, and other than
>> the licensing page, this was the best I could come up with on the web:
>> SQL Server 2000 Reporting Services Evaluation Edition
>> http://www.microsoft.com/downloads/details.aspx?FamilyID=ba517c01-2e2f-4bc7-84af-149b7637f807&DisplayLang=en
>> SQL Server 2000 Reporting Services Service Pack 2
>> http://www.microsoft.com/downloads/details.aspx?familyid=502C0D89-1308-4662-8F58-CEC55EF1235B&displaylang=en
>> Hotfix for SQL Server 2000 Reporting Services SP2
>> http://www.microsoft.com/downloads/details.aspx?FamilyID=7ffe50d4-aff8-4c1e-9609-6798190c2d58&displaylang=en
>>
>> HTH,
>> Sean G.
>>|||The retail fulfillment link has been updated as follows:
http://www.microsoft.com/sql/prodinfo/previousversions/rs/retailfulfillment.mspx
"Daniel Reib [MSFT]" wrote:
> Here are the links for RS 2000:
> http://www.microsoft.com/sql/prodinfo/previousversions/default.mspx
> http://www.microsoft.com/sql/technologies/reporting/retailfulfillment.mspx
> --
> -Daniel
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Baxter" <Baxter@.discussions.microsoft.com> wrote in message
> news:21B99198-9D06-4474-AB1C-83B87FB7B5A7@.microsoft.com...
> > In case anyone's interested, here's what I've found out so far. Reporting
> > Services was included on the SQL Server 2000 media starting in March 2004.
> > For customers who have an old copy of SQL2k, you may be out of luck. Your
> > best chance may be to try and order replacement copies of your
> > installation
> > media and hope that the RS install is on there. I've spoken to MS
> > representatives twice and that's the best they can come up with. If anyone
> > has any additional information, I'd be grateful if you could pass it
> > along.
> >
> > "SeanGerman@.gmail.com" wrote:
> >
> >> I'm in the same position of looking into RS for SQL 2k, and other than
> >> the licensing page, this was the best I could come up with on the web:
> >>
> >> SQL Server 2000 Reporting Services Evaluation Edition
> >> http://www.microsoft.com/downloads/details.aspx?FamilyID=ba517c01-2e2f-4bc7-84af-149b7637f807&DisplayLang=en
> >>
> >> SQL Server 2000 Reporting Services Service Pack 2
> >> http://www.microsoft.com/downloads/details.aspx?familyid=502C0D89-1308-4662-8F58-CEC55EF1235B&displaylang=en
> >>
> >> Hotfix for SQL Server 2000 Reporting Services SP2
> >> http://www.microsoft.com/downloads/details.aspx?FamilyID=7ffe50d4-aff8-4c1e-9609-6798190c2d58&displaylang=en
> >>
> >>
> >> HTH,
> >>
> >> Sean G.
> >>
> >>
>
>
Monday, March 12, 2012
How do I get a RS report onto an Internet website?
I've written our first Reporting Services report, using SQL Server 2005. Since we've never used RS before, we may, or may not, have done some things correctly. One of the things is that we only have the Reporting Services, and Report Manager, on our SQL Server 2005 server, which is in our network behind our firewall.
We also have an ASP.NET 1.1 application which is used by external users (other businesses that do business with us). Because of the nature of our business, we don't want people from one agency to access data from another agency. Since calling the report in RS involved passing parameters to the report in the URL, I decided that I would hide those details by putting the web page returned by RS into an IFRAME in an aspx page. It works just fine in our network, but I discovered that it does not work at all outside of our network.
So, my question is how do I make the RS report available to users outside of our network, in such a way that they don't have access to the parameters that I pass to the report? Should I discard the whole IFRAME approach? I have been told that it will likely require doing something about passing credentials to the backend server from the ASP.NET app, but I don't know how to do that, nor do I know what would be involved.
The most straightforward approach is to use the VS reportviewer control & run your report in local mode, e.g., do not rely upon the report server. This approach eliminates the need to create a security extesion for report server. Cheers!|||
I'm sorry to be so obtuse, but what do you mean by, "run [my] report in local mode"?
|||
DoctorWho:
I'm sorry to be so obtuse, but what do you mean by, "run [my] report in local mode"?
Never mind, I've found it (local mode).
How do I get a RS report onto an Internet app?
I've written our first Reporting Services report, using SQL Server 2005. Since we've never used RS before, we may, or may not, have done some things correctly. One of the things is that we only have the Reporting Services, and Report Manager, on our SQL Server 2005 server, which is in our network behind our firewall.
We also have an ASP.NET 1.1 application which is used by external users (other businesses that do business with us). Because of the nature of our business, we don't want people from one agency to access data from another agency. Since calling the report in RS involved passing parameters to the report in the URL, I decided that I would hide those details by putting the web page returned by RS into an IFRAME in an aspx page. It works just fine in our network, but I discovered that it does not work at all outside of our network.
So, my question is how do I make the RS report available to users outside of our network, in such a way that they don't have access to the parameters that I pass to the report? Should I discard the whole IFRAME approach? I have been told that it will likely require doing something about passing credentials to the backend server from the ASP.NET app, but I don't know how to do that, nor do I know what would be involved.
Your report will be trying to access data from the SQL Server and your internet site will be passing through port 80 (Open to the world) and therefore the SQL Data side will be blocked, If you open the SQL Port on the firewall then you will see the report runs fine, but then you have a SQL Port open!! Thats a whole other issue, You can do an internal redirect which will give you the same result but slightly more secure.
Your choice on that one...
|||
Andy,
What do you mean by I "... can do an internal redirect...". What is that and how do I do that, please?
|||
Rod, possibly Teo's article will help you: "Harden MS Reporting Services Using Custom Extensions"
How DO I Generate a Table Of Contents For a Report?
Hi!!!
Can anybody help me with the generation of Table of Contents for a report using SQL Server 2005 Reporting Services. Let me ellaborate. The scenerio is...i m having a report of lets say 500 pages grouped on employees, showing the performance of each employee between specific date range. Now if the manager prints the report of 500 pages he will be more intersted to jump directly to a perticular employee's page which means my printed report had to have a Table of Contents on my grouped criteria (which in this case is employee number). I would really appriciate if someone can suggest me a solution for this.
Any reason why all 500 pages have to be printed? If your manager can agree to viewing the information on line, your best option would be to use a document map. Not sure if you can print the information used to build the document map but I'm guessing your table of contents would at least begin with a document map. BTW, document map properties are an attribute of a group.|||Yes actually i had that option of Document Map in mind but the thing is, there are scenerios where lenghty reports are printed and taken to meetings with every person having its own copy of report and they have to discuss those reports along with directly taking notes/comments on the printed report for future reference. So its a sort of compulsion to have TOC with page number reference for printed reports so that they can quickly jump to any specific page for discussion. I appriciate your reply but do you have any ideas to get it done by any means may be through coding or any other way?|||Anybody? Its really urgent.
Thanx.
|||There should be some simple work around for this thing if it does not have a built-in support for it? any ideas guys?|||I have been working on this table of content thing for a week now. I have somehow found a solution for that. You can write an assembly containing a function which would take 2 paramenters the page number and your group name (Which needs to be on the table of contents) and write them to an xml file or a database table. Once you are done with the assembly you can reference that assembly in you rdl file and pass that the page number and the current group on the page to that function. You will have a complete table of contents in form of an xml or database table whatever you select. If you have any questions i can explain them in more details
I have done this so far and now only thing left is to display that TOC on the original report again. I m wroking on it... so far this is what i tried... i added my TOC data set to a new report and made my original report a sub report in that report. Now there are 2 issues. (1) The sub report wont show the page numbers. (2) I will have to run the subreport once before the main report so that it writes the TOC values to the xml file or table which can be accessed then in the main report. I think it can be done on windows form or a web form to call that subreport as an independent report somehow hidden from user, but i would be more interested to do all this stuff from the report if possible.
Thanx!
How DO I Generate a Table Of Contents For a Report?
Hi!!!
Can anybody help me with the generation of Table of Contents for a report using SQL Server 2005 Reporting Services. Let me ellaborate. The scenerio is...i m having a report of lets say 500 pages grouped on employees, showing the performance of each employee between specific date range. Now if the manager prints the report of 500 pages he will be more intersted to jump directly to a perticular employee's page which means my printed report had to have a Table of Contents on my grouped criteria (which in this case is employee number). I would really appriciate if someone can suggest me a solution for this.
Any reason why all 500 pages have to be printed? If your manager can agree to viewing the information on line, your best option would be to use a document map. Not sure if you can print the information used to build the document map but I'm guessing your table of contents would at least begin with a document map. BTW, document map properties are an attribute of a group.|||Yes actually i had that option of Document Map in mind but the thing is, there are scenerios where lenghty reports are printed and taken to meetings with every person having its own copy of report and they have to discuss those reports along with directly taking notes/comments on the printed report for future reference. So its a sort of compulsion to have TOC with page number reference for printed reports so that they can quickly jump to any specific page for discussion. I appriciate your reply but do you have any ideas to get it done by any means may be through coding or any other way?|||Anybody? Its really urgent.
Thanx.
|||There should be some simple work around for this thing if it does not have a built-in support for it? any ideas guys?|||I have been working on this table of content thing for a week now. I have somehow found a solution for that. You can write an assembly containing a function which would take 2 paramenters the page number and your group name (Which needs to be on the table of contents) and write them to an xml file or a database table. Once you are done with the assembly you can reference that assembly in you rdl file and pass that the page number and the current group on the page to that function. You will have a complete table of contents in form of an xml or database table whatever you select. If you have any questions i can explain them in more details
I have done this so far and now only thing left is to display that TOC on the original report again. I m wroking on it... so far this is what i tried... i added my TOC data set to a new report and made my original report a sub report in that report. Now there are 2 issues. (1) The sub report wont show the page numbers. (2) I will have to run the subreport once before the main report so that it writes the TOC values to the xml file or table which can be accessed then in the main report. I think it can be done on windows form or a web form to call that subreport as an independent report somehow hidden from user, but i would be more interested to do all this stuff from the report if possible.
Thanx!
|||I started down this path, and found quite quickly that I cannot reference Globals.PageNumber() within the body...therefore, I cannot tell a function that "Strategy A is on page 5", etc... How did you solve this problem?Thx,
Mojo
|||
I too would like to know if there is an easy way to add Table of Content.
The work around I use is, Right click on any groups / details area --> Nevigation tab --> Document map..Using drop down, choose the data element file that you wish to include in Table of Content.
The document map builds a nevigation menu on the left side pane of the report window.
|||Its been a while since i did that, but lets try this,
Write your custom assembly with following code ..
using System;
using System.Collections.Generic;
using System.Text;
namespace ReportsCustomAssembly
{
public class CustomCode
{
public static int CurrPageNum;
public static int SavePage(int CurrPage )
{
CurrPageNum=CurrPage;
return CurrPageNum;
}
}
}
Build your assembly and add reference it in the report. Now in the page header add a text box and wirte expression =ReportsCustomAssembly.CustomCode.SavePage(Globals!PageNumber)
Now you have your page number stored in the static varible "CurrPageNum" defined in your custom assembly. You can reuse it in body or anywhere else in the report.
=ReportsCustomAssembly.CustomCode.CurrPageNum
I hope it should work, i remember vaugely this is somewhat i did, but lemme know if you face any problems i can go back and recheck how exactly i did that.
|||I am afraid my friend, I haven't been able to find any solution at all which is straight forward. I expected it to be a straight forward thing too but didnt work that way.
I would highly recommend if the document map can be used as an alternative to the TOC in your case, you should use it, because it is much easier to use, provides you with interactive hyper links on the report and most of all if you export it to PDF or Excel it creates the the bookmarks equvilant to the document map you have on the report.
However in my specific scenerio i needed a TOC because my business requirement was to print out big reports starting with TOC right at the top.
How DO I Generate a Table Of Contents For a Report?
Hi!!!
Can anybody help me with the generation of Table of Contents for a report using SQL Server 2005 Reporting Services. Let me ellaborate. The scenerio is...i m having a report of lets say 500 pages grouped on employees, showing the performance of each employee between specific date range. Now if the manager prints the report of 500 pages he will be more intersted to jump directly to a perticular employee's page which means my printed report had to have a Table of Contents on my grouped criteria (which in this case is employee number). I would really appriciate if someone can suggest me a solution for this.
Any reason why all 500 pages have to be printed? If your manager can agree to viewing the information on line, your best option would be to use a document map. Not sure if you can print the information used to build the document map but I'm guessing your table of contents would at least begin with a document map. BTW, document map properties are an attribute of a group.|||Yes actually i had that option of Document Map in mind but the thing is, there are scenerios where lenghty reports are printed and taken to meetings with every person having its own copy of report and they have to discuss those reports along with directly taking notes/comments on the printed report for future reference. So its a sort of compulsion to have TOC with page number reference for printed reports so that they can quickly jump to any specific page for discussion. I appriciate your reply but do you have any ideas to get it done by any means may be through coding or any other way?|||Anybody? Its really urgent.
Thanx.
|||There should be some simple work around for this thing if it does not have a built-in support for it? any ideas guys?|||I have been working on this table of content thing for a week now. I have somehow found a solution for that. You can write an assembly containing a function which would take 2 paramenters the page number and your group name (Which needs to be on the table of contents) and write them to an xml file or a database table. Once you are done with the assembly you can reference that assembly in you rdl file and pass that the page number and the current group on the page to that function. You will have a complete table of contents in form of an xml or database table whatever you select. If you have any questions i can explain them in more details
I have done this so far and now only thing left is to display that TOC on the original report again. I m wroking on it... so far this is what i tried... i added my TOC data set to a new report and made my original report a sub report in that report. Now there are 2 issues. (1) The sub report wont show the page numbers. (2) I will have to run the subreport once before the main report so that it writes the TOC values to the xml file or table which can be accessed then in the main report. I think it can be done on windows form or a web form to call that subreport as an independent report somehow hidden from user, but i would be more interested to do all this stuff from the report if possible.
Thanx!
Friday, March 9, 2012
How do I fix an intenal NS SP error?
I am in the process of moving some Notification Services 2.0 applications to another server running SQL Server 2005 with Notification Services 2005. I have modified my old ADF files to get rid of the Notify() function as it is no longer supported in version 2005.
When I try to create a new instance using the old IDF file I get some errors, that I believe is internal Notification Services errors: The creation-script tries to create an SP named NSGet<MyAlertName>SMTPNotificationsDeveloperDefined but failed because of an undeclared scalar variable @.workItemId. This is not a variable I have created.
Looking at my old application, currently running fine on SQL Server 2000, I can not find the NSGet<MyAlertName>SMTPNotificationsDeveloperDefined SP, but one that is named NSGet<MyAlertName>SMTPNotifications instead. This SP takes the @.workItemId variable as a parameter, but the new SP (NSGet<MyAlertName>SMTPNotificationsDeveloperDefined) does not.
These stored procedures and the variable is as far as I know created by Notification Services so I don't see how I can correct the error? But as things are now, I'm not able to create the new instance because of this error. I have tried on both Management Studio and the NS command promt - but the same error occurs.
Anyone know how to fix this issue?
Please ignore or delete my post.
It seems that I have done some querying on the old SP which had @.workItemId via an <SQLExpression>.
Sorry for the inconvinience.
Friday, February 24, 2012
How do I dynamically change the ReportViewer's focus from one RDLC to another at runtime in cod
Howdy friends,
I have a question regarding SQL Reporting Services 2005. I have raised this question in several other places, only to watch it go unanswered. Hope to recieve the answer here.
I am using a SQL Reporting Services .RDLCs inside a Visual Basic 2005 windows client application. This is not webclient or web context; it is a Windows client. We will run the reports on the client side, not server side. The reports are embedded resources deployed in an MSI along with the rest of the application. I have one WinForm in the project which hosts the ReportViewer control. We have 5 unique RDLC report definitions. Any of our end user may want or need to preview at any of these 5 reports inside this single ReportViewer WinForm at run time.
So far I have found absolutely no way to dynamically change the RDLC which the ReportViewer displays at run time, and in code. How can this be done?
Whenever I ask this question, some joker always pops and says "That's easy, you just open your form in Visual Studio and use the smart tags to go through the binding setup." That is not particularly helpful because it doesn't answer the question. The question is not how to redesign the form inside Visual Studio with smart tags. The question is how to dynamically change the report that the ReportViewer displays dynamically, at runtime, and in code.
At the moment I think there is no solution to this problem. It seems that an RDLC is bound to the ReportViewer at design time and is immutably fixed at runtime. So far I have seen no working code which changes ReportVIewer from one RDLC to another. I am close to reaching the conclusion that I must make 5 copies of the same form, and bind 1 copy to 1 .RDLC in design mode. This is a pretty lame-arse solution if you ask me.
Anybody have a clue?
I am also struggling with the same problem.
I tried changing the ReportPath to a different rdlc at runtime. I also added a new "objectdatasource" to the Viewer window. However, I'm not sure how to specify which "objectdatasource" the ReportViewer should use.
Can Dave be right? "It seems that an RDLC is bound to the ReportViewer at design time and is immutably fixed at runtime. "
|||
When you bind the report viewer control to the form, there is a call to load the report on startup. You can remove this call, change the properties dynamically, then load the selected report in the viewer.
I bound Report1.rdlc to my viewer control.
I commented out the following line of code in the form load method.
//this.reportViewer1.RefreshReport();
And added:
this.reportViewer1.LocalReport.ReportEmbeddedResource = "WindowsApplication1.Report2.rdlc";
this.reportViewer1.RefreshReport();
The WindowsApplication1.Report2.rdlc could be a method that dynamically sets the value.
Check out http://www.gotreportviewer.com from more tips.
How do I dynamically change the ReportViewer's focus from one RDLC to another at runtime in
Howdy friends,
I have a question regarding SQL Reporting Services 2005. I have raised this question in several other places, only to watch it go unanswered. Hope to recieve the answer here.
I am using a SQL Reporting Services .RDLCs inside a Visual Basic 2005 windows client application. This is not webclient or web context; it is a Windows client. We will run the reports on the client side, not server side. The reports are embedded resources deployed in an MSI along with the rest of the application. I have one WinForm in the project which hosts the ReportViewer control. We have 5 unique RDLC report definitions. Any of our end user may want or need to preview at any of these 5 reports inside this single ReportViewer WinForm at run time.
So far I have found absolutely no way to dynamically change the RDLC which the ReportViewer displays at run time, and in code. How can this be done?
Whenever I ask this question, some joker always pops and says "That's easy, you just open your form in Visual Studio and use the smart tags to go through the binding setup." That is not particularly helpful because it doesn't answer the question. The question is not how to redesign the form inside Visual Studio with smart tags. The question is how to dynamically change the report that the ReportViewer displays dynamically, at runtime, and in code.
At the moment I think there is no solution to this problem. It seems that an RDLC is bound to the ReportViewer at design time and is immutably fixed at runtime. So far I have seen no working code which changes ReportVIewer from one RDLC to another. I am close to reaching the conclusion that I must make 5 copies of the same form, and bind 1 copy to 1 .RDLC in design mode. This is a pretty lame-arse solution if you ask me.
Anybody have a clue?
I am also struggling with the same problem.
I tried changing the ReportPath to a different rdlc at runtime. I also added a new "objectdatasource" to the Viewer window. However, I'm not sure how to specify which "objectdatasource" the ReportViewer should use.
Can Dave be right? "It seems that an RDLC is bound to the ReportViewer at design time and is immutably fixed at runtime. "
|||
When you bind the report viewer control to the form, there is a call to load the report on startup. You can remove this call, change the properties dynamically, then load the selected report in the viewer.
I bound Report1.rdlc to my viewer control.
I commented out the following line of code in the form load method.
//this.reportViewer1.RefreshReport();
And added:
this.reportViewer1.LocalReport.ReportEmbeddedResource = "WindowsApplication1.Report2.rdlc";
this.reportViewer1.RefreshReport();
The WindowsApplication1.Report2.rdlc could be a method that dynamically sets the value.
Check out http://www.gotreportviewer.com from more tips.
Sunday, February 19, 2012
How do I devlop application which can use 2000 Reporting Services and 2005 Services
Please guide me in developing applications which can work with Reporting Services of 2000 and 2005.
Are there any design considerations to be taken to develop such applications.
Thanks,
V
Please note that RS 2005 includes SOAP endpoint that is fully compatible with one in RS 2000. If you have an application that uses RS 2000 SOAP endpoint you should be able to use this application with RS 2005 without any changes (unless you want new cool features of RS 2005).|||Could you please give me some references for the documentation to develop applications which can work both on 2000 Reporting services and 2005 Reporting Services .
Best Regards,
V
How do I determine my Reporting Services version - again?
Specifically, is it SP2, which is required for a CRM update?
On searching through the newsgroup bulletins, I see that I am not the only
one who has wanted that kind of information, though unfortunately the
questions stemmed from the 8.0 release. I also did a search through the MSDN
library for ReportingService, and found this article: How to: Detect Version
Information (Reporting Services)
Unfortunately, 9.00.3186.00 doesn't appear in that article's chart. The
closest if 9.0.3042.00, which is service pack 2.
Can anyone help here?Type the following in Management Studio:
select SERVERPROPERTY('PRODUCTLEVEL')
--
Thank you,
Alain Quesnel
alainsansspam@.logiquel.com
www.logiquel.com
"Bev Kaufman" <BevKaufman@.discussions.microsoft.com> wrote in message
news:360A50A8-629B-4D6C-A534-85BC8EBA48C2@.microsoft.com...
> The version numer is 9.00.3186.00. I need to know what that means.
> Specifically, is it SP2, which is required for a CRM update?
> On searching through the newsgroup bulletins, I see that I am not the only
> one who has wanted that kind of information, though unfortunately the
> questions stemmed from the 8.0 release. I also did a search through the
> MSDN
> library for ReportingService, and found this article: How to: Detect
> Version
> Information (Reporting Services)
> Unfortunately, 9.00.3186.00 doesn't appear in that article's chart. The
> closest if 9.0.3042.00, which is service pack 2.
> Can anyone help here?