SSRS Not Working Outside The Default Zone
Apr 21, 2008
Hi,
Has anyone else come across the problem that reporting services in SQL 2005 do not work outside of the Sharepoint default zone? Is there a workaround for this issue? I have done a lot of searching into the problem for a solution without success.
Thanks in advance.
View 5 Replies
ADVERTISEMENT
Aug 7, 2007
Most developers running SharePoint in integrated mode have been experincing issues when displaying SRS reports in a web site other than the default zone.
There is a blog http://www.sharepointblogs.com/nrdev/archive/2007/06/21/ssrs-in-sharepoint-2007-site-using-forms-based-authentication-sharepoint-integrated-mode.aspx that explains that this is a bug and may be fixed when SP3 is released.
We are usi ng dual authentication for a particular site that hosts SRS reports and the default zone is windows auth and the internet zone is FBA. Since we cannot display reports using the RSViewerPage.aspx that comes with RS sharepoint addon, I decided to look for some way to display these reports in a non default zone. This method may help those experincing ths issue but the method assumes that you have one default zone or default zone [0] is the zone where reports are deployed from Visual Studio.
Here are the steps.
1. Go to your Layouts/reportseerver folder in your MOSS installation.
2. make a backup of RSViewerPage.aspx
3. Open RSViewerPage.aspx in visual studio and on the header declarations change the following line that looks like
<%@ Page language="C#" Codebehind="RSViewerPage.aspx.cs" AutoEventWireup="false" Inherits="Microsoft.ReportingServices.SharePoint.UI.RSViewerPage,Microsoft.ReportingServices.SharePoint.UI.ServerPages,Version=9.0.242.0,Culture=neutral,PublicKeyToken=89845dcd8080cc91" %>
to
<%@ Page language="C#" AutoEventWireup="false" %>
4. Add the following script line to the page
<script runat="server">
protected override void OnLoad(EventArgs e)
{
SPSite site = SPContext.Current.Site;
if (!Page.IsPostBack)
{
String RelativeReportUrl = Request["RelativeReportUrl"];
if (site.Zone != SPUrlZone.Default)
{
foreach (SPAlternateUrl url in site.WebApplication.AlternateUrls)
{
if (url.UrlZone == SPUrlZone.Default && RelativeReportUrl != null && url == site.WebApplication.AlternateUrls[0])
{
String path = url.Uri.AbsoluteUri.Substring(0, url.Uri.AbsoluteUri.Length - 1) + RelativeReportUrl;
m_sqlRsWebPart.ReportPath = path;
}
}
}
else
{
m_sqlRsWebPart.ReportPath = site.Url + Request["RelativeReportUrl"];
}
}
//add nav
SiteMapPath map = new SiteMapPath();
map.SiteMapProvider = "SPSiteMapProvider";
map.RenderCurrentNodeAsLink = true;
m_breadCrumbs.Controls.Add(map);
}
</script>
5. This script section just points the web part in the RSviewerPage to the report file hosted in the MOSS default zone.
Thats it.
This should work in either of the MOSS zones.
Gatharia
View 11 Replies
View Related
Jul 19, 2015
How to insert a row number for a zone wise(ie group by zone column) in ssrs report in zone column i should get zone1 only once (should not get Zone1,zone1, zone1 -3 times)
sl.no Zone District no.of.region
1 hyd 24
2 ZONE1 chn 12
3 bang 2
1 raj 4
2 ZONE2 vizag 3
3 bbb 34
View 4 Replies
View Related
May 24, 2007
I have 9 parameters which all have defaul values and 1 that does not, 4 of them show the correct default but 5 of them state <Select a Value>.
I have copied the report project to another pc and the same problem occurs.
I have tried deleting 'reports' and 'reportserver' from iis and recreating them, as well as deleting the actual report from http://localhost/Reports/Pages/Folder.aspx [then selecting 'show details' and deleting and redeploying the report].
I have even tried toggling the default values on/off. I am at a loss, I can only think that the report project file(s) need to be manually amended in some way. There is nothing significantly different between the parameters to justify them not defaulting
View 1 Replies
View Related
Mar 14, 2006
I am confused.
I added my NT account to the sql server logins for my sql server (2005), then I added a corresponding user account to my database. I then set my default schema. I connect to the database, and the default schema seems to be set to dbo.
Can anyone thing of a reason why this might be happening? Is there some sort of override if I have additional privledges on the server?
I appreciate any thoughts...
-Mike Graham
View 4 Replies
View Related
Jul 12, 2007
I have a parameter that gets it's available values from a dataset.
I use this exact same data to populate the default values.
When I run the report, the available values get populated; however the default values are not being selected.
This works on other parameters on the same report. However, on this parameter, it is not working.
I have tried ltrim/rtrim (Been burned with that before when the field type is a char)
I change the data field in the query, without changing the parameter setup, and it works...
Here is my query:
Code Snippet
Select distinct
CityName
from dimHotel dH (NOLOCK)
Inner join factHotel fH (NOLOCK)
on dh.HotelKey = fH.HotelKey
Where dH.CityName <> ''
and dH.CityName is not null
and fH.ClientKey in (@ClientID)
Order by CityName
The parameter is setup correctly, and matches the setup of another parameter on the same report that is working fine.
I have tried deleting the parameter and re-adding it. This did not work.
I also deleted and re-added the query. No luck.
Any ideas??
Thanks!!
Thanks
View 3 Replies
View Related
Mar 20, 2006
All,
I have the following :
ALTER PROCEDURE [dbo].[sp_FindNameJon]
@NameName varchar(50)='',
@NameAddress varchar(50)='',
@NameCity varchar(50)='',
@NameState varchar(2)='',
@NameZip varchar(15)='',
@NamePhone varchar(25)='',
@NameTypeId int=0,
@BureauId int,
@Page int=1,
@Count int=100000
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
DECLARE @SqlString nvarchar(3000),@SelectClause nvarchar(1000), @FromClause nvarchar(1000),@WhereClause nvarchar(1000)
DECLARE @ParentSqlString nvarchar(4000)
DECLARE @Start int, @End int
INSERT into aaJonTemp values (@Page, 'here2', @NameCity);
And inside of aaJonTemp, I have the following :
NULL
here2
NULL
NULL
here2
NULL
How is this possible? If @Page or @NameCity is NULL, how come it doesn't default to a value in the stored proc?
Thx
jonpfl
View 1 Replies
View Related
Jun 12, 2007
I was wondering if one SQL Server could host more then one set of Reporting Services databases? This would then lead to the question of, can the default names be change to what ever? Say the Accounting and R/D groups wants to use the same SSRS so, we name their databases ACCT_ReportServer and RD_ReportServer, etc..? Can I do this? I believe I can but need to be sure.
thanks much,
joe
View 4 Replies
View Related
Jun 18, 2007
hi all,
i am working on a project, where i need to do one to one conversion of reports from crystal report to SSRS.
i am facing a problem in Crystal report there is a group where Sorting order is Orginal Order.
whereas there is no such facility in SSRS where i can provide sorting order as Original Order.
i dont know how to achive this if any body have the solution or faced similar problem then let me know.
i am taking an example
data returned from the data base
A 1
A 2
A 5
B 1
B 2
A 7
B 6
then the grouping is done like
A 1
2
3
B 1
2
A 7
B 6
thanks
Mohit Gupta
View 3 Replies
View Related
Jul 5, 2007
I have a measure in a SSAS cube that uses AggregateFunction "Sum". Dimension usage seems to be right so that it sums correctly.
But when I try to use same measure in SSRS report it comes out all wrong.
TO be precise the measure is called "CalendarDays" and it's the number of days in a month (28,29,30 or 31). Say I have 5 products and 4 years, If I look at this in the cube browser then the CalendarDays column aggregates correctly to 365 or 366 for each year even with the five products and 12 months in the rows.
However if I do a SSRS report by product and month with subtotals of years, then SUM(CalendarDays) adds up all the CalendarDays for each month and each product (ie 5 x 365 or 366). If I leave out "SUM" and just enter =Fields!CalendarDays in the subtotal then it doesn't aggregate at all, it jsut gives the first value (ie 31).
How can I get SSRS to aggregate the same way as the cube?
View 1 Replies
View Related
Apr 24, 2015
Is there any way to default to the first day of the month in a SSRS expression. I'm looking to do the reverse of the EOMONTH() function.The date value is coming from a parameter @BegDate and formatted YYYY-MM-DD. So if the parameter is set to 2015-08-31 it would show 2015-08-01
View 2 Replies
View Related
May 12, 2015
I'm trying to have a default or null value in the dropdown list of the parameters on SSRS report. The dataset is bound with the Dynamics-AX 2009 AOT query. In the screen shot below you can see that I need a show All option in the dropdown list.
View 7 Replies
View Related
Aug 18, 2006
Hello Experts
I use a Report where i have a document Map getting generated. but by default it is displayed and the user has to close the window to view the report. i wanted to know if its possible to hide the Document map window by default and based on the click of the icon the window will be show to the user when viewing in the default Report page.
/chandresh soni
View 15 Replies
View Related
May 7, 2012
I created a parameter with available values from a dataset.
By default i want it to display the maximum value. and then the user can select the dates if he does not like the default value.
How to i do this. because when i tried to set the paramter default value to max(dataset!dt.value) it says expression canot be used.
How to do this. Should I create a dataset with maximum value and then assign it to this one.
View 12 Replies
View Related
Dec 31, 2007
Hello all, according to the documentation for the DeviceInfo parameter of the ReportingService.Render method the Xml string fragment of PageHeight and PageWidth for the Image Device Information Settings should and I quote.
The page height, in inches, to set for the report. You must include an integer or decimal value followed by "in" (for example, 11in). This value overrides the report's original settings.
Emphasis mine. Page width is similar. However when I change that value to what is desired for the IMAGE format it has no effect whatsoever no matter what value I place in there.
Indeed the size that is rendered is more related to the current display resolution setting rather than the PageHeight/PageWidth values passed in. In otherwords if my laptop has a higher resolution of 1920x1200 and the server that I deploy this WS to has a lower resolution of 1280x1024, the image rendered on the higher resolution display fits on to an 8.5x11.0 in page with room to spare but on the lower resolution display it is clipped because it does not fit the page.
Is there something that I am doing wrong or is this indeed a bug?
Thank you,
John
View 4 Replies
View Related
Sep 25, 2015
I installed SSRS 2014 Reporting Services on a 2008R2 Enterprise server. When I try to subscribe to a report (also SQL 2014), the default rendering is MHTML. I want to change this default to EXCEL.
I updated the rsreportserver.config file and restarted SQL Server Reporting Service. Now, the default rendering for a subscription is 'XML file with report data' which is the first <Render> data element. If I change
<DefaultRenderingExtension>EXCEL</DefaultRenderingExtension> back to <DefaultRenderingExtension>MHTML</DefaultRenderingExtension>
And restart SSRS Service, the default subscription rendering is MHTML.
<DeliveryUI>
<Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailDeliveryProviderControl,ReportingServicesEmailDeliveryProvider">
<DefaultDeliveryExtension>True</DefaultDeliveryExtension>
<Configuration>
[Code] ....
View 2 Replies
View Related
Jul 19, 2011
I have two parameters, lets say P1 and P2. P2 is cascaded with P1. P1 -> P2.
For the parameter P2, the following proterty set are
1. Multi Select
2. The default value is all the available value selected (Same dataset is assigned to both "Available Values" and "Default Values")
The data relation be,
P1 P2
A a
A b
A c
A d
B a
Now the issue is,
Step 1 : When i choose A in P1 first time, a,b,c and d in P2 are selected
Step 2 : When i change B in P1, a is selected
Step 3 : When i change back to A in P1, only a is selected in P2 (a,b,c and d should be selected)
View 3 Replies
View Related
Nov 9, 2015
I am working on SSRS report deployed on the sharepoint.
By default, it is displaying " Microsoft SQL Server Reporting Services " on the report
How can that be removed?
Secondly as I don't have the requirement to default the report parameters so I am getting
"Specify parameter values ............... button "
Any way to replace it with some other text etc...
View 2 Replies
View Related
Nov 4, 2010
I have created a report that sharing two datasets for displaying the data. This datasets are using Stored procedure for execution of the report.One of the stored procedure using Order by clause and returning the data.But on running the report , the report viewer displays the unsorted data of the filed. But if we run the stored procedure directly from the sql server , it will return the sorted data.
View 8 Replies
View Related
May 20, 2015
sql server edition-2008 enterprise evaluation edition
Operating System- Window Server 2008 R2
I've Created Local Smtp to use gmailid for Subscription of SSRS Report by Email as we don't have an Exchange Server.
User this link to Create local SMTP
Studied few blogs that related it to agent service running under local system account, on my machine it was running on NT/NetworkService change it to Administrator of local Machine. Did same change for Database Engine of Service of SQL Instance.
FYI- My Machine is not in Domain, so used local administrator for giving rights to service mentioned above.
Below is the Screen Shot of rsreportserver.Config File
ERROR : on Report Manager
Below is report log on after time report was executed.
library!WindowsService_16!2b30!05/20/2015-13:19:05:: i INFO: Schedule 3374e590-8374-4360-b5da-d487eacb0417 executed at 05/20/2015 13:19:05.
schedule!WindowsService_16!2b30!05/20/2015-13:19:05:: Creating Time based subscription notification for subscription: ea7fc6ce-00df-4f6a-9050-e713986307ca
library!WindowsService_16!2b30!05/20/2015-13:19:05:: i INFO: Schedule 3374e590-8374-4360-b5da-d487eacb0417 execution completed at 05/20/2015 13:19:05.
[code]....
PS: Local SMTP is working, i.e. i am able to receive email if i place an email.text file in C:inetpubmailrootpickup
View 7 Replies
View Related
Sep 7, 2015
We had migrated the SSRS reports from 2008 R2 to SSRS 2012 SP2 version. We had a strange issues after migration.
The report which is having images is not working and it just hangs.
The reports which doesn't have any images are working fine.
On top of it some times we are getting the following error message.
Error message : The request failed with HTTP status 503: Server Error.
View 4 Replies
View Related
Oct 30, 2007
Hi,
i am working on SSRS 2005. i have one problem while accessing report throgh ASP.net pages.
i have used multivalue parameters in the report. on the report server it works fine but on the .asp page when that report is accessed, drop down is not working,
can anybody guide me regarding this , what to do?
thanks and Regards,
Vishruti.
View 1 Replies
View Related
Feb 21, 2011
I've been running into this issue quite a few times, and have been unable to solve it through reading various posts/forums. Here is the issue
Software Details:
Datawarehouse Database - SQL Server 2008 R2
Reporting Services Version - SSRS 2008 R2
Development Environment - Visual Studio 2008
Problem Details:
I have been writing reports based of a Relational Datamart with dimensions and facts. The report in question uses dimensions for parameters and facts for content. Multi valued parameters are enabled in the report query by using the 'IN(@Paramenter)' statement within the report query. It has a total of 6 multi-value parameters. I assign the same available values from dimension datasets for each parameter to it's default parameter. Theoretically all the values in the option lists should be selected after first render. This is not always the case.
Example:
SELECT *
FROM dbo.MyTable
WHERE
TableColumn0 IN (@Parameter0)
AND
TableColumn1 IN(@Parameter1)
AND ....N (continue syntax to 6 multi valued parameters)
Some of the multi-value drop down lists are defaulting to have every value selected, and some are not. The problem is I need to know why some parameters are not selecting all by default when specified.
View 23 Replies
View Related
Apr 18, 2013
Most of our reports need to be rendered directly to PDF. And since we have multi paged reports, we have implemented document map to have navigation. while exporting to the PDF, Users want the Bookmarks to be visible by default. However, this is not the case. The bookmarks tab in the Navigation tools of Acrobat is not expanded rather we need to manually click on it to see the bookmarks. This behavior is different from Crystal Reports XIr2 where the bookmarks are defaulted to be visible when opening a PDF exported by crystal.Is there any way to replicate this behavior in SSRS too?
View 3 Replies
View Related
Jun 24, 2015
I developed one dynamic column (matrix) report. while export to excel it 's show same output as SSRS have. but while exporting CSV pivot column not coming as same as Excel and SSRS screen. data is moving to rows.
Please see below screen shot ....
View 3 Replies
View Related
Aug 10, 2015
I have designed a report in which there are 6-7 charts. I want to print each chart in a new page. For this I have inserted page break after each chart. After this the report is populating fine but when I am exporting the report in pdf the page break are not working.
View 4 Replies
View Related
Mar 2, 2012
VS 2008. I have the following set up. Group1, Group2, Group3 header, Group 3 detail rows..When I set the row visibility (hide based on Group2) on the Detail row, it still shows up when the report is originally rendered.
It should be: Group1 expanded, Group2 collapsed, Group3 header hidden and detail rows hidden
It is showing: Group1 expanded, Group2 collapsed, Group3 header hidden, Group3 detail row visible.
I never had this trouble in 2005. Is there something different about row visibility in 2008?
View 3 Replies
View Related
Jan 31, 2011
Currently i am working on SSRS 2008 R2.The issue is that it is wrapping long words and not growing. I set the property can grow to True.
How to prevent the word wrapping?
For example, the column will have the word "information" in it. Instead of the column showing:
information
it shows:
informatio
n
The "n" gets wrapped to the next line. Is there a way to prevent this from happening.
How to prevent the word wrapping?
View 4 Replies
View Related
Nov 20, 2015
Here I am trying to do switch then nested IIF in it. I dont know where i missed but this doesnt work.for first condition in switch, 'WEEKLY', WW2 and WW1 is in number form but of text/string datatype. so after cast them to integer/number datatype then those are use in iff operation.for second condition in switch, 'MONTHLY', WW2 and WW1 is month name. so the objective is to get month number from month name. After that, then WW1,WW2 are use in iff operation.
=SWITCH(Parameters!date_range_type.Value
= "WEEKLY", IIF((cInt(Parameters!WW2.Value) - cInt(Parameters!WW1.Value)) > 10, Parameters!WW1.Value,IIF(cInt(Parameters!WW2.Value) < 11,1,cInt(Parameters!WW2.Value) - 10)), Parameters!date_range_type.Value = "MONTHLY", IIF((cInt(MONTH(datepart("YYYY",today())&
"-" & Parameters!WW2.Value & "-01")) - cInt(MONTH(datepart("YYYY",today())& "-" & Parameters!WW1.Value & "-01"))) > 10, MONTH(datepart("YYYY",today())& "-" &
Parameters!WW1.Value & "-01"),IIF(cInt(MONTH(datepart("YYYY",today())& "-" & Parameters!WW2.Value & "-01")) < 11,1,cInt(MONTH(datepart("YYYY",today())& "-" & Parameters!WW2.Value
& "-01")) - 10)) )
if i run report for 'WEEKLY' only, means doesnt need switch and the other iif condition, it working fine. so does when run on 'MONTHLY' only.
View 2 Replies
View Related
Aug 24, 2015
SSRS Date Picker is not working in Google Chrome, it works in both IE and Firefox.
View 3 Replies
View Related
Sep 27, 2015
There was a 2008 SSRS service running on server "abc".
I have a .Net UI that uses the wsdl at [URL] ....
They deployed SSRS 2012 service on a new server "xyz".
DNS points abc to xyz. Nslookup looks right shows both xyz and abc alias to the same IP.
when I try to go to [URL] .... it redirects to xyz as expected for the host name but the HTTP GET /ReportServer is appended with GET /Reports/ReportServer which doesn't exist and I get an 404 error.
I have no admin rights to see anything and I have no idea if it was an inplace upgrade or a new server. I assume it's new since the actual server name changed in nslookup. Why would it append the default virtual directory when it makes the hop to server "xyz"?
View 0 Replies
View Related
Jun 17, 2015
I am trying to test the concept of passing multi value parameters from one report using the Action Property of a textbox to open another report is a new Window with the Multi Value parameter values already passed. The test involves the following:
Report 1:
1. Multi Value Parameter @ReportParameter1 has three Values: Value1, Value2, Value3
2. Has a text box with the Action Property set to Go to URL with the following Expression:
="javascript:void(window.open('http://reportserver/Reports/Pages/Report.aspx?ItemPath=%2fReports%2fReport2&rs:Command=Render&ReportParameter1="
+ JOIN(Parameters!ReportParameter1.Value,"&ReportParameter1=") + "'))"
Report 2:
1. Has Two Parameters @ReportParameter1 and @ReportParameter2
2. @ReportParameter1 has Available Values as follows: Value1, Value2, Value3
Does not have any default Values.
When I click on the textbox on Report1, it does navigate to Report2 but none of the Values are being set.
View 3 Replies
View Related
Sep 22, 2015
I have a SSRS report that uses a custom library. The custom library returns a string values, and I have tested this with a windows application.In the SSRS report. I have set the expression value for a text box as =CodeReportingLibrary.CodeReportingFunctions.GetImage(1232)
However, when i preview the report the text box value shows as #ERROR. I checked the error list and I get a warning message : Warning 1 [rsRuntime ErrorIn Expression] The Value expression for the textrun ‘Textbox5.Paragraphs[0].TextRuns[0]’ contains an error: Attempt by security transparent method 'CodeReportingLibrary.CodeReportingFunctions.GetReferenceImage(Int32)' to access security critical method 'Microsoft. TeamFoundation. Client. TfsTeamProjectCollection..ctor(System.Uri)' failed. Assembly 'CodeReportingLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself. In order to access security critical code, this assembly must be fully trusted.
I have updated the rssrvpolicy.config in ReportServer folder, to include my custom dll.
<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust"
Name="CoDeMagSample"
Description="CoDe Magazine Sample. ">
[code]....
View 4 Replies
View Related