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

SSRS PDF Export. There was an error opening this document. This file is damaged and could not be repaired

$
0
0

Hello,

I just experienced this problem, and was able to successfully mitigate.  I wanted to share my experience and Solution. 

The problem started with the following error after succesfully exporting a PDF Document.  "There was an error opening this document. This file is damaged and could not be repaired."

This is only applicable if you can still export and open SSRS Reports to other formats. Go to the Log files of the SQL Instance. In my particular case I used the Default MSSQL instance:   C:\ Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles  

The Folder will begin with MSRS (SRS is for SQL Reporting Services)

Sort the files by date modified and check for the most recent log file: ex.  SQLDmpr0000.log  The 0000 will be the incremental amount of errors you have experienced in SRS. Check for the following error:"System.DllNotFoundException: Unable to load DLL 'T2Embed': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"


Below is a sample from the log. 

reportrendering!ReportServer_0-1!1b78!02/07/2012-11:56:03:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: , Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.DllNotFoundException: Unable to load DLL 'T2Embed': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

   at Microsoft.ReportingServices.Rendering.ImageRenderer.FontPackage.TTGetEmbeddingType(Win32DCSafeHandle hdc, UInt32& status)

   at Microsoft.ReportingServices.Rendering.ImageRenderer.FontPackage.CheckEmbeddingRights(Win32DCSafeHandle hdc)

   at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFWriter.ProcessFontForFontEmbedding(PDFFont pdfFont, Dictionary`2 embeddedFonts)

   at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFWriter.EndReport()

   at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer.Render(Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream createAndRegisterStream)

   at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)

   --- End of inner exception stack trace ---

   at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)

   at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderFromOdpSnapshot(IRenderingExtension newRenderer, String streamName, ProcessingContext pc, RenderingContext rc)

   --- End of inner exception stack trace ---;

If you notice the error states that T2Embed.dll access is denied. In my case this due to a hotfix installed by Microsoft: 

 MS11-087: Vulnerability in Windows kernel-mode drivers could allow remote code execution: December 13, 2011

Be advised, in order to fix your problem and render pdf's, a vulnerability shall be created.

 To fix this issue and allow the export to PDF work correctly, you must give the system Read/Execute Permissions, and Built-in\Administrators Full Control. 

Go to Windows\System32 and find the T2Embed.dll Go to Security and modify the permissions as listed above. Do the same to the T2Embed.dll in the SysWow64 folder.

Restart Reporting Services and you will be able to export to PDF. 

Best Wishes! 

Mariano

www.lucontech.com 


Microsoft TechNet Wiki SSRS Guru - Winners for January!!

$
0
0

The results for January's TechNet Guru competition were posted!

http://blogs.technet.com/b/wikininjas/archive/2014/02/16/technet-guru-awards-january-2014.aspx


Post your FEBRUARY contributions here:

http://social.technet.microsoft.com/wiki/contents/articles/22885.technet-guru-contributions-for-february.aspx


A great big thank you to EVERYONE who contributed an article to last month's competition.

Hopefully we will see you ALL again in this month's listings?

Unfortunately, forum restrictions have prevented me from posting the winners here.

You will find the complete post, comments and feedback on the main announcement post.

Please join the discussion, add a comment, or suggest future categories.

If you have not yet contributed an article for this month, and you think you can write a more useful, clever, or better produced wiki article than last month's winners, here's your chance! :D

Best regards,
Pete Laker

More about the TechNet Guru Awards:



#PEJL

Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to the one and onlyTechNet Wiki, for future generations to benefit from! You'll never get archived again!

If you are a member of any user groups, please make sure you list them in the Microsoft User Groups Portal. Microsoft are trying to help promote your groups, and collating them here is the first step.

Forum FAQ: How do I achieve column break in a matrix?

$
0
0

Symptom

Although you can set page break for column group in Reporting Services 2008, page breaks are ignored on column groups. Reference:

http://msdn.microsoft.com/en-us/library/ms156434.aspx

Solution

Here are some workarounds, available forboth Reporting Services 2005 and2008:

Workaround 1

Spread the columns from one matrix into several matrixes. You can first copy one matrix and then paste it into several ones you want. Then set the filter for each column group to make sure that the total columns’ length in one matrix just fit a page’s width.

Workaround 2

The other method is to use a custom code.

a.     Please copy the following code to the custom code area:

Dim FlagTable As System.Collections.Hashtable

Dim Flag AS Integer

 Function MyFunc(ByVal NewValue As Object) As Integer

If (FlagTable Is Nothing) Then

FlagTable = New System.Collections.Hashtable

End If

If (NewValue Is Nothing) Then

NewValue = "-"

End If

If (Not FlagTable .Contains(NewValue )) Then

Flag =Flag + 1

FlagTable.Add(NewValue, nothing)

End If

MyFunc = Flag

End Function

b.     Create a list in your report.

Imagine thatthe column group of a matrix is grouped bythe field ‘Column_Group’, then set the detail group of list withthe expression like this:

=Ceiling(Code.MyFunc(Fields!Column_Group.Value)/5)

Note: This means the Max number of column in matrix will be five after you follow step C.

c.      Sort the dataset by column group field, and then drag the matrix into the list. Click Preview.

Workaround 3

Similar to the second method, you need to modify the dataset.

a.     Create an ID column for the column group in your dataset.

For example,there isa datasetwith the following query:

SELECT * FROM Table

The column group is grouped on the field “Group1”.Then, modify the query like this:

SELECT *, Dense_Rank()OVER(order by Group1) AS ID FROM Table 

b.     Create a list in your report, set the detail group of the list with the Expression like this:

=Ceiling(Fields!ID.Value/5)

Note: This meansthat the Max number of column in matrix will be five after you followthe step C.

c.      Sort the dataset bythe column group and then drag the matrix into the list. Click Preview.

SSRS subreport with a sub-report as header on all pages

$
0
0

Hello,

I need some guidance on how to get a sub-report with a sub-report header and an expanding table. Please see below.

This is the structure of things that I have:

Main Report 1 is being invoked by ONLY Parameter 1 (User Text Box Entry).

It Contains:

     Page 1: Sub-Report 1 invoked by Parameter 1

     Page 2 or more Pages: Sub-report 2 and a table (T1) expanding vertically based on Parameter 1 and Parameter 2. The Sub-report 2 should appear as header on all pages where T1 rows are there. Additionally, multiple Parameter 2 values may be present and if so, they need to appear on a different page with appropriate header/table data. Parameter 1 and 2 are associated with a ONE dataset & its fields.

     Last Page: Sub-Report 3 and few text boxes below it. Invoked by Parameter 1

The issue is I don't know how to insert Page 2 content. I tried making a new report with Sub-report 2 and the T1 below it. This is working fine but I'm not able to get the sub-report as header on all pages EXCEPT the first page. FixedData and RepeatOnNewPage properties are TRUE & KEEPwithGroup is set to 'AFTER'. Also, once I'm done with this report how do I insert it in the main report. Would it be in group / outside group in the group properties -- I would really appreciate if you can guide me with steps.

Thank you,

Nichesl


Nichesl

SSRS 2012 Excel Rendering Error

$
0
0
   

Hi

I need help

Platform

Sharepoint 2013

SSRS 2012 integrated in sharePoint 2013

I've no problem when I export my report  (25000 records) to EXCELOPENXML format, but each time I try to export it with 140 000 records i've always the error described below , however  I can export it to csv format


at Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
   at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
   --- End of inner exception stack trace ---;
w3wp!library!1b!02/25/2014-12:18:44:: e ERROR: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. ---> System.Threading.ThreadAbortException: Thread was being aborted.
   at System.AppDomain.GetId()
   at System.Threading.Thread.GetCurrentCultureNoAppX()
   at Go17(RegexRunner )
   at System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick, TimeSpan timeout)
   at System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
   at System.Text.RegularExpressions.Regex.Match(String input)
   at Microsoft.ReportingServices.ReportProcessing.Validator.ValidateColor(String color, Color& c, Boolean allowTransparency)
   at Microsoft.ReportingServices.OnDemandReportRendering.ReportColor..ctor(String color, Boolean allowTransparency)
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.OpenXmlGenerator.AddColor(String colorString)
   at Microsoft.ReportingServices.Rendering.ExcelRenderer.Layout.LayoutEngine.ItemInfo.FillBorders(RPLStyleProps style, Boolean omitBorderTop, Boolean omitBorderBottom, IExcelGenerator excel)
   at Microsoft.ReportingServices.Rendering.ExcelRenderer.Layout.LayoutEngine.RenderNewItem(IRowItemStruct item, Int32 top, Int32 topRow, IExcelGenerator excel, String pageContentKey, Dictionary`2 sharedBorderCache, Dictionary`2 sharedImageCache, Boolean& autosizableGrow, Boolean& autosizableShrink)
   at Microsoft.ReportingServices.Rendering.ExcelRenderer.Layout.LayoutEngine.RenderPageToExcel(IExcelGenerator excel, String key, Dictionary`2 sharedBorderCache, Dictionary`2 sharedImageCache)
   at Microsoft.ReportingServices.Rendering.ExcelRenderer.MainEngine.RenderRPLPage(RPLReport report, Boolean headerInBody, Boolean suppressOutlines)
   at Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
   at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
   --- End of inner exception stack trace ---
   at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
   at Microsoft.ReportingServices.Library.RenderFromSnapshot.CallProcessingAndRendering(ProcessingContext pc, RenderingContext rc, OnDemandProcessingResult& result)
   at Microsoft.ReportingServices.Library.RenderStrategyBase.ExecuteStrategy(OnDemandProcessingResult& processingResult)
w3wp!wcfruntime!1b!02/25/2014-12:18:44:: e ERROR: Reporting Services fault exception System.ServiceModel.FaultException`1[Microsoft.ReportingServices.ServiceContract.RsExceptionInfo]: An unexpected error occurred in Report Processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. ---> System.Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors (Fault Detail is equal to Microsoft.ReportingServices.ServiceContract.RsExceptionInfo).

Any solutions 

You can be our next Spring SSRS Guru !!

$
0
0



In the northern hemisphere at least, Spring is here! (apparently)

And at TechNet Wiki, we're hoping you're all hatching new ideas for this month's TechNet Guru competition!

We're looking for more shoots and leaves of wisdom to sprout forth from the great tree of MSDN/TechNet life.

We're also hoping some of our old Guru winners will be coming back out of hibernation and flexing their grey matter!

So, pick up your pen and MARCH into TechNet History! This could truly be the start of something BEAUTIFUL!

What delightful new arrival will YOU be bringing into this world?

All you have to do is add an article to TechNet Wiki from your own specialist field. Something that fits into one of the categories listed on the submissions page. Copy in your own blog posts, a forum solution, a white paper, or just something you had to solve for your own day's work today.

Drop us some nifty knowledge, or superb snippets, and become MICROSOFT TECHNOLOGY GURU OF THE MONTH!

This is an official Microsoft TechNet recognition, where people such as yourselves can truly get noticed!

HOW TO WIN

1) Please copy over your Microsoft technical solutions and revelations toTechNet Wiki.

2) Add a link to it on THIS WIKI COMPETITION PAGE (so we know you've contributed)

3) Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.

If you win, we will sing your praises in blogs and forums, similar to the weekly contributor awards. Once "on our radar" and making your mark, you will probably be interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!

Winning this award in your favoured technology will help us learn the active members in each community.

Feel free to ask any questions below.

More about TechNet Guru Awards

Thanks in advance!
Pete Laker


#PEJL

Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to the one and onlyTechNet Wiki, for future generations to benefit from! You'll never get archived again!

If you are a member of any user groups, please make sure you list them in the Microsoft User Groups Portal. Microsoft are trying to help promote your groups, and collating them here is the first step.

SQL Server Reporting Services & SharePoint 2013

$
0
0

Hi there,

We are developing a web application in sharepoint 2013 in which we are using authentication mode="Windows”.  We have used a custom web part containing report viewer control for showing charts and reports, that we have developed using SSRS (*.rdl files) and have all the .rdl files within Sharepoint Document Library.

To start with, we were getting the error “Report Server has encountered a SharePoint error. (rsSharePointError) The user does not exist or is not unique.” To fix this, we changed <identity impersonate="false" /> from <identity impersonate="true" /> at web.config level which did the trick.

However, we are now facing another issue wherein tabular reports are renedered ok in SharePoint through report viewer custom web part but chart based reports are not rendered. The chart image is not displayed. 

Can somebody please help with a resolution?

The code snippet for rendering the report is given below for reference purposes

Thanks in advance

Monica

privatevoid BindReport()

        {

            string reportFullPath = "http://c4968397007/ReportLibrary/Reports/"+ ReportPath;

            litReportHeading.Text = ReportPath;

            reportViewerControl.ServerReport.ReportPath = reportFullPath;

            reportViewerControl.ServerReport.ReportServerUrl =newUri("http://c4968397007/_vti_bin/ReportServer");

            reportViewerControl.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;

            Microsoft.Reporting.WebForms.ServerReport serverreport = reportViewerControl.ServerReport;

          IReportServerCredentials irsc =newReportViewerCredentials("username","password","domainName");

            rvControl.ServerReport.ReportServerCredentials = irsc;

            rvControl.ServerReport.Refresh();

}

SSRS Report Tool Bar Width

$
0
0

Hi ALL ,

I have a report with 10 columns and Report toolbar with 4 Parameter .  Whenever the view report button is clicked the report toolbar expands up to the 10 columns in report making the view report button move to the extreme right and parameter on the left . Is it possible that the report toolbar doesn't expand according to the report  columns and remains on the left only .

Please help 


background chart

$
0
0
<p>I would like have the background of my chart divided in white and blue parts.</p><p>The parts depends on the value of the blue 'balloon'.</p><p>Is this possible?<img alt="" src="http://social.technet.microsoft.com/Forums/getfile/462444" /></p>

[Forum FAQ] How to calculate the increment between two columns in Column Group?

$
0
0

Introduction

In a Reporting Services report, if you add a column group on the tablix, the tablix would look like the screenshot below when previewing report.

Then the requirement is that add a column after each month to calculated increment on the basis of previous month amount. If we use the expression
=Fields!Amount.Value-Previous(Fields!Amount.Value)
in that column directly, we will get the error
The use of a Previous aggregate function in a TablixCell within Tablix 'TablixName' is not supported.

This error occurs when you use a Previous in the cell that belong to a column group and a row group. When using this function in that cell, RS cannot to decide to get column previous value or row previous value. So you cannot use a Previous in the cell that belong to a column group and a row group.

In this article, I will demonstrate how to calculate the increment between two columns in Column Group.

Solution

Since Previous function is not supported in that cell, then you can pass the amount of each month to custom code and store the values on a queue, and calculated the increment between each month in the custom code and return it to that column. Copy the custom code below and paste it to your report. (Right-click your report>Report Properties>code).

Private queueLength As Integer = 2 Private queueSum As Double = 0 Private queueFull As Boolean = False Private idChange As String="" Dim queue As New System.Collections.Generic.Queue(Of Integer) Public Function CumulativeQueue(ByVal currentValue As Integer,id As String) As Object

Dim removedValue As Double = 0 If idChange <> id then ClearQueue() idChange = id queueSum = 0 queueFull = False CumulativeQueue(currentValue,id) Else If queue.Count >= queueLength Then removedValue = queue.Dequeue() End If queueSum += currentValue queueSum -= removedValue queue.Enqueue(currentValue) If queue.Count < queueLength Then Return Nothing ElseIf queue.Count = queueLength And queueFull = False Then queueFull = True Return (queueSum-currentValue-currentValue) Else Return (queueSum-currentValue-currentValue) End If End If End Function

public function ClearQueue() Dim i as Integer Dim n as Integer = Queue.Count-1 for i=n To 0 Step-1 queue.Dequeue() next i End function

Then refer to the steps below to achieve the requirement.

  1. Right-click the handle of the column group>Insert Column>Inside Group-Right
  2. Type the expressions below to the inserted column.
    =Code.CumulativeQueue(Fields!Amount.Value,Fields!Type.Value)
  3. The design surface looks like the screenshot below.
  4. The report looks like below.

Besides, you can use this custom code to calculate the average value for previous few month. Such as, if you want to calculate previous 3 months average value, you can change the queue length to 3 and return queueSum/queueLength. Please refer to the code and screenshots below.

Private queueLength As Integer = 3 Private queueSum As Double = 0 Private queueFull As Boolean = False Private idChange As String="" Dim queue As New System.Collections.Generic.Queue(Of Integer) Public Function CumulativeQueue(ByVal currentValue As Integer,id As String) As Object Dim removedValue As Double = 0 If idChange <> id then ClearQueue() idChange = id queueSum = 0 queueFull = False CumulativeQueue(currentValue,id) Else If queue.Count >= queueLength Then removedValue = queue.Dequeue() End If queueSum += currentValue queueSum -= removedValue queue.Enqueue(currentValue) If queue.Count < queueLength Then Return Nothing ElseIf queue.Count = queueLength And queueFull = False Then queueFull = True Return queueSum/queueLength Else Return queueSum/queueLength End If End If End Function

public function ClearQueue() Dim i as Integer Dim n as Integer = Queue.Count-1 for i=n To 0 Step-1 queue.Dequeue() next i End function



Applies to

Microsoft SQL Server 2005
Microsoft SQL Server 2008
Microsoft SQL Server 2008 R2
Microsoft SQL Server 2012

    

Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

[Forum FAQ] How to creating SSRS report that retrieves data from Active Directory

$
0
0

Introduction

Supposing there is a domain named CONTOSO.com, and you want to create a report to display the users in the Active Directory by using SQL Server Reporting Services. There are several methods to creating a SSRS report that retrieves data from the Active Directory. Please refer to the following three methods:

Solution

Method 1: Using Linked Server and Stored Procedure to query data from AD

  1. Create a linked server to Active Directory server on SQL Server instance, you can refer to the following statement to add a linked server:
    EXEC sp_addlinkedserver @server=N'ADSI', @srvproduct=N'Active Directory Services 2.5', @provider=N'ADSDSOObject', @datasrc=N'adsdatasource'
    EXEC sp_addlinkedsrvlogin @rmtsrvname=N'ADSI', @useself=N'False', @locallogin=NULL, @rmtuser=N'contoso\LDAP', @rmtpassword='Password'
  2. Create a stored procedure to query the AD with OPENQUERY statement
    CREATE PROCEDURE AD
    AS
    BEGIN
    SELECT * FROM OPENQUERY(ADSI1, 'SELECT ADsPath,cn,objectCategory,name FROM ''LDAP://dc=contoso,dc=com''
    WHERE objectCategoty=''user''')
    END
  3. In Report Designer or Report Builder, create the report by using the corresponding data source and generate the dataset based on the stored procedure created above.

Method 2: Create Directory Services Data Source and using LDAP query

  1. In Report Designer or Report Builder, create data source with OLE DB Data Source type and following connection string:
    Provider=ADsDSOObject;Data Source=adsdatasource
  2. Create the dataset with following LDAP query:
    SELECT ADsPath,cn,objectCategory,name FROM 'LDAP://dc=contoso,dc=com'
    WHERE objectCategoty='user'

Method 3: Implementing a custom data extension to query the AD

We can get the custom data processing extension for Active Directory from SSRS samples
The sample is installed to <install driver>:\Program Files\Microsoft SQL Server\100\Samples\Reporting Services\Extension Samples\ActiveDirectory Sample by default.

You can download the sample from: http://msftrsprodsamples.codeplex.com/
For the detail steps for deploy the custom data processing extension and create reports against the custom data source, please refer to the following article:
Readme_Active Directory Data Processing Extension Sample
(Notes: The samples work only with SQL Server 2005, 2008 and 2008 R2)

Reference:

 

Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

Erroneous Symbols

$
0
0

Within my report I have a field =Join(Lookupset(Fields!Account_Number.Value,Fields!Account_Number.Value, Fields!Task_Creator.Value & VbCrLf & Fields!Task_Notes.Value, "Tasking"),VbCrLf)

When I run the report it pulls the TASK notes however, within the TASK Notes there are erroneous symbols

"&#x0D" throught out the report. 

I am not sure why this is occuring.  Any recommendations would be appreciated

Thanks in Advance

SSRS - % percentage ROW TOTALS don't calculate correctly in a Table Matrix

$
0
0

SSRS - Report Builder 3.0

I have created a report with a MATRIX table with a TOTAL ROW and a TOTAL COLUMN and the total column is calculating correctly but the ROW totals is not calculating correctly

The screen shot below is of the Matrix table in the Report Builder 3.0 "Designer view" 

When I run the report the column totals the percentage is averaged correctly, but the ROW TOTALS do not, some are close but i need them to be accurate.


If you take the same data into excel the total percentage calculates correctly - if you compare the excel with the SSRS some rows do calculate close, but not accurate. the total column calculates correctly


FY13-Q4FY14-Q1FY14-Q2FY14-Q3Total
100%89%65%68%80%
50%72%43%45%52%
100%91%63%69%81%
10%17%29%31%22%
100%96%67%76%85%
70%70%53%64%64%
90%93%90%82%89%
74%75%59%62%68%

I Need the totals rows and columns to average the percentage correctly in the SSRS report.

Please help...


-Isaack


What are the best options to replace the SSRS parameter panel?

$
0
0

Hello.

One of the biggest weakness of Reporting Services is definitely the fact that we can't design ourselves panel parameter.

Indeed, This one is totally generated by SSRS and cannot be changed. Moreover its design and features are very limited. This weakness is a regular problem for me in my work, when I integrate reports into a web site, for example.

So, we are using some workarounds, such as using the ReportViewer object and fully develop report parameters ourselves in our website. But this is problematic because it must be repeated for each report, this is time consuming and the code behind must query the OLAP Cube directly to fill the parameters values.

I have seen other solutions like to rewrite the CSS ReportViewer. But again, this is problematic because this change will apply to all the reports deployed on the server.

So, what solution you use? Have you found a magic answer? Or you let the default design?

report viewer is not working in google chrome?!

$
0
0

How to display the report viewer control in google chrome?!

I used report viewer in aspx page.

The report viewer is working in all the browser exept in Google chrome.

What to do to work the report viewer in Google chrome?!


Manikannan N Software Engineer

Error: Parameter validation failed

$
0
0

Visual Studio 2010; SQL 2012; SharePoint 2010. Reports are built in VS and hosted in SharePoint.

I had built a parameter with two links to hidden reports for additional detail. The links are textboxes with an action to run the specified report, passing in the calling report parameters to the detail reports. The parameters are exactly the same, except the the detail reports have the parameters as hidden while the parameters are visible in the calling report. The three reports had been working for several weeks.

After changing my browser to IE 9 (9.0.8112.16421) and making a minor change to the main and sub reports, the sub reports failed when called, issuing the following:
Parameter validation failed. It is not possible to provide valid values for all parameters. ---> Microsoft.ReportingServices.ReportProcessingException: Parameter validation failed. It is not possible to provide valid values for all parameters.

Part of my troubleshooting involved changing the parameter to "visible" rather than "hidden", but the report kept failing, even when I removed potential values or provided hard-coded simple values. The sub reports consistently worked as expected in Visual Studio and Report Builder. I was finally successful, but had to delete the deployed report and re-deploy with the parameter set to visible.

I've been using reports / linked reports with the same type of functionality for years - first time I've run across this.

Web Designing Company, Web Design and Development Companies, Ecommerce Development Company, Web Site Design Development,

SSRS 2008 - Formatting a Chart (Report Builder)

$
0
0

Hello, can anyone help me to solve this issue:

I want to range my chart in SSRS 2008, I am trying to order by company and by year, but it doesn't appear the correct year, only the company.  

See first the wrong image and then the correct one to be more clear.



Correct:

Many Thanks

Manuel

Calling all SSRS users! May TechNet Gurus announced!

$
0
0

The results for May's TechNet Guru competition have been posted!

http://blogs.technet.com/b/wikininjas/archive/2014/01/16/technet-guru-awards-december-2013.aspx

Congratulations to all our new Gurus for May!

We will be interviewing some of the winners and highlighting their achievements, as the month unfolds.

 

Post your JUNE contributions here:

http://social.technet.microsoft.com/wiki/contents/articles/24692.technet-guru-contributions-for-june-2014.aspx

Read all about June's competition, hopefully in a stickied post, at the top of this forum.

 

Below is a summary of the medal winners for May. The last column being a few of the comments from the judges.

Unfortunately, runners up and their judge feedback comments had to be trimmed from THIS post, to fit into the forum's 60,000 character limit, however the full version is available on TechNet Wiki.

Some articles only just missed out, so we may be returning to discuss those too, in future blogs.
 

Guru Award BizTalk Technical Guru - May 2014  

Gold Award Winner

Peter LindgrenBizTalk 2010: Call SSO from OrchestrationTGN: "I bet a few people will love you for this, I often see this question at the forums, and you answered it well. Good work!"
Mandi Ohlinger: "Great topic and great explanation. It also makes SSO seem less scary :)"
Sandro Pereira: "Very useful sample, well explained with all the necessary code "

Silver Award Winner

boatsellerBizTalk: Using an Orchestration Sync or AsyncSandro Pereira: "Good sample provide by boatseller and well explained."
TGN: "Hey, great work man! This is a well done article and I love it!"

Bronze Award Winner

Steef-Jan WiggersExposing data through BizTalk Service Hybrid ConnectionsSandro Pereira: "Nice article with a good overview about BizTalk Service Hybrid Connections and how you can configure them."
TGN: "Good article, well explained and good pictures. Again Steef-Jan, you know what you're doing!"
Mandi Ohlinger: "Nice set-up overview. "

Guru Award Forefront Identity Manager Technical Guru - May 2014  

Gold Award Winner

Sheldon.JaquayForefront Identity Manager - RCDC - Regular ExpressionAM: "Great contribution! Option C is clever, and the other examples are also a useful reference. Thanks for sharing your work with the community."
Ed Price: "Nice short article. Great topic, and great blend of code, color, and images!"
Søren Granfeldt: "Nice with a little focus on RegEx with FIM and good help for people wanting to have the portal be just a little more company specific"
GO: "Thanks for the article, but the images weren't clear enough."

Silver Award Winner

Scott EastinInstalling Oracle MA for FIM R2 on Windows 2012GO: "EX-CE-LL-EN-T article!"
AM: "Very nice article with clear step-by-step instructions - thanks for putting this together. "
Ed Price: "I love the sections with numbered bullets at the end. They're very clear and easy to read!"

Guru Award Microsoft Azure Technical Guru - May 2014  

Gold Award Winner

João SousaMicrosoft Azure - Remote Debbuging How To?GO: "Clever. Well Explained and written. Thanks! You absolutely deserve the GOLD medal."
Ed Price: "Fantastic topic and great use of images!"

Silver Award Winner

Alex MangThe Move to the New Azure SQL Database TiersEd Price: "Great depth and descriptions! Very timely topic! Lots of collaboration on this article from community members!"
GO: "great article but images are missing"

Bronze Award Winner

Alex MangSeparating Insights Data In Visual Studio Online Application Insights For Production And Staging Cloud ServicesEd Price: "Good descriptions and clarity!"
GO: "great article but images are missing"

Guru Award Microsoft Visio Technical Guru - May 2014  

Gold Award Winner

Mr XHow to export your Orchestrator Runbooks to Visio and Word

Ed Price: "A basic tip, but very helpful. Good job!"
GO: "Thanks for that!"
SR: "Nice "How To" article explaining the basic steps."
AH: "This article is to the point takes a simple tasks and describes it accurately.

Guru Award SharePoint 2010 / 2013 Technical Guru - May 2014  

Gold Award Winner

Dan ChristianBuild a loop workflow using SharePoint 2010Jinchun Chen: "Excellent article. Personally speaking, the biggest challenge is SharePoint Designer workflow is “while-loop”. Many customers had the same scene as this article set. I am sure they are like this article. "
Benoît Jester: "An AWESOME, huge, detailed article by Dan. Did I mention the videos? Thanks Dan!"
GO: "Great article Dan! Thanks!"
Margriet Bruggeman: "Detailed explanation which I admire, but wouldn't be using a vs workflow be more logical in this case?"

Silver Award Winner

Geetanjali AroraExport User Profile Properties using CSOMBenoît Jester: "Great article on this new SharePoint 2013 development capability. I appreciate the code explanations."
GO: "This is a great article. Love the way how you explain it."
Margriet Bruggeman: "I will use this piece of code in the future!"
Jinchun Chen: "Nice. How about customized properties? It would be nice more, if a CSOM script version can be attached. "

Bronze Award Winner

Inderjeet SinghUnable to restore site collection issueGO: "Simple. Good Written. Clear and Clever. Great article."
Margriet Bruggeman: "Quite handy reference for this particular problem"
Benoît Jester: "Good explanation on the site collection deletion process."

Guru Award Small Basic Technical Guru - May 2014  

Gold Award Winner

Philip ConrodProgramming Home Projects with Microsoft Small Basic: Chapter 1: Writing Programs Using Small BasicRZ: "Very systematic introduction."
Ed Price: "Good overview article that covers all the basics!"
Michiel Van Hoorn: "Nice introduction into the history of Basic. Needs to be updated to reflect current support for Windows version (Windows NT? LOL )"

Silver Award Winner

Philip ConrodProgramming Home Projects with Microsoft Small Basic: Chapter 6: Flash Card Math Quiz ProjectMichiel Van Hoorn: "This article (or book chapter) is excellent material to learn how to envision, design and build your program. The actual example program is also very usable."
Ed Price: "I love how this tutorial keeps building on itself as it goes!"

Bronze Award Winner

Nonki TakahashiSmall Basic: VariableRZ: "Very nice explanation of the concept of variables!"
Michiel Van Hoorn: "Clear explanation and not frills"
Ed Price: "Great article with fantastic formatting!"

Guru Award SQL BI and Power BI Technical Guru - May 2014  

Gold Award Winner

Durval RamosSSIS - Event Handling with "OnError" ou "OnTaskFailed"Ed Price: "The images are very helpful! Could use a grammar pass. Great descriptions!"
GO: "This article has everything. A conclusion, reference, see also, other languages section. everybody should write actually like this."
NN: "An interesting topic and article but unfortunately a bit hard to understand due to grammar problems"
PT: "This is a good article on a useful topic. Please have your article reviewed and edited for proper language."

Silver Award Winner

S KamathExpansion of Time dimension in Analysis ServicePT: "Your article is concise and to the point, and contains useful information. It would be good to conclude with a short summary and perhaps compare this technique to others, discussing best practices."
Ed Price: "Good details on Time Dimension. The images help us understand as we go."
GO: "I like this one, but something is missing. Do not know what, but I had a blast reading the other two's. Does not mean that this one is bad, but there is something missing, maybe my knowledge..."
NN: "Good article, but seems to be missing conclusion. It will also benefit from adding See Also section"

Bronze Award Winner

Sherry LiSSAS – Ignore unrelated dimension or notNN: "Good and interesting article based on the blog"
GO: "Wonderful article!"
PT: "This is an important topic and contains helpful information but this is a simple topic that can be explained in fewer words. I found this article to be overly detailed and hard to read. I suggest having it reviewed and edited for proper language."
Ed Price: "Good descriptions. Could be shorter. Good use of images!"

Guru Award SQL Server General and Database Engine Technical Guru - May 2014  

Gold Award Winner

ShankyCurious Case Of Logging In Online and Offline Index Rebuild In Full Recovery ModelJinchun Chen: "Good article. Thank you!"
GO: "One of the best Wiki Articles ever! Thanks buddy!"
DRC: "-- This is a great article which provides in-depth information on internals of Online & Offline rebuild index and Transaction logging. -- The following statement need to be re-written for more clarity. “The less logging can be attributed to the fact that no information about page allocation is logged information about de-allocation is logged please see below figure 13. Also if you compare amount of record returned in this case we had output containing just 64 rows while offline index rebuild had ____ rows.” -- Overall, a great article, thoroughly enjoyed reading it."
NN: "Very interesting article, another great contribution by Shanky"
Ed Price: "Thorough descriptions and great solution! Good article!"

Silver Award Winner

Uwe RickenSQL Server: Be aware of the correct data type for predicates in queriesEd Price: "Incredibly well formatted! Great breakdown of sections!"
GO: "Whoo, this is a wonderful article!"
DRC: "-- This article explains the Query execution behaviour when the Query is not optimally written which could cause increased execution time. Great article. -- This topic is clearly explained and documented using a simple example and sample output which is easy is understand. -- Simple, very well written and great article to read. "
NN: "Very good, easy to understand article and important information to know to all SQL Server developers"

Guru Award System Center Technical Guru - May 2014  

Gold Award Winner

Mr XCentral Management of DSRM password on Domain Controllers using OrchestratorEd Price: "The images really carry you through this article. Great execution!"
GO: "Great article. I like your article Mr X! Thanks for your passion!"
Kevin Holman: "Nice to see real world examples of Orchestrator in action solving problems that all customers have. This was very simple, but provides an excellent solution."

Silver Award Winner

W P ChomakSystem Center Operations Manager 2012 R2 - Customizing E-Mail NotificationsAB: "Easy reading info that can help many"
Ed Price: "Short and sweet. An incredibly valuable topic and needed addition to the Wiki!"
GO: "Clever and well written. Thanks"

Bronze Award Winner

Christoffer SSystem Center Configuration Manager 2012 R2 - Install applications in a task sequence based on AD-GroupsEd Price: "Good mix of code, images, and information. Could use more in-depth descriptions. Great article!"
GO: "Clear and simple! Thank you!"

Guru Award Transact-SQL Technical Guru - May 2014  

Gold Award Winner

Naomi NT-SQL: Random Equal DistributionJinchun Chen: "Nice."
JS: "The crucial thing about such a procedure is to check the data before the randomization and afterwards. You might encounter situations where "John Smith" and "John Meyers" might have exchanged their First names which is technically correct, but logically and obviously wrong. So make sure that there is one additional check afterwards that makes sure that eventual privicy concerns will not survive the random process. Normally this would not happen, but I have already checked this is one of my older blog entries, where we exactly had that problem obfuscating data to make that operational and live data will not be recognized afterwards. http://blogs.msdn.com/b/jenss/archive/2009/04/08/when-is-random-random-enough.aspx In addition to this some attributes are sticky to each other like gender and First Name. You also have to make sure that your distribution might change statistically in relation to other attributes."
Richard Mueller: "Very instructive. Perhaps the See Also section should have more links."
Ed Price: "Great formatting and topic! Could benefit from more descriptions. Great article!"
GO: "Naomi, your article is nice. Simple to understand the 'problem' and execute the 'solution""
Manoj Pandey: "Nice article with a different way to resolve a given problem. I think this can also be done by using NTILE() function. I've added the code in comments section."

Silver Award Winner

Rogge HExtending SYS.Geometry to Utilize Temporal DataGO: "Great article, I enjoyed reading it. Thank you"
Manoj Pandey: "I like the idea, but it took me some more time to understand the overall logic as I'm new to Geo datatypes, Thanks."
JS: "For me not using this sort of things regularly, I don't see the problem and the benefit. I have no doubt that this is a brilliant explanations how to cope with a problem, but for me this is missing yet the red line. More pictures would be helpful describing the problem and outlining the results produced."
Richard Mueller: "Needs more explanation, and perhaps an example. There should be links to relevant references."
Ed Price: "Good job on the opening descriptions! Could benefit from breaking up and explaining the code more. Images and references would be helpful. Good article!"

Bronze Award Winner

Hasham NiazDataCleanUp() Function Implementation in MS SQL ServerJinchun Chen: "Good."
JS: "-Does actually not work for Case senstive areas where I want to remoce certain Upper/lower case characters. This might be not interesting for some people, but is extremely important and relevant to other people. The limitation is that I can´t pass multiple values to be removed from the string, right ? Could this be implemented as well as many people wash out their data from unused / unimportant control characters. "I have tested it on a table which has got more than 11 Million rows and it executed fine returning the correct results. Since this is a scalar function you will notice decrease in performance." Once you want to maintain the old data and keep the new cleaned up one seperately, you could suggest something like persisting the data in a computed column which could be indexed and then help improving the performance. This would not be the case for any adhoc queries though."
Richard Mueller: "Very clever and also very useful. There should be links to references, for example to explain the PATINDEX function."
Ed Price: "Great job on this article! Very clear and well executed! See JS's comments for some thoughts about what's possible. Great article!"
Manoj Pandey: "A good utility Function that I can use and tweak for my future needs, Thanks."

Gold Award Winner

Jaliya UdagedaraCalling WCF Service from a Stored Procedure in Microsoft SQL Server 2012GO: "Gold Winner. For sure!"
Ed Price: "Amazing article! The depth, images, and code formatting make this fantastic!"
NN: "Great article, thorough explanations, great interaction in the comments - very useful tutorial"
Søren Granfeldt: "Nice work."

Silver Award Winner

João SousaASP.NET MVC 5 - Bootstrap 3.0 in 3 StepsGO: "Thanks for that great article"
Ed Price: "Great formatting! Good use of images!"
NN: "Nice introduction to Bootstrap in ASP.MVC project"
Søren Granfeldt: "Just a little more technical explanation would be nice"

Bronze Award Winner

Critical_stopUsing 64-bit shortcuts from a 32-bit applicationNN: "Good and short article, right to the point"
Søren Granfeldt: "Mixing and matching 32/64 bit always seems to give people a hassle. This will help those having issues."
GO: "good one!"
Ed Price: "Good article. Short and sweet."

Guru Award Wiki and Portals Technical Guru - May 2014  

Gold Award Winner

XAML guyTechNet Guru Competition: Judge System ExplanationGO: "No one could do it beter than you Pete! Thanks!"
Richard Mueller: "Excellent explanation of the judging system. Perhaps could use a See Also section."
Ed Price: "Good quote from Shanky in the comments, "Awesome....Kudos to your for your beautiful work" -- Great job!"
NN: "Very good article. It may also benefit from See Also section"

Silver Award Winner

Payman BiukaghazadehTechNet Wiki Persian CouncilGO: "Go Persion GOOO!"
Richard Mueller: "The Persian Council is an excellent idea. The link to "How to Write an Article" should be in a See Also section, along with other articles."
NN: "Great article, missing a link to other portals and councils pages"
Ed Price: "Thank you to Payman and the Persian community for jumping in! The Wiki is warm!"

Bronze Award Winner

Durval RamosWiki: Best Practices for building TechNet Wiki PortalsEd Price: "Fantastic job from Durval on helping us standardize the portals!"
NN: "Good article, but unfortunately a bit hard to read and understand due to bad grammar. "
Richard Mueller: "Excellent and important topic. Grammar still needs work. I like the links and See Also."

Guru Award Windows Phone and Windows Store Apps Technical Guru - May 2014  

Gold Award Winner

Sara SilvaAuthentication using Facebook, Google and Microsoft account in WP8.0 App (MVVM)Ed Price: "Great article! Great code formatting and good use of code comments for descriptions of what your code's doing! Could be improved by breaking out the code with more descriptions in the article (in addition to the code comments). Very in-depth article! "
Peter Laker: "An excellent article, pulling together all the bits you need to make this happen"

Silver Award Winner

SubramanyamRaju.BWindowsPhone Facebook Integration:How to post message/image to FaceBook Fan Page(C#-XAML)Ed Price: "Good topic! Code blocks would help with the formatting. Good job on this article!"
Peter Laker: "Love this, very useful to many I'm sure, thanks!"

Bronze Award Winner

Saad MahmoodCreating a custom control in Expression Blend with Custom Properties (WindowsPhone& Store)Ed Price: "This has a good mix of descriptions and clarity! The images help a lot!"
Peter Laker: "A nice introduction to our beloved Blend. Great work!"

Guru Award Windows Presentation Foundation (WPF) Technical Guru - May 2014  

Gold Award Winner

Magnus (MM8)WPF/MVVM: Merging Cells In a ListViewKJ: "Ah the collectionViewSource -- never used it myself but this looks like a good reference article if I ever needed to..."
GO: "Thank you!"
Ed Price: "Great formatting and good descriptions. Short and sweet! Another fantastic entry from Magnus!"
Peter Laker: "Thank you again Magnus"

Guru Award Windows Server Technical Guru - May 2014  

Gold Award Winner

Mr XHow to implement User Activity Recording for AD-Integrated Critical Servers by combining the use of Group Policy, Powershell and OrchestratorPhilippe Levesque: "Really good information and detailed step."
JH: "brilliant, love how it combines different technologies to achieve a solution, clearly written and well illustrated."
JM: "Another excellent article, thanks again for your many great contributions"
Richard Mueller: "Very creative solution. Great to have such detailed steps and images."
GO: "I like the conclusion. Thanks"

Silver Award Winner

Mr XHow Domain Controllers are located in WindowsGO: "Super article Mr X! Merci!"
JM: "Yet again, excellent article."
Richard Mueller: "Good documentation. An explanation of how the priorities and weights are determined would help. A See Also section would also help."
Philippe Levesque: "Good "In deep" information. Good to know to help diagnose computer problem in AD's site."
JH: "another good article, great diagrams. Some repetition but it does help clarify a complex issue. "

Bronze Award Winner

Mahdi TehraniDetailed Concepts:Secure Channel ExplainedJH: "great article. This fills an important gap in this content space. Editing is a little rough, but diagrams and explanations are clear."
JM: "This is a very good article, however you need to provide more detail in the section on how to fix a broken Channel."
Richard Mueller: "Excellent topic. Grammar needs work. Good images. Could use a See Also section."
Philippe Levesque: "Really good explanation of the secure's channel, I like the debugging step included ! "
GO: "Thanks for this, not everybody know about secure channel."

As mentioned above, runners up and their judge feedback were removed from this forum post, to fit into the forum's 60,000 character limit.

 

A great big thank you to EVERYONE who contributed an article to last month's competition.

Hopefully we will see you ALL again in this month's listings?

As mentioned above, runners up and comments were removed from this post, to fit into the forum's 60,000 character limit.

You will find the complete post, comments and feedback on the main post.

Please join the discussion, add a comment, or suggest future categories.

If you have not yet contributed an article for this month, and you think you can write a more useful, clever, or better produced wiki article than the winners above, here's your chance! :D

More about the TechNet Guru Awards:



#PEJL

Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to the one and onlyTechNet Wiki, for future generations to benefit from! You'll never get archived again!

If you are a member of any user groups, please make sure you list them in the Microsoft User Groups Portal. Microsoft are trying to help promote your groups, and collating them here is the first step.

Creating VS 2008 Report from Excel view

$
0
0

Hi

I have the following fields in a database: Will supply once my account is verified

I need to create a report in Visual Studio 2008 that looks like this excel example.Will supply once my account is verified


I have very limited knowledge of visual and only build easy reports.  each farm must have its own page containing this information.

Thanks

Viewing all 774 articles
Browse latest View live


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