Showing posts with label example. Show all posts
Showing posts with label example. Show all posts

Wednesday, March 28, 2012

Report Website

Hi all,
Quick Question-
Is it possible to have two websites on the same report server for reporting
services?
Example: I have one website, lets say for internal reports (employee time,
job info etc.) and another one for customer info (how a customer product is
coming along, how many product support cases we have out there).
http://cmbsssmsrs/personaltime/reports and http://cmbsssmsrs/vantive/reports
I hope someone can help or point me in the right direction.
Thanks in advanced,
Kerrie
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-reporting/200508/1I installed a named instance of SQL 2005 with reporting services and it
installed a second reporting services virtual directory on my server... I
suspect that it can be done, but do not know if it is supported... remember
that reporting services is just a dot net app. You probably have to have a
different pair of DBs to support it..
Can you possibly use different directories on a single instance, with
different permissions?
--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Kerrie S via SQLMonster.com" <forum@.SQLMonster.com> wrote in message
news:52B1C7ACAA5B4@.SQLMonster.com...
> Hi all,
> Quick Question-
> Is it possible to have two websites on the same report server for
> reporting
> services?
> Example: I have one website, lets say for internal reports (employee time,
> job info etc.) and another one for customer info (how a customer product
> is
> coming along, how many product support cases we have out there).
> http://cmbsssmsrs/personaltime/reports and
> http://cmbsssmsrs/vantive/reports
> I hope someone can help or point me in the right direction.
> Thanks in advanced,
> Kerrie
>
> --
> Message posted via SQLMonster.com
> http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-reporting/200508/1

Tuesday, March 20, 2012

Report Source

Hi
We have different version of the same report. For example, Report 1,
Report 1a, Report 1b in the visual studio. We publish only one of them.
But, we go and change report name in browser to 1. After a while, we do not
remember which one did we publish. Is it possible to see which report is
published?
I know that you can get RDL code from browser and compare it against the
visual studio RDL. But, I have lot of such reports.typo in last post - should be "Description" property :-)
"manish" wrote:
> Hi
> We have different version of the same report. For example, Report 1,
> Report 1a, Report 1b in the visual studio. We publish only one of them.
> But, we go and change report name in browser to 1. After a while, we do not
> remember which one did we publish. Is it possible to see which report is
> published?
> I know that you can get RDL code from browser and compare it against the
> visual studio RDL. But, I have lot of such reports.
>|||Add the version number to the "Sedcription" property of the report before you
deploy it, then you will see that in the properties of the report in Report
Manager
"manish" wrote:
> Hi
> We have different version of the same report. For example, Report 1,
> Report 1a, Report 1b in the visual studio. We publish only one of them.
> But, we go and change report name in browser to 1. After a while, we do not
> remember which one did we publish. Is it possible to see which report is
> published?
> I know that you can get RDL code from browser and compare it against the
> visual studio RDL. But, I have lot of such reports.
>|||Hi Mary
Unfortunately, they are already deployed.
Thanks
Manish
"Mary Bray [SQL Server MVP]" wrote:
> typo in last post - should be "Description" property :-)
> "manish" wrote:
> > Hi
> >
> > We have different version of the same report. For example, Report 1,
> > Report 1a, Report 1b in the visual studio. We publish only one of them.
> > But, we go and change report name in browser to 1. After a while, we do not
> > remember which one did we publish. Is it possible to see which report is
> > published?
> > I know that you can get RDL code from browser and compare it against the
> > visual studio RDL. But, I have lot of such reports.
> >

Wednesday, March 7, 2012

Report Server FileShare Subscription example

I write .net code to create subsciption instead of report manager. Is there
any example talking about Subscription using Report Server FileShare ? I
only find the example of Report Server Email subscription in Books online. I
try the following code and I successfully create subscription. But when I
try to edit it, error is shown - "Object reference not set to an instance of
an object"
The code is as follows:
Dim FileNamePara As New ParameterValue
FileNamePara.Name = "File Name"
FileNamePara.Value = "Invoice Summary "
extensionParams(0) = FileNamePara
Dim PathPara As New ParameterValue
PathPara.Name = "Path"
PathPara.Value = "\\shkg013devfs\temp\may"
extensionParams(1) = PathPara
Dim renderPara As New ParameterValue
renderPara.Name = "RenderFormat"
renderPara.Value = "PDF"
extensionParams(2) = renderPara
settings.ParameterValues = extensionParams
Dim datRptGenTime As Date
datRptGenTime = DateAdd(DateInterval.Day, 1, Now)
Dim eventType As String = "TimedSubscription"
Dim matchData As String = "<ScheduleDefinition>" & _
"<StartDateTime>" & datRptGenTime.Year & "-" & _
IIf(datRptGenTime.Month < 10, "0" & datRptGenTime.Month,
datRptGenTime.Month) & "-" & _
IIf(datRptGenTime.Day < 10, "0" & datRptGenTime.Day, datRptGenTime.Day) &
"T08:00:00" & _
"+08:00</StartDateTime>" & _
"</ScheduleDefinition>"
Try
mRSProxyUtil.rs.CreateSubscription(ReportName, settings, sEmaiDesc,
eventType, matchData, parameters)
Catch e As SoapException
Console.WriteLine(e.Detail.InnerText.ToString())
End TryI'm not sure why you are getting the object reference error. Is RS
returning it?
Anyway, you are not using the correct setting names. To find the correct
names call GetExtensionSettings. This will return a list of extension names
that the extension excepts. There is a flag that will tell you if the
setting is required or not.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"May Liu" <MayLiu@.discussions.microsoft.com> wrote in message
news:E022B2B3-B882-4E6D-A836-03CC0AE19675@.microsoft.com...
>I write .net code to create subsciption instead of report manager. Is
>there
> any example talking about Subscription using Report Server FileShare ?
> I
> only find the example of Report Server Email subscription in Books online.
> I
> try the following code and I successfully create subscription. But when I
> try to edit it, error is shown - "Object reference not set to an instance
> of
> an object"
> The code is as follows:
> Dim FileNamePara As New ParameterValue
> FileNamePara.Name = "File Name"
> FileNamePara.Value = "Invoice Summary "
> extensionParams(0) = FileNamePara
> Dim PathPara As New ParameterValue
> PathPara.Name = "Path"
> PathPara.Value = "\\shkg013devfs\temp\may"
> extensionParams(1) = PathPara
> Dim renderPara As New ParameterValue
> renderPara.Name = "RenderFormat"
> renderPara.Value = "PDF"
> extensionParams(2) = renderPara
> settings.ParameterValues = extensionParams
> Dim datRptGenTime As Date
> datRptGenTime = DateAdd(DateInterval.Day, 1, Now)
> Dim eventType As String = "TimedSubscription"
> Dim matchData As String = "<ScheduleDefinition>" & _
> "<StartDateTime>" & datRptGenTime.Year & "-" & _
> IIf(datRptGenTime.Month < 10, "0" & datRptGenTime.Month,
> datRptGenTime.Month) & "-" & _
> IIf(datRptGenTime.Day < 10, "0" & datRptGenTime.Day, datRptGenTime.Day) &
> "T08:00:00" & _
> "+08:00</StartDateTime>" & _
> "</ScheduleDefinition>"
> Try
> mRSProxyUtil.rs.CreateSubscription(ReportName, settings, sEmaiDesc,
> eventType, matchData, parameters)
> Catch e As SoapException
> Console.WriteLine(e.Detail.InnerText.ToString())
> End Try

Report Server errors in Form Authentication example

Hi there:-
Anyone have any ideas on this one'
I was trying to implement the Form Authentication example (Using Forms
Authentication in Reporting Services) from the MSDN but I am keep getting
this error message â'rsFailedToDecryptConfigInformationâ'.
I followed all the necessary steps from the example to set up both Report
Server and Report Manager and ran the sql script to generate the
â'UserAccountâ' databasae. I have been able to generate two users from the
â'UILogon.aspxâ' page by pressing the â'Registerâ' button. But when I tried to
logon with the â'Logonâ' button. The same error message would appear.
The actual error message:-
Reporting Services Erro
----
The encrypted value for configuration setting Dsn cannot be decrypted.
(rsFailedToDecryptConfigInformation) Get Online Help
An internal error occurred on the report server. See the error log for more
details. (rsInternalError) Get Online Help
----
Microsoft Reporting Services
I also did a check on the Report Server Service by right click to â'Restartâ'
it from the Administrative Tools à Services and an error message appear:-
â'Could not start the ReportServer service on Local Computer. The service did
not return an error. This could be an internal Windows error or an internal
service error. If the problem persists, contact your system administrator.â'
I know the Report Server and Report Manager were running properly before I
changed the setup to Form Authentication. So what else do I need to change'
Or how do I fix the Report Server?
Thanks for reading this message.It sounds like something in your RS configuration got corrupted -- perhaps
the setting for the Report Server database. You can check the log files and
event log for more clues, and look here:
http://groups-beta.google.com/group/microsoft.public.sqlserver.reportingsvcs/search?group=microsoft.public.sqlserver.reportingsvcs&q=rsFailedToDecryptConfigInformation&qt_g=1
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"Help" <Help@.discussions.microsoft.com> wrote in message
news:92DCE258-975D-4DCF-B705-7E1B05FF7985@.microsoft.com...
> Hi there:-
> Anyone have any ideas on this one'
> I was trying to implement the Form Authentication example (Using Forms
> Authentication in Reporting Services) from the MSDN but I am keep getting
> this error message "rsFailedToDecryptConfigInformation".
> I followed all the necessary steps from the example to set up both Report
> Server and Report Manager and ran the sql script to generate the
> "UserAccount" databasae. I have been able to generate two users from the
> "UILogon.aspx" page by pressing the "Register" button. But when I tried to
> logon with the "Logon" button. The same error message would appear.
> The actual error message:-
>
> Reporting Services Error
> ----
> The encrypted value for configuration setting Dsn cannot be decrypted.
> (rsFailedToDecryptConfigInformation) Get Online Help
> An internal error occurred on the report server. See the error log for
> more
> details. (rsInternalError) Get Online Help
> ----
> Microsoft Reporting Services
> I also did a check on the Report Server Service by right click to
> "Restart"
> it from the Administrative Tools à Services and an error message appear:-
> "Could not start the ReportServer service on Local Computer. The service
> did
> not return an error. This could be an internal Windows error or an
> internal
> service error. If the problem persists, contact your system
> administrator."
> I know the Report Server and Report Manager were running properly before I
> changed the setup to Form Authentication. So what else do I need to
> change'
> Or how do I fix the Report Server?
> Thanks for reading this message.
>|||Hi Jeff:-
Thanks for your advice. You are right I make a mistake in my
rsReportServer.config file. So I went back to check through all the other
config files on both ReportManager and ReportServer. Then I ran rsKeymgmt
utility to delete all existing encrypted keys in Database and I ran rsConfig
utility to regenerate the connection, followed by rsActivate utility to
reactivate the report server with the correct rsReportServer.config file.
I have been able to restart the Report Server Service after the changes
without any error message in the Event Viewer but I still not been able
access the Report Server via the Form Authentication "Logon" button. I get an
error message for:-
The report server installation is not initialized. Check the documentation
for more information. (rsReportServerNotActivated)
What would it be'
"Jeff A. Stucker" wrote:
> It sounds like something in your RS configuration got corrupted -- perhaps
> the setting for the Report Server database. You can check the log files and
> event log for more clues, and look here:
> http://groups-beta.google.com/group/microsoft.public.sqlserver.reportingsvcs/search?group=microsoft.public.sqlserver.reportingsvcs&q=rsFailedToDecryptConfigInformation&qt_g=1
> --
> Cheers,
> '(' Jeff A. Stucker
> \
> Business Intelligence
> www.criadvantage.com
> ---
> "Help" <Help@.discussions.microsoft.com> wrote in message
> news:92DCE258-975D-4DCF-B705-7E1B05FF7985@.microsoft.com...
> > Hi there:-
> >
> > Anyone have any ideas on this one'
> >
> > I was trying to implement the Form Authentication example (Using Forms
> > Authentication in Reporting Services) from the MSDN but I am keep getting
> > this error message "rsFailedToDecryptConfigInformation".
> >
> > I followed all the necessary steps from the example to set up both Report
> > Server and Report Manager and ran the sql script to generate the
> > "UserAccount" databasae. I have been able to generate two users from the
> > "UILogon.aspx" page by pressing the "Register" button. But when I tried to
> > logon with the "Logon" button. The same error message would appear.
> >
> > The actual error message:-
> >
> >
> > Reporting Services Error
> > ----
> >
> > The encrypted value for configuration setting Dsn cannot be decrypted.
> > (rsFailedToDecryptConfigInformation) Get Online Help
> > An internal error occurred on the report server. See the error log for
> > more
> > details. (rsInternalError) Get Online Help
> >
> > ----
> > Microsoft Reporting Services
> >
> > I also did a check on the Report Server Service by right click to
> > "Restart"
> > it from the Administrative Tools à Services and an error message appear:-
> >
> > "Could not start the ReportServer service on Local Computer. The service
> > did
> > not return an error. This could be an internal Windows error or an
> > internal
> > service error. If the problem persists, contact your system
> > administrator."
> >
> > I know the Report Server and Report Manager were running properly before I
> > changed the setup to Form Authentication. So what else do I need to
> > change'
> > Or how do I fix the Report Server?
> >
> > Thanks for reading this message.
> >
>
>|||Have you tried rsactivate?
http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/rsadmin/htm/drp_customizing_v1_4hys.asp
If that doesn't work, I'd just uninstall and reinstall at this point.
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"Help" <Help@.discussions.microsoft.com> wrote in message
news:B158D92E-80AE-4DE1-BBA7-CF0DA382B0AD@.microsoft.com...
> Hi Jeff:-
> Thanks for your advice. You are right I make a mistake in my
> rsReportServer.config file. So I went back to check through all the other
> config files on both ReportManager and ReportServer. Then I ran rsKeymgmt
> utility to delete all existing encrypted keys in Database and I ran
> rsConfig
> utility to regenerate the connection, followed by rsActivate utility to
> reactivate the report server with the correct rsReportServer.config file.
> I have been able to restart the Report Server Service after the changes
> without any error message in the Event Viewer but I still not been able
> access the Report Server via the Form Authentication "Logon" button. I get
> an
> error message for:-
> The report server installation is not initialized. Check the documentation
> for more information. (rsReportServerNotActivated)
> What would it be'
>
>
>
> "Jeff A. Stucker" wrote:
>> It sounds like something in your RS configuration got corrupted --
>> perhaps
>> the setting for the Report Server database. You can check the log files
>> and
>> event log for more clues, and look here:
>> http://groups-beta.google.com/group/microsoft.public.sqlserver.reportingsvcs/search?group=microsoft.public.sqlserver.reportingsvcs&q=rsFailedToDecryptConfigInformation&qt_g=1
>> --
>> Cheers,
>> '(' Jeff A. Stucker
>> \
>> Business Intelligence
>> www.criadvantage.com
>> ---
>> "Help" <Help@.discussions.microsoft.com> wrote in message
>> news:92DCE258-975D-4DCF-B705-7E1B05FF7985@.microsoft.com...
>> > Hi there:-
>> >
>> > Anyone have any ideas on this one'
>> >
>> > I was trying to implement the Form Authentication example (Using Forms
>> > Authentication in Reporting Services) from the MSDN but I am keep
>> > getting
>> > this error message "rsFailedToDecryptConfigInformation".
>> >
>> > I followed all the necessary steps from the example to set up both
>> > Report
>> > Server and Report Manager and ran the sql script to generate the
>> > "UserAccount" databasae. I have been able to generate two users from
>> > the
>> > "UILogon.aspx" page by pressing the "Register" button. But when I tried
>> > to
>> > logon with the "Logon" button. The same error message would appear.
>> >
>> > The actual error message:-
>> >
>> >
>> > Reporting Services Error
>> > ----
>> >
>> > The encrypted value for configuration setting Dsn cannot be decrypted.
>> > (rsFailedToDecryptConfigInformation) Get Online Help
>> > An internal error occurred on the report server. See the error log for
>> > more
>> > details. (rsInternalError) Get Online Help
>> >
>> > ----
>> > Microsoft Reporting Services
>> >
>> > I also did a check on the Report Server Service by right click to
>> > "Restart"
>> > it from the Administrative Tools à Services and an error message
>> > appear:-
>> >
>> > "Could not start the ReportServer service on Local Computer. The
>> > service
>> > did
>> > not return an error. This could be an internal Windows error or an
>> > internal
>> > service error. If the problem persists, contact your system
>> > administrator."
>> >
>> > I know the Report Server and Report Manager were running properly
>> > before I
>> > changed the setup to Form Authentication. So what else do I need to
>> > change'
>> > Or how do I fix the Report Server?
>> >
>> > Thanks for reading this message.
>> >
>>