Thursday, March 29, 2012
Can I hide header of Report in browser, when I print using browser
I am trying to use Printing in browser for reports which are developed in
SQL Reporting Services. Now, when I try to print reports using browsers and
go to file menu and select Print Preview then it preview all the stuff which
I have in browser including that header of report which is used to change
pages and exporting options. How can I hide that header when I print.
Thanks.
--
Essa, M. Mughal
Software Developer
iLogic Inc., CanadaOne solution would be to provide a "print format" button that would display
the report without the toolbar. (You can turn off the toolbar using URL
commands.)
"Essa" <essamughal@.hotmail.com> wrote in message
news:5E84C2B5-9753-4510-B5F3-14DD542920F3@.microsoft.com...
> Hi;
> I am trying to use Printing in browser for reports which are developed in
> SQL Reporting Services. Now, when I try to print reports using browsers
and
> go to file menu and select Print Preview then it preview all the stuff
which
> I have in browser including that header of report which is used to change
> pages and exporting options. How can I hide that header when I print.
> Thanks.
> --
> Essa, M. Mughal
> Software Developer
> iLogic Inc., Canada|||Printing from the browser is not recommended using SQL Server 2000 Reporting
Services (RTM and SP1). This issue will be addressed in an upcoming release.
Meanwhile, the recommened technique is to export to PDF and print using the
PDF file.
--
Bruce Johnson [MSFT]
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Essa" <essamughal@.hotmail.com> wrote in message
news:5E84C2B5-9753-4510-B5F3-14DD542920F3@.microsoft.com...
> Hi;
> I am trying to use Printing in browser for reports which are developed in
> SQL Reporting Services. Now, when I try to print reports using browsers
and
> go to file menu and select Print Preview then it preview all the stuff
which
> I have in browser including that header of report which is used to change
> pages and exporting options. How can I hide that header when I print.
> Thanks.
> --
> Essa, M. Mughal
> Software Developer
> iLogic Inc., Canada
Tuesday, March 27, 2012
Can I get an English version of electron book
When I download Reporting service trial version.
I always get a Chinese version thought I have choosen an English version.
The translation of electron book is not good, so I want to read in English.
How can I get a English version of electron book of Reporting Service?When you install reporting services, we include all languages in a single
distribution. We derive the language for the install from the OS language
settings. You can change this by setting the language for non-Unicode
programs to English. To get the english version:
Start
-->Control Panel
-->Regional and Language Options
-->Advanced tab
--> Language for non-Unicode programs - set this to English (United States)
Also, if you can provide examples of where the translation is poor, we would
love to know these so we can make the localization for our documentation
better.
-Lukasz
This posting is provided "AS IS" with no warranties, and confers no rights.
"ad" <ad@.wfes.tcc.edu.tw> wrote in message
news:%23z6PrKGaEHA.3996@.TK2MSFTNGP12.phx.gbl...
>I used Chinese edition of Windows.
> When I download Reporting service trial version.
> I always get a Chinese version thought I have choosen an English version.
> The translation of electron book is not good, so I want to read in
> English.
> How can I get a English version of electron book of Reporting Service?
>|||Thank,
After I set the language of Control Panel, the electron book is still in
Chinese,
and the character in my Outlook in mess up.
Can I only set the electron book to English, not the whole Windows?
"Lukasz Pawlowski [MSFT]" <lukaszp@.online.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
:#1QG6yGaEHA.3888@.TK2MSFTNGP10.phx.gbl...
> When you install reporting services, we include all languages in a single
> distribution. We derive the language for the install from the OS language
> settings. You can change this by setting the language for non-Unicode
> programs to English. To get the english version:
> Start
> -->Control Panel
> -->Regional and Language Options
> -->Advanced tab
> --> Language for non-Unicode programs - set this to English (United
States)
> Also, if you can provide examples of where the translation is poor, we
would
> love to know these so we can make the localization for our documentation
> better.
> -Lukasz
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "ad" <ad@.wfes.tcc.edu.tw> wrote in message
> news:%23z6PrKGaEHA.3996@.TK2MSFTNGP12.phx.gbl...
> >I used Chinese edition of Windows.
> > When I download Reporting service trial version.
> > I always get a Chinese version thought I have choosen an English
version.
> > The translation of electron book is not good, so I want to read in
> > English.
> > How can I get a English version of electron book of Reporting Service?
> >
> >
>|||This is only required during installation. You can set it back whenever you
like after the install is complete. Note that the behavior of updates to
books online (there's on available thorugh msdn) will only install based on
the setting you had during setup.
-Lukasz
"ad" <ad@.wfes.tcc.edu.tw> wrote in message
news:eeKiaRNaEHA.712@.TK2MSFTNGP11.phx.gbl...
> Thank,
> After I set the language of Control Panel, the electron book is still in
> Chinese,
> and the character in my Outlook in mess up.
> Can I only set the electron book to English, not the whole Windows?
>
> "Lukasz Pawlowski [MSFT]" <lukaszp@.online.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
> :#1QG6yGaEHA.3888@.TK2MSFTNGP10.phx.gbl...
>> When you install reporting services, we include all languages in a single
>> distribution. We derive the language for the install from the OS
>> language
>> settings. You can change this by setting the language for non-Unicode
>> programs to English. To get the english version:
>> Start
>> -->Control Panel
>> -->Regional and Language Options
>> -->Advanced tab
>> --> Language for non-Unicode programs - set this to English (United
> States)
>> Also, if you can provide examples of where the translation is poor, we
> would
>> love to know these so we can make the localization for our documentation
>> better.
>> -Lukasz
>>
>> --
>> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>>
>>
>> "ad" <ad@.wfes.tcc.edu.tw> wrote in message
>> news:%23z6PrKGaEHA.3996@.TK2MSFTNGP12.phx.gbl...
>> >I used Chinese edition of Windows.
>> > When I download Reporting service trial version.
>> > I always get a Chinese version thought I have choosen an English
> version.
>> > The translation of electron book is not good, so I want to read in
>> > English.
>> > How can I get a English version of electron book of Reporting Service?
>> >
>> >
>>
>|||Thank!
But the character of Outlook is mess up after set the Control Pannel's
language to English.
Are there any method just change the electron book's language to English,
not the whole Windows system.
"Lukasz Pawlowski [MSFT]" <lukaszp@.online.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
:#1QG6yGaEHA.3888@.TK2MSFTNGP10.phx.gbl...
> When you install reporting services, we include all languages in a single
> distribution. We derive the language for the install from the OS language
> settings. You can change this by setting the language for non-Unicode
> programs to English. To get the english version:
> Start
> -->Control Panel
> -->Regional and Language Options
> -->Advanced tab
> --> Language for non-Unicode programs - set this to English (United
States)
> Also, if you can provide examples of where the translation is poor, we
would
> love to know these so we can make the localization for our documentation
> better.
> -Lukasz
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "ad" <ad@.wfes.tcc.edu.tw> wrote in message
> news:%23z6PrKGaEHA.3996@.TK2MSFTNGP12.phx.gbl...
> >I used Chinese edition of Windows.
> > When I download Reporting service trial version.
> > I always get a Chinese version thought I have choosen an English
version.
> > The translation of electron book is not good, so I want to read in
> > English.
> > How can I get a English version of electron book of Reporting Service?
> >
> >
>|||Thank for your answer.
It solve my problem.
"ad" <ad@.wfes.tcc.edu.tw> ¼¶¼g©ó¶l¥ó·s»D
:OstyUtSaEHA.2388@.TK2MSFTNGP09.phx.gbl...
> Thank!
> But the character of Outlook is mess up after set the Control Pannel's
> language to English.
> Are there any method just change the electron book's language to English,
> not the whole Windows system.
>
>
> "Lukasz Pawlowski [MSFT]" <lukaszp@.online.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
> :#1QG6yGaEHA.3888@.TK2MSFTNGP10.phx.gbl...
> > When you install reporting services, we include all languages in a
single
> > distribution. We derive the language for the install from the OS
language
> > settings. You can change this by setting the language for non-Unicode
> > programs to English. To get the english version:
> >
> > Start
> > -->Control Panel
> > -->Regional and Language Options
> > -->Advanced tab
> > --> Language for non-Unicode programs - set this to English (United
> States)
> >
> > Also, if you can provide examples of where the translation is poor, we
> would
> > love to know these so we can make the localization for our documentation
> > better.
> >
> > -Lukasz
> >
> >
> > --
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> >
> >
> >
> >
> > "ad" <ad@.wfes.tcc.edu.tw> wrote in message
> > news:%23z6PrKGaEHA.3996@.TK2MSFTNGP12.phx.gbl...
> > >I used Chinese edition of Windows.
> > > When I download Reporting service trial version.
> > > I always get a Chinese version thought I have choosen an English
> version.
> > > The translation of electron book is not good, so I want to read in
> > > English.
> > > How can I get a English version of electron book of Reporting
Service?
> > >
> > >
> >
> >
>
Thursday, March 22, 2012
can i develop on a different machine?
to create report projects from there, but I don't generally create
visual studio projects on the web server. I use a development machine
that does not have IIS installed. Is there any way to create report
projects on my development machine and point it to the report server?
I can't find any information on this, all of the examples I find tell
me to open a new report project, but the template only exists on the
report server. Is there some client tool I need to install?When you installed on the web server you installed both server and client
tools. Normally you would not have VS installed on the production machine
and only install the server part. Although it can be handy to be developing
on a machine that has both installed it is not necessary. When you preview a
report in VS it is not using IIS. Just install the client tools from the RS
installation on a machine that has Visual Studio on it.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"malpous" <porterdn@.email.uc.edu> wrote in message
news:97b85c30.0411221031.6907a8e2@.posting.google.com...
> I have just installed reporting services on our web server and am able
> to create report projects from there, but I don't generally create
> visual studio projects on the web server. I use a development machine
> that does not have IIS installed. Is there any way to create report
> projects on my development machine and point it to the report server?
> I can't find any information on this, all of the examples I find tell
> me to open a new report project, but the template only exists on the
> report server. Is there some client tool I need to install?
Can I copy a report in Report Manager?
Is it possible to copy a report to more than one folder in the Report
Manager? We have a staging area where all of our reports are being
deployed. They are then moved to specific folders for various clients.
Some clients will use the same report, so it will exist in more than
one location. Is there a way to copy the report in Report Manager to
the respective folders or do they need to be uploaded to each folder?
Thanks in advance,
GabeHi,
In a word, no! You can upload it multiple times to different places.
You can also create "linked" reports, these are basically shortcuts to
one report although I doubt this will work in your scenario because you
will be tied to the one set of datasources.
So I'm afraid you will have to upload or deploy and move, upload or
deploy and move etc.
I guess you could look at the ReportServer catalog file and decipher it
to work out how to copy but I wouldn't recommend it!
Regards
Chris
gabedog@.gmail.com wrote:
> I'm a newbie to reporting services.
> Is it possible to copy a report to more than one folder in the Report
> Manager? We have a staging area where all of our reports are being
> deployed. They are then moved to specific folders for various clients.
> Some clients will use the same report, so it will exist in more than
> one location. Is there a way to copy the report in Report Manager to
> the respective folders or do they need to be uploaded to each folder?
> Thanks in advance,
> Gabe
Tuesday, March 20, 2012
Can I change the server name?
Would changing the name of my server used for Reporting Services cause any
issues? I would like to change it from xxxtest to xxxproduction.
thanksHi Darwin:
You'll need to change the <ReportServerUrl> value in the
RSWebApplication.config file to the new server name.
--
Scott
http://www.OdeToCode.com/
On Fri, 8 Oct 2004 13:27:03 -0700, darwin
<darwin@.discussions.microsoft.com> wrote:
>hi all
>Would changing the name of my server used for Reporting Services cause any
>issues? I would like to change it from xxxtest to xxxproduction.
>thanks
Can I change the default CSV extract to reporting services
sent from the reporting services engine on scheduled jobs. I know I need to
add a Noheader command and also change to ASCII.
I wondering how do I do this to scheduled jobs with in the reporting
services environment and schedule it to run each day with the extra device
parameters. The default I want for this report will be the same default for
all csv files so can I change something in the report engine or the CSV
extract defaults?
Current address I use is
http://report01/ReportServer?%2fDevelopment%2fEIS%2fEIS02+BSMPurchaseOrderExtract&rs:Format=CSV&rs:Command=Render&rc:Extension=txt&rc:NoHeader=true&rc:FieldDelimiter=&rc:Encoding=asciiI would love to know the answer to this because I have exactly the same
problem.
"John230873" wrote:
> I have been searching and found the answer to my problems in the XML string
> sent from the reporting services engine on scheduled jobs. I know I need to
> add a Noheader command and also change to ASCII.
> I wondering how do I do this to scheduled jobs with in the reporting
> services environment and schedule it to run each day with the extra device
> parameters. The default I want for this report will be the same default for
> all csv files so can I change something in the report engine or the CSV
> extract defaults?
> Current address I use is
> http://report01/ReportServer?%2fDevelopment%2fEIS%2fEIS02+BSMPurchaseOrderExtract&rs:Format=CSV&rs:Command=Render&rc:Extension=txt&rc:NoHeader=true&rc:FieldDelimiter=&rc:Encoding=ascii
>
can I change chart colours
I am using SQL Server 2000 reporting service to create reports. i am using charts in my report. i want to know whether it is possible to customize the chart colours? right now there are only 7 pre defiened palettes available.Please check the following article and the attached sample report:
http://blogs.msdn.com/bwelcker/archive/2005/05/20/420349.aspx
The article describes how to define and use a custom selection of colors in your chart.
-- Robert
can I change chart colours
I am using SQL Server 2000 reporting service to create reports. i am using charts in my report. i want to know whether it is possible to customize the chart colours? right now there are only 7 pre defiened palettes available.Please check the following article and the attached sample report:
http://blogs.msdn.com/bwelcker/archive/2005/05/20/420349.aspx
The article describes how to define and use a custom selection of colors in your chart.
-- Robert
Monday, March 19, 2012
Can I add parameters to a report in the Microsoft Report Builder.
I'm using SQL Server 2005 Reporting Services and Visual Studio 2005.
I'm just wondering if I can add parameters to a report with the Report
Builder or is this facility only available in the VS2005 report editor? If
it's possible what are the steps I need to follow?
Alternatively, assuming that I can't add parameters in the report
builder directly, I was wondering if parameters could be defined in a report
model and then after it's published the parameters could be included in the
Report Builder report using the model?
Thanks in advance,
Mark.Hi Mark
You can add parameters by adding a Filter.
When building the filter expression click on the operator in the expression
and choose "Prompt" this will generate a parameter. I guess this operator is
not available for all filtering expressions and depends on attribute
ValueSelection property.
Hope this helps,
Jordi Rambla
SQL Server MVP (Reporting Services)
SolidQualityLearning Iberoamericana
"Mark Hayes" <MarkHayes@.discussions.microsoft.com> escribió en el mensaje
news:75FEDA12-7594-4EB4-A035-F93C9A3E6979@.microsoft.com...
> Hi,
> I'm using SQL Server 2005 Reporting Services and Visual Studio 2005.
> I'm just wondering if I can add parameters to a report with the Report
> Builder or is this facility only available in the VS2005 report editor? If
> it's possible what are the steps I need to follow?
> Alternatively, assuming that I can't add parameters in the report
> builder directly, I was wondering if parameters could be defined in a
> report
> model and then after it's published the parameters could be included in
> the
> Report Builder report using the model?
> Thanks in advance,
> Mark.|||I read your response, I am trying to Add a filter or Parameter to a report. I
don't see any expression Builder, just a list of values? Which in my case has
18,000 rows. Where does one build an expression for a filter?
"Jordi Rambla" wrote:
> Hi Mark
> You can add parameters by adding a Filter.
> When building the filter expression click on the operator in the expression
> and choose "Prompt" this will generate a parameter. I guess this operator is
> not available for all filtering expressions and depends on attribute
> ValueSelection property.
> Hope this helps,
> Jordi Rambla
> SQL Server MVP (Reporting Services)
> SolidQualityLearning Iberoamericana
> "Mark Hayes" <MarkHayes@.discussions.microsoft.com> escribió en el mensaje
> news:75FEDA12-7594-4EB4-A035-F93C9A3E6979@.microsoft.com...
> > Hi,
> > I'm using SQL Server 2005 Reporting Services and Visual Studio 2005.
> > I'm just wondering if I can add parameters to a report with the Report
> > Builder or is this facility only available in the VS2005 report editor? If
> > it's possible what are the steps I need to follow?
> > Alternatively, assuming that I can't add parameters in the report
> > builder directly, I was wondering if parameters could be defined in a
> > report
> > model and then after it's published the parameters could be included in
> > the
> > Report Builder report using the model?
> >
> > Thanks in advance,
> > Mark.
>
>
Can I add a link in a users "My Reports" to a report on a different report server?
Report Manager only talks to a single server, so you can't mix reports from one server with another.
A quick workaround would be to upload an HTML file as a resource into the user's My Reports folder which redirects them to the new server.
Can I achieve WITH(NOLOCK) on all joins in a stored procedure with a single command?
records and make no changes to the data. I have noticed that some of
these SPs are causing blocks so I am adding the WITH(NOLOCK) hint. For
a simple example :-
Select * from table1 WITH(NOLOCK)
INNER JOIN table2 WITH(NOLOCK) ON table1.UID=table2.UID
INNER JOIN table3 WITH(NOLOCK) ON table1.AnotherID=table3.AnotherID
LEFT OUTER JOIN table4 WITH(NOLOCK) ON table3.ThisID=table4.ThisID
There lots of these and many of them have lots of joins so I'm looking
for a way to apply WITH(NOLOCK) to the whole procedure and save myself
the time it takes to add the hint to each table/join. I know that it
is possible to use SET DEADLOCK_PRIORITY LOW, forcing the procedure to
volunteer as the deadlock victim, but this isn't suitable as I need
the procedure to return it's records.
Does anybody have a suggestion or am I looking ata couple of days of
ctrl-v'ing WITH(NOLOCK) everywhere?
Thanks,
LiamHow about below?
SET STRANSACTION ISOLATION LEVEL READ UNCOMMITTED
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"Liam Weston" <liam_weston@.hotmail.com> wrote in message
news:5f9a8c3b.0310310227.436b158b@.posting.google.com...
> I have a number of reporting stored procedures that purely list
> records and make no changes to the data. I have noticed that some of
> these SPs are causing blocks so I am adding the WITH(NOLOCK) hint. For
> a simple example :-
> Select * from table1 WITH(NOLOCK)
> INNER JOIN table2 WITH(NOLOCK) ON table1.UID=table2.UID
> INNER JOIN table3 WITH(NOLOCK) ON table1.AnotherID=table3.AnotherID
> LEFT OUTER JOIN table4 WITH(NOLOCK) ON table3.ThisID=table4.ThisID
> There lots of these and many of them have lots of joins so I'm looking
> for a way to apply WITH(NOLOCK) to the whole procedure and save myself
> the time it takes to add the hint to each table/join. I know that it
> is possible to use SET DEADLOCK_PRIORITY LOW, forcing the procedure to
> volunteer as the deadlock victim, but this isn't suitable as I need
> the procedure to return it's records.
> Does anybody have a suggestion or am I looking ata couple of days of
> ctrl-v'ing WITH(NOLOCK) everywhere?
> Thanks,
> Liam|||Thanks, that's just what I was looking for.
Liam
"Tibor Karaszi" <tibor.please_reply_to_public_forum.karaszi@.cornerstone.se> wrote in message news:<uvCEm35nDHA.2312@.TK2MSFTNGP12.phx.gbl>...
> How about below?
> SET STRANSACTION ISOLATION LEVEL READ UNCOMMITTED
> --
> Tibor Karaszi, SQL Server MVP
> Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
>
> "Liam Weston" <liam_weston@.hotmail.com> wrote in message
> news:5f9a8c3b.0310310227.436b158b@.posting.google.com...
> > I have a number of reporting stored procedures that purely list
> > records and make no changes to the data. I have noticed that some of
> > these SPs are causing blocks so I am adding the WITH(NOLOCK) hint. For
> > a simple example :-
> >
> > Select * from table1 WITH(NOLOCK)
> > INNER JOIN table2 WITH(NOLOCK) ON table1.UID=table2.UID
> > INNER JOIN table3 WITH(NOLOCK) ON table1.AnotherID=table3.AnotherID
> > LEFT OUTER JOIN table4 WITH(NOLOCK) ON table3.ThisID=table4.ThisID
> >
> > There lots of these and many of them have lots of joins so I'm looking
> > for a way to apply WITH(NOLOCK) to the whole procedure and save myself
> > the time it takes to add the hint to each table/join. I know that it
> > is possible to use SET DEADLOCK_PRIORITY LOW, forcing the procedure to
> > volunteer as the deadlock victim, but this isn't suitable as I need
> > the procedure to return it's records.
> >
> > Does anybody have a suggestion or am I looking ata couple of days of
> > ctrl-v'ing WITH(NOLOCK) everywhere?
> >
> > Thanks,
> >
> > Liam
Thursday, March 8, 2012
Can Data Extension built with VS2005 work with RS2000 ?
For various reasons our next release of our software needs to continue to support SQL 2000 and Reporting Services 2000. We are using a Data Extension written in C#.
Can we build a data extension in VS2005, using .Net 2.0 and have it work with RS2000. A quick test did not work.
Is this a valid / supported configuration ?
If it is, what steps, modification to the various configuration files would I need to make to get it to work ?
Thanks
Richard
No this won't work. RS 2000 will only work with .NET 1.1. Since data extensions will get loaded into the same app. domain, a RS 2000 data extension has to be built with .NET 1.1 / VS 2003.
-- Robert
|||What about the other way around? Will RS2005 Support extensions I built with RS2000?|||You should update the references (e.g. RS 2005: MS.RS.Interfaces.dll) and recompile the data extension with VS 2005.
-- Robert
Can Data Extension built with VS2005 work with RS2000 ?
For various reasons our next release of our software needs to continue to support SQL 2000 and Reporting Services 2000. We are using a Data Extension written in C#.
Can we build a data extension in VS2005, using .Net 2.0 and have it work with RS2000. A quick test did not work.
Is this a valid / supported configuration ?
If it is, what steps, modification to the various configuration files would I need to make to get it to work ?
Thanks
Richard
No this won't work. RS 2000 will only work with .NET 1.1. Since data extensions will get loaded into the same app. domain, a RS 2000 data extension has to be built with .NET 1.1 / VS 2003.
-- Robert
|||What about the other way around? Will RS2005 Support extensions I built with RS2000?|||You should update the references (e.g. RS 2005: MS.RS.Interfaces.dll) and recompile the data extension with VS 2005.
-- Robert
can data analysis done using SQL Server 2005 be used in a consumer website?
Can the reporting services provide this type of functionality? And if so, would this be scalable? I would want to be able to access this clustered data in much the same way I do queries across my database and would want them to be done quickly and efficiently.
Thank you for your help.
We hacve done tests executing up to 36 million data mining singleton queries/day on desktop hardware. Up to 240M/day on really nice hardware. This was issuing queried through ASP.NET (I believe, I know it was IIS).
Regarding the scalability of RS, you need to ask on the RS forum
Can custom assemblies be used to apply styles to reports
( bgcolor,font,height,width etc) to report elements at runtime using
reporting services coding ?
Thanks,
Anand Sagar
anandsagar@.gmail.comYou don't need a custom assembly. Click on a report item (for example, a textbox) and in the
Property Browser window (generally in the bottom-right of the Report Designer shell) and change the
desired property to an expression. For example, you could change Color to:
=iif (Parameter!BeColorful.Value = True, "Red", "Black")
--
Thanks.
Donovan R. Smith
Software Test Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
"Anand Sagar" <anandsagar@.gmail.com> wrote in message
news:3f76a771.0408110538.71b356e1@.posting.google.com...
> What is Custom assembly ? Can I use a custom assembly to apply styles
> ( bgcolor,font,height,width etc) to report elements at runtime using
> reporting services coding ?
> Thanks,
> Anand Sagar
> anandsagar@.gmail.com
Wednesday, March 7, 2012
Can connect from Query Analyzer but not from Report Services
run the
report I can't connect, it says login failed. Using the same
username/password which is sa because it's a log shipped server. I can
connect through Query Analizer. The only rememdy is to restart both servers.
Then I can connect. Then it will go hey wire after a day or two and same
situation. What could be causing this?
Please help me,
BryanAlso if I try to do net stop reportserver it says the server is not
responding to the control function. Actually the same thing happens if I try
to shut down the secondary log shipped server that the reports are pointing
at. If I do net stop mssqlserver. It gives me the same error. Something is
going on here between the two and I can't figure out what it is that is going
on?
"bmurtha" wrote:
> I can terminal service into the box running Reporting Services. If I try to
> run the
> report I can't connect, it says login failed. Using the same
> username/password which is sa because it's a log shipped server. I can
> connect through Query Analizer. The only rememdy is to restart both servers.
> Then I can connect. Then it will go hey wire after a day or two and same
> situation. What could be causing this?
> Please help me,
> Bryan
Sunday, February 19, 2012
Can a stored procedure use the OpenRowSet function to get DB2 data
Background: We have a MSFT Reporting Services report that uses the
OpenRowSet function to get both DB2 and SQL Server data in one SQL statement
.
Since userid and psw are parms to this function, it is not an option to
hard-code them into the OpenRowSet parms.
So our solution is to write a stored procedure that the report will call.
This stored procedure will have the SQL statement, including the OpenRowSet
function WITH the userid and psw hard-coded in, and then the stored procedur
e
will be encrypted.
I'm presently writing the stored procedure and read the following in the
article entitled "External Data and Transact-SQL" (SQL Server books online):
"Stored procedures are supported only against SQL Server data sources."
Here's the stored procedure I'm writing. It doesn't pass the Syntax Checker
yet, so whatever assistance anyone can provide would be great.
Thanks!
========================================
==========
CREATE PROCEDURE SSP_AUTHS_BY_FI_BY_ACCT_TXT
@.inst varchar,
@.stat char(1),
@.ret_cd char(1) OUTPUT
AS
BEGIN
SET NOCOUNT ON
DECLARE @.err_cd smallint,
@.rowcount int,
@.error int
SET @.ret_cd = 0
SELECT DISTINCT DB1.EFF_STAT,
DB1.FIN_INST_NM,
DB1.ADDR_LINE_1,
DB1.ADDR_LINE_2,
DB1.ADDR_LINE_3,
DB1.ADDR_CTY,
DB1.ADDR_ST,
DB1.ADDR_POSTAL_CD,
DB1.PHONE_NR,
DB1.CONTACT_NM,
DB1.ACCT_NR,
DB1.ACCT_NM_1,
DB1.ACCT_NM_2,
DB1.PERMVAL_NM,
DB1.EMP_AUTH_NM,
DB1.NE_AUTH_NM,
DB1.NON_EMP_INDIC,
DB1.COUNTRY
FROM OPENROWSET
('IBMDADB2'
,'dsnp_r';'userid';'passwd'
,'''SELECT DISTINCT DBT1.EFF_STAT,
DBT3.FIN_INST_NM,
DBT3.ADDR_LINE_1,
DBT3.ADDR_LINE_2,
DBT3.ADDR_LINE_3,
DBT3.ADDR_CTY,
DBT3.ADDR_ST,
DBT3.ADDR_POSTAL_CD,
DBT3.PHONE_NR,
DBT3.CONTACT_NM,
DBT1.ACCT_NR,
DBT1.ACCT_NM_1,
DBT1.ACCT_NM_2,
AUTH.AUTH_STAT,
AUTH.PERMVAL_NM,
AUTH.NON_EMP_INDIC,
AUTH.EMP_AUTH_NM,
AUTH.NE_AUTH_NM,
DBT50.PERMVAL_NM AS COUNTRY
FROM TRSPROD.CTRS01_ACCOUNT_TB DBT1
INNER JOIN TRSPROD.CTRS03_FININST_TB DBT3
ON DBT1.FIN_INST_ID_NR = DBT3.FIN_INST_ID_NR
LEFT JOIN (SELECT DISTINCT A.ACCT_ID_NR
, A.NON_EMP_INDIC
, C.NAME AS EMP_AUTH_NM
, D.NAME AS NE_AUTH_NM
, A.EFF_STAT AS AUTH_STAT
, B.PERMVAL_NM
FROM TRSPROD.CTRS04_AUTHRITY_TB A
INNER JOIN TRSPROD.CTRS50_PERMVAL_TB B
ON A.AUTH_TYPE_ID_NR = B.PERMVAL_ID_NR
LEFT JOIN BACPROD.PS_PERSONAL_DATA C
ON A.EMPLID = C.EMPLID
LEFT JOIN TRSPROD.CTRS20_NONEMP_TB D
ON A.EMPLID = D.NON_EMPLID
WHERE A.EFF_DT = (SELECT MAX(EFF_DT)
FROM TRSPROD.CTRS04_AUTHRITY_TB E
WHERE A.ACCT_ID_NR = E.ACCT_ID_NR)) AUTH
ON DBT1.ACCT_ID_NR = AUTH.ACCT_ID_NR
LEFT JOIN TRSPROD.CTRS50_PERMVAL_TB DBT50
ON DBT1.CNTRY_ID_NR = DBT50.PERMVAL_ID_NR'') DB1
WHERE (DB1.FIN_INST_NM LIKE ''' + @.INST + '%'')
AND (DB1.AUTH_STAT = ''A'')
AND (DB1.EFF_STAT LIKE ''' + @.STAT + '%'')
ORDER BY DB1.EFF_STAT
, DB1.FIN_INST_NM
, DB1.ACCT_NR
, DB1.PERMVAL_NM''
) DB2')
Select @.error=@.@.error, @.rowcount=@.@.rowcount
IF @.error <> 0
BEGIN
RAISERROR('Read of database failed ',16,1)
SET @.ret_cd = 1
RETURN 1
END
IF @.rowcount = 1
BEGIN
SET @.ret_cd = 0
RETURN 0
END
SET NOCOUNT OFF
RETURN 0
/ ****************************************
***********************************
********************
******************************* End of Procedure SQL
****************************************
***
****************************************
************************************
*******************/
END
GO
========================================
============
--
Joe Palm
Senior Technical Developer
Madison, WICan you add a linked server?, this way you do not have to embed the userid
and password in your query.
Creating a linked server to DB2 using Microsoft OLE DB provider for DB2
http://support.microsoft.com/defaul...kb;en-us;222937
AMB
"Joe Palm" wrote:
> If so, does anyone have an example?
> Background: We have a MSFT Reporting Services report that uses the
> OpenRowSet function to get both DB2 and SQL Server data in one SQL stateme
nt.
> Since userid and psw are parms to this function, it is not an option to
> hard-code them into the OpenRowSet parms.
> So our solution is to write a stored procedure that the report will call.
> This stored procedure will have the SQL statement, including the OpenRowSe
t
> function WITH the userid and psw hard-coded in, and then the stored proced
ure
> will be encrypted.
> I'm presently writing the stored procedure and read the following in the
> article entitled "External Data and Transact-SQL" (SQL Server books online
):
> "Stored procedures are supported only against SQL Server data sources."
> Here's the stored procedure I'm writing. It doesn't pass the Syntax Check
er
> yet, so whatever assistance anyone can provide would be great.
> Thanks!
> ========================================
==========
> CREATE PROCEDURE SSP_AUTHS_BY_FI_BY_ACCT_TXT
> @.inst varchar,
> @.stat char(1),
> @.ret_cd char(1) OUTPUT
> AS
> BEGIN
> SET NOCOUNT ON
> DECLARE @.err_cd smallint,
> @.rowcount int,
> @.error int
> SET @.ret_cd = 0
> SELECT DISTINCT DB1.EFF_STAT,
> DB1.FIN_INST_NM,
> DB1.ADDR_LINE_1,
> DB1.ADDR_LINE_2,
> DB1.ADDR_LINE_3,
> DB1.ADDR_CTY,
> DB1.ADDR_ST,
> DB1.ADDR_POSTAL_CD,
> DB1.PHONE_NR,
> DB1.CONTACT_NM,
> DB1.ACCT_NR,
> DB1.ACCT_NM_1,
> DB1.ACCT_NM_2,
> DB1.PERMVAL_NM,
> DB1.EMP_AUTH_NM,
> DB1.NE_AUTH_NM,
> DB1.NON_EMP_INDIC,
> DB1.COUNTRY
> FROM OPENROWSET
> ('IBMDADB2'
> ,'dsnp_r';'userid';'passwd'
> ,'''SELECT DISTINCT DBT1.EFF_STAT,
> DBT3.FIN_INST_NM,
> DBT3.ADDR_LINE_1,
> DBT3.ADDR_LINE_2,
> DBT3.ADDR_LINE_3,
> DBT3.ADDR_CTY,
> DBT3.ADDR_ST,
> DBT3.ADDR_POSTAL_CD,
> DBT3.PHONE_NR,
> DBT3.CONTACT_NM,
> DBT1.ACCT_NR,
> DBT1.ACCT_NM_1,
> DBT1.ACCT_NM_2,
> AUTH.AUTH_STAT,
> AUTH.PERMVAL_NM,
> AUTH.NON_EMP_INDIC,
> AUTH.EMP_AUTH_NM,
> AUTH.NE_AUTH_NM,
> DBT50.PERMVAL_NM AS COUNTRY
> FROM TRSPROD.CTRS01_ACCOUNT_TB DBT1
> INNER JOIN TRSPROD.CTRS03_FININST_TB DBT3
> ON DBT1.FIN_INST_ID_NR = DBT3.FIN_INST_ID_NR
> LEFT JOIN (SELECT DISTINCT A.ACCT_ID_NR
> , A.NON_EMP_INDIC
> , C.NAME AS EMP_AUTH_NM
> , D.NAME AS NE_AUTH_NM
> , A.EFF_STAT AS AUTH_STAT
> , B.PERMVAL_NM
> FROM TRSPROD.CTRS04_AUTHRITY_TB A
> INNER JOIN TRSPROD.CTRS50_PERMVAL_TB B
> ON A.AUTH_TYPE_ID_NR = B.PERMVAL_ID_NR
> LEFT JOIN BACPROD.PS_PERSONAL_DATA C
> ON A.EMPLID = C.EMPLID
> LEFT JOIN TRSPROD.CTRS20_NONEMP_TB D
> ON A.EMPLID = D.NON_EMPLID
> WHERE A.EFF_DT = (SELECT MAX(EFF_DT)
> FROM TRSPROD.CTRS04_AUTHRITY_TB E
> WHERE A.ACCT_ID_NR = E.ACCT_ID_NR)) AUTH
> ON DBT1.ACCT_ID_NR = AUTH.ACCT_ID_NR
> LEFT JOIN TRSPROD.CTRS50_PERMVAL_TB DBT50
> ON DBT1.CNTRY_ID_NR = DBT50.PERMVAL_ID_NR'') DB1
> WHERE (DB1.FIN_INST_NM LIKE ''' + @.INST + '%'')
> AND (DB1.AUTH_STAT = ''A'')
> AND (DB1.EFF_STAT LIKE ''' + @.STAT + '%'')
> ORDER BY DB1.EFF_STAT
> , DB1.FIN_INST_NM
> , DB1.ACCT_NR
> , DB1.PERMVAL_NM''
> ) DB2')
> Select @.error=@.@.error, @.rowcount=@.@.rowcount
> IF @.error <> 0
> BEGIN
> RAISERROR('Read of database failed ',16,1)
> SET @.ret_cd = 1
> RETURN 1
> END
> IF @.rowcount = 1
> BEGIN
> SET @.ret_cd = 0
> RETURN 0
> END
> SET NOCOUNT OFF
> RETURN 0
> / ****************************************
*********************************
**********************
> ******************************* End of Procedure SQL
> ****************************************
***
> ****************************************
**********************************
*********************/
> END
> GO
> ========================================
============
> --
> Joe Palm
> Senior Technical Developer
> Madison, WI
Tuesday, February 14, 2012
Can a dataset in reporting services return multiple datatables
Hi.
I am trying to access data from a stored procedure that returns data in form of multiple data tables. But when i drop this stored procedure in my rdl report, it just shows me the first data table returned by stored procedure.
I want to know that is there any way that I can view all the data tables returned by my stored procedure, or this is not possible in reporting services 2005.
This is not supported by SSRS 2005. You may be able make this work programatically i.e. build your own component to process multipe result sets.Sunday, February 12, 2012
can .net 1.1 work with SQL 2005 reporting services
thanks.Expand your scenario.
RS is just a webservice. You call it, optionally with parameters, it returns a report (in pdf, html etc...) Anything capable of calling a webservice should be able to use it.
Do you mean you want to use VS.net 2003 (the IDE for 1.1) to design reports for 2005? This is not possible.
Calulated Fields in DataSet
in the dataset with RunningValue and Previous functions? Everytime I
trie it gives me an error?
Here's what I did, on the dataset I added a calulated field and put the
following expression in "=RunningValue(fields!xxxx, Sum)" and when I
hit preview it returned an error?
Is this a limitation of reporting services?Amarnath,
Thanks for the reply, I know this function works in the tables but I
wanted to use the output in a chart. Do you have any suggestions on
doing that? Can I use table calculated data in a chart?
- tuong
On Jan 22, 2:29 am, Amarnath <Amarn...@.discussions.microsoft.com>
wrote:
> Dont give this in a calculated field instead insert say a "Sr.No" column in
> the left side of your table and just in the properties put this syntax and it
> will work.
> Amarnath
>
> "tuong.k...@.gmail.com" wrote:
> > Does anyone know if Reporting Services 2005 support calculated fields
> > in the dataset with RunningValue and Previous functions? Everytime I
> > trie it gives me an error?
> > Here's what I did, on the dataset I added a calulated field and put the
> > following expression in "=RunningValue(fields!xxxx, Sum)" and when I
> > hit preview it returned an error?
> > Is this a limitation of reporting services... Hide quoted text -- Show quoted text -|||Infact to give running value you need to give scope which you are not and you
cant because it is like global definition for the table.
Amarnath
"tuong.k.lam@.gmail.com" wrote:
> Amarnath,
> Thanks for the reply, I know this function works in the tables but I
> wanted to use the output in a chart. Do you have any suggestions on
> doing that? Can I use table calculated data in a chart?
> - tuong
> On Jan 22, 2:29 am, Amarnath <Amarn...@.discussions.microsoft.com>
> wrote:
> > Dont give this in a calculated field instead insert say a "Sr.No" column in
> > the left side of your table and just in the properties put this syntax and it
> > will work.
> >
> > Amarnath
> >
> >
> >
> > "tuong.k...@.gmail.com" wrote:
> > > Does anyone know if Reporting Services 2005 support calculated fields
> > > in the dataset with RunningValue and Previous functions? Everytime I
> > > trie it gives me an error?
> >
> > > Here's what I did, on the dataset I added a calulated field and put the
> > > following expression in "=RunningValue(fields!xxxx, Sum)" and when I
> > > hit preview it returned an error?
> >
> > > Is this a limitation of reporting services... Hide quoted text -- Show quoted text -
>