Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all 10045 articles
Browse latest View live

The underlying connection was closed: An unexpected error occurred on a receive.

$
0
0

I have SSRS 2008 running on a Windows 2008 server.  Recently when trying to access the report manager site, I get the following error:

The underlying connection was closed: An unexpected error occurred on a receive.

When I try to render reports, I get the following error:

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

I have no idea where to begin; my IT department will not allow me access to the logs, so I'm hoping to do some troubleshooting online so I can point them in the right direction. 


paul truland


SSRS MHTML on IPHONE

$
0
0
 

Hi,

I have several reports on my SSRS report server 2008 R2. All display great and subscriptions as MHTML display great too.

But when the email is viewed on IPHONE some reports display fine while others do not keep any formatting and look out of shape.

The charts are over some of the tables. 

What can be the reason?


Namnami

Calculating total of an expression column

$
0
0

I am trying to calculate the total price for an invoice.

I have the following columns in a tabix:

PurchaseOrderNumber, ItemNo, Quantitiy, ItemDescription, Discount, UnitPrice, Subtotal

The subtotal column (textbox8 in the tabix) takes into consideration the unit price, quantity and the discount and is calculate by:

=(((((SUM(Fields!ItemUnitPrice.Value))/100) * (SUM(Fields!Discount.Value))) - (SUM(Fields!ItemUnitPrice.Value))) * (-1)) * (SUM(Fields!Quantity.Value))

I need to calculate the total of this column. I have tried =SUM(ReportItems!Textbox8.Value)

This brings the error:

The value expression for the textrun 'textbox54.paragraphs[0].textruns[0]' uses an aggregate function on a report item. Aggregate functions can be used only on report items contained in page headers and footers.  

Is there anyway of calculating what I need to without the value been in the footer? If not, would '=SUM(ReportItems!Textbox8.Value)' work in the footer? It doesn't seem obvious how to add one.

If it makes a diffrence I'm using Visual Studio 2010, and am creating a Windows Form Application.

Thanks in advance

Is it possible to have have range chart series side by side

$
0
0

Hi,

I have a range chart which has just one series. As of now, my report looks like "CHART 1" below.

I want to know if its possible to have the bars side by side whenever possible so that the graph takes less verticle space (as shown in "CHART 2")

Thanks


NC

SSRS 2008 R2 - Chart Legend Colors not changing.

$
0
0

Hi Guys,

I have been working on a report which uses inbuilt chart capabilities of SSRS 2008 R2 version. I have been able to dynamically change colors using expressions in fill property of series data but the legend associated with it does not change as expected. If I use the default coloring for the series data then the legend coloring works as expected, this is the case when you simply drag and drop the chart and use as is. See below for my chart definition (in my charting scenario I had to change the series data bar colors based on a particular column value).

Chart Data:

Series Group - Col_A

Category Group - Col_A

Summation of Values (Series Data) - Count(Col_B)

In the series properties --> Fill --> Pick Color --> Color --> Expression (as below)

=iif(fields!Col_A.Value = "On Time","Red",iif(Fields!Col_A.Value = "Overdue","Blue","Green"))

Can anybody please guide on this?

Cheers !

Pulkit Ojha

SSRS drill through - not passing last parameter

$
0
0

SSRS is not passing the last parameter in my drill through report...the first two work fine, but the 3rd requires me to select from the defined Available Values.  For some reason SSRS seems to be ignoring the value being passed for this 3rd parameter.  Omit is set to False on all 3 parameters, and the child report does not have any defined Default values.  Any suggestions?

Below is a portion of the .rdl file for reference:

                        <Style>
                          <TextAlign>Center</TextAlign>
                        </Style>
                      </Paragraph>
                    </Paragraphs>
                    <rd:DefaultName>BusinessSection1</rd:DefaultName>
                    <ActionInfo>
                      <Actions>
                        <Action>
                          <Drillthrough>
                            <ReportName>DetailBySection</ReportName>
                            <Parameters>
                              <Parameter Name="Method">
                                <Value>=Fields!Method.Value</Value>
                              </Parameter>
                              <Parameter Name="Section">
                                <Value>=Fields!BusinessSection.Value</Value>
                              </Parameter>
                              <Parameter Name="DateRangeType">
                                <Value>=Fields!DateRangeType.Value</Value>   ***this value is not being passed***
                              </Parameter>
                            </Parameters>
                          </Drillthrough>
                        </Action>
                      </Actions>
                    </ActionInfo>
                    <ToolTip>Click to View Detailed Report</ToolTip>

Shared Data Source Help

$
0
0

Hello

I have a requirement, to add a Shared Data Source (SharePoint List) that instead of a URL, has [@URL] in it - which is a parameter generated from some SQL queries in lots of occasions in separate sub reports.

This concept works fine as a local Data Source in a report, however, when trying to deploy the Shared Data Source I have made, this error creeps up;

Object reference not set to an instance of an object.

Any ideas why I cannot deploy it?

If I add the Shared Data Source in the actual Native SSRS site, that works ok too. Its just using visual studio, does not work.............

I am pretty new, so easy to understand help would be greatly received!!!!!!!!!!!!

Permission by department manager from single report to view.

$
0
0

Hello,

We are using SSRS 2005 and I have a report I want to give access to 5 different managers the report will be in a separate folders by department this report is a budget report. I don't want to change the sql query for each department individually and copy into the respective folders  I would have ssrs 2005 recognize the department by folder and only give the data to the respective department manager. Is this possible?


How To Get Full Names Against Every Bars Of The Chart

$
0
0

HI

I am working on SSRS for making Graphical and bar charts representation. The below image shows how i get the result but also want all names or atleaset in odd order it shows names against their bar(incident count). I am new with this. Kindly help on me to get solve this. Thanks in Advance.

Regards,
M Ahsan Misbah

How to archive all reports on a report server

$
0
0

Hi,

I have an instance of 2008 R2 reporting services that is to be decommissioned.

Ive been asked to take a copy of all the rdl's on the server and archive them in case they need to be retrieved at a later date, but there are hundreds of them!

It would take forever to manually download them so I was wondering if there is a quick way to get them all?

Thanks,

Zoe

Setting custom colors on a column stacked bar chart

$
0
0

I have set the fill for the values series to an expression of: =Switch((Fields!Priority.Value)="Medium","CornflowerBlue",(Fields!Priority.Value)="Critical","Firebrick",(Fields!Priority.Value)="high","RosyBrown",(Fields!Priority.Value) ="Low", "Green")

When running the report colors switch properly however the legend colors do not change

Here is a screenshot of the issue

As you can see the bar colors change properly but i cannot seem to get the legend to work right. Does anyone have any suggestions?


How to count no of records in each page

$
0
0

Hi

I have table in a report without any group.The table displays only details.

I need to display count of records in each page.

For Example i have 50 records in first page and 40 records in next page in a report.

Here i need to display count at last of page as 50 and in second page as 40

Thanks in advance....

Passing Parameter in drill through

$
0
0
How do we pass a parameter on click in SSRS...For eg. if we have to drill through from one report to another report and we click on a year 2012,the second report should show the results related to 2012...i am using SSAS cube as my data source...

set expression in ssrs

$
0
0

Hi,

I have to set parameter with date and time in such a way so when ill pull report it should be from previous date to current date and specific time.

ForExample, if i select report from 03/15/2013 to 03/16/2013, report should show data from 03/1402013 4:00 pm to 03/16/2013 3:59 pm.

so how to set expression for that? It suppose to set as default value or availabe value?

Please help me for this.

Thanks


surabhi dave

Visual Studio 2010 Build Fails No Errors

$
0
0

We have a problem with Visual Studio 2010 32-bit installed on Windows 7 computers. If an RDLC file is included in a solution, then it is impossible to get a build to succeed. The build fails with no errors.

Turning on verbose build output, you see:

Target "RunRdlCompiler: (TargetId:33)" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\ReportingServices\Microsoft.ReportingServices.targets" from project "C:\Users\bens\documents\visual studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\WindowsFormsApplication1.csproj" (target "CompileRdlFiles" depends on it): Building target "RunRdlCompiler" completely. Output file "obj\x86\Debug\RdlCompile.compiled" does not exist.
Using "RdlCompile" task from assembly "Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Task "RdlCompile" (TaskId:25) Done executing task "RdlCompile" -- FAILED. (TaskId:25) Done building target "RunRdlCompiler" in project "WindowsFormsApplication1.csproj" -- FAILED.: (TargetId:33)

Not much help there. So I deompiled the assembly.
The actual exception seems to be swallowed and appears to be a CAS security issue.
Trace looks roughly like this:

Location: Microsoft.Reporting.RdlCompile->CompileReport
privatebool CompileReport(string fileName)
{...

   PublishingResult result = ReportCompiler.CompileReport(
new PreviewItemContext(), buffer, false,out snapshot);
..}

Location: Microsoft.Report.ReportCompiler->CompileReport
publicstatic PublishingResult CompileReport(ICatalogItemContext context, byte[] reportDefinition, bool generateExpressionHostWithRefusedPermissions, out ControlSnapshot snapshot)
{...
   compilationTempAppDomain = CreateCompilationTempAppDomain(); <--Throw Exception
...}

Excption thrown by CreateCompilationTempAppDomain is "The security state of an AppDomain was modified by an AppDomainManager configured with the NoSecurityChanges flag."

I have already tried sticking LegacyCASPolicy and NetFx40_LegacySecurityPolicy flags in <runtime> sections for devenv.exe.config and machine.config . I have also tried setting COMPLUS_LegacyCASPolicy=1 in Environment variables. Nothing seems to solve the issue.

Please advise!

Thanks!


Create report using Report Builder 3 with DAX query

$
0
0

Can we create report in Report Builder 3 having SSAS Tabular model and using DAX query?

Exporting to PDF formatting

$
0
0

Hello, 

I am currently using SSRS 2008 R1. 

My report that I have created currently prints with .1 margins on each end of the report in both the Visual Studio and also in Internet Explorer when deployed. However, when I export it to a PDF format, the margins are much larger and it causes the report to scrunch up slightly (making my row heights larger than I want them to be).

How do I make it so the margin formatting stays the same even when exporting into the PDF format? Is there export settings somewhere that I have to adjust?? 

Thanks!!


matthew nguyen

Capturing session variable values in SSRS

$
0
0

My SSRS link is embedded in another application which has many imp values in its session variables . Inside my SSRS reports , I need to read few of the variables and in some scenarios retrieve some info  based on them too. 

How do I do this ? I am a beginner in SSRS.

Passing report parameters filters to SharePoint GetListItems CAML query issue

$
0
0
Hi there
I'm having some serious issues passing report parameters to a CAML query that's behind my reporting connecting to a SharePoint list.
I have defined 2 report parameters (datetime type): Start_Date and End_Date. Now my list contains items with a bunch of Dates (field ItemDate)
I want to return a list of items based on date range (start and end date).

I thought that if I used =Parameters!Start_Date.Value and =Parameters!End_Date.Value would work. Nope it doesn't.
However if I used actual hardcoded dates like 2009-01-01T00:42:34Z for start date and 2010-01-01T00:42:34Z the report works like magic.
So I'm not sure what I'm missing

So here's what I got:

<Query>
<Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems" >
<Parameters>
    <Parameter Name="listName">
            <DefaultValue>My Custom List</DefaultValue>
    </Parameter>   
    <Parameter Name="rowLimit">
            <DefaultValue>9999</DefaultValue>
    </Parameter>
    <Parameter Name="viewName">
            <DefaultValue>98F79535-0F17-4895-9FC8-0C011F85D0E0</DefaultValue>
    </Parameter>   
    <Parameter Name="query" Type="xml">
        <DefaultValue>
            <Query>
                <Where>
                    <And>
                        <Geq>
                            <FieldRef Name=ItemDate" />
                            <Value Type="DateTime">=Parameters!Start_Date.Value</Value>
                        </Geq>
                        <Leq>
                            <FieldRef Name="ItemDate" />
                            <Value Type="DateTime">=Parameters!End_Date.Value</Value>
                        </Leq>
                    </And>
                </Where>
            </Query>
        </DefaultValue>
    </Parameter>

</Parameters>
</Method>
<ElementPath IgnoreNamespaces="True">GetListItemsResponse/GetListItemsResult/listitems/data/row{
@ows_Title,
@ows_CompanyName,
@ows_ItemDate,
@ows_ContactName,
@ows_Company_x0020_Street_x0020_Address,
@ows_Company_x0020_City,
@ows_StateOrProvince,
@ows_PostalCode,
@ows_CompanyCountry,
@ows_PhoneNumber,
@ows_FaxNumber
}</ElementPath>

<SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
</Query>


The other alternative is to use Report Filters BUT I am not sure how I can "OR" them, I know you can define a bunch of filters, but what is the default behaviour? OR or AND? How can you change it?

THANKS GUYS!

SSRS 2005 adding color indicator to table

$
0
0

 I am using SSRS 2005 that do not have indicators. I am thinking of using colors to highlight a table field if the value is outside of the specific range. can this be done and how? Thanks

Viewing all 10045 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>