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

How to get period date of for a given month from a given date in mdx for SSRS report (mm/dd/yyyy)

$
0
0
I have a situation,  where i need to write expression Period to date(PTD). i want to know how to get the period date. i want you to help in writing Period date or else is there any function to get period date for a given date(the  date is given from the parameter dynamically) in MDX for SSRS report

ram


SSRS Matrix with customized column

$
0
0

I need to create a report in SSRS 2008. it's in the matrix format, but instead of normal columns that grows to the right, they want something like stepped rows only for column
Something like this:

    col1
        col2
            col3
row1
row2
row3

instead of the standard matrix

    col1 col2 col3
row1
row2
row3

Can anyone suggest to me how to do this?

Thanks!

EDIT: I include an url that hopefully help to clarify things a bit. I basically need to create a report in SSRS that resemble this below:
(sorry, unable to include image yet since I'm a new member)

http://imageshack.com/a/img633/7375/JB1wPE.jpg



Multiselect drop down causing subscription issue

$
0
0

I am trying to create a subscription for a report with a very large multi-select drop down - about 1500 drop down items equaling over 13,000 characters.  When I only select a few of the options from the drop down I am able to create the SSRS subscription just fine.  However when I select all, I get the following error:

"Operation is not valid due to the current state of the object."

Here is the error I sometimes get in the log file:
ui!ReportManager_0-1!a88!12/23/2014-10:35:22:: e ERROR: System.InvalidOperationException: Operation is not valid due to the current state of the object.
   at System.Web.HttpRequest.FillInFormCollection()
   at System.Web.HttpRequest.get_Form()
   at System.Web.HttpRequest.get_HasForm()
   at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
   at System.Web.UI.Page.DeterminePostBackMode()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
library!ReportServer_0-2!61c!12/23/2014-10:35:22:: i INFO: Call to GetSystemPermissionsAction().
ui!ReportManager_0-1!a88!12/23/2014-10:35:22:: e ERROR: HTTP status code --> 500
-------Details--------
System.InvalidOperationException: Operation is not valid due to the current state of the object.

   at System.Web.HttpRequest.FillInFormCollection()

   at System.Web.HttpRequest.get_Form()

   at System.Web.HttpRequest.get_HasForm()

   at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)

   at System.Web.UI.Page.DeterminePostBackMode()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
library!ReportServer_0-2!61c!12/23/2014-10:35:22:: i INFO: Call to GetSystemPropertiesAction().
ui!ReportManager_0-1!a88!12/23/2014-10:35:22:: e ERROR: System.Threading.ThreadAbortException: Thread was being aborted.
   at System.Threading.Thread.AbortInternal()
   at System.Threading.Thread.Abort(Object stateInfo)
   at System.Web.HttpResponse.End()
   at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)

Related fixes regarding this error can be found in these MS posts:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/cb6ede72-6ed1-4379-9d3c-847c11b75b32/report-manager-operation-cannot-run-due-to-current-state-of-the-object?forum=sqlreportingservices
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/c9d4431a-0d71-4782-8f38-4fb4d5b7a829/ssrs-operation-is-not-valid-due-to-the-current-state-of-the-object?forum=sqlreportingservices

I added the following lines to my web.config file and tried several large numbers for the value:
<appSettings>
 <add key="aspnet:MaxHttpCollectionKeys" value="999000" />
</appSettings>

This did nothing to resolve the issue.

I would appreciated any feedback, or assistance with this issue.

Displaying Stored Procedure (SQL) in Report (INFORMATION_SCHEMA.ROUTINES.ROUTINE_DEFINITION)

$
0
0

We have processes that call numerous stored procedures.  We are trying to create a SSRS report for our IT department to use so they can easily lookup the stored procedure definition.  Some end users do not have access to SQL Server Management Studio.

The dataset query uses a System View... INFORMATION_SCHEMA.ROUTINES.  We are joining on theROUTINE_NAME.  When running the SQL, it works perfect.  We are able to get all the columns we need.  The primary column in the INFORMATION_SCHEMA.ROUTINES we need is ROUTINE_DEFINITION (the sql/text of the stored procedure).

In SSRS, we copy/paste the same SQL into the DataSet query.  When I test the query in the DataSet window (using red! button), it pulls back the data just fine.

I then drop all the queried columns on the report (see query below).  When I run the report all data is display except the ROUTINE_DEFINITION column.  Why is this?  Is it because it's SQL and SSRS won't display SQL content?  How can I get the ROUTINE_DEFINITION column data on the report?

Here is example query I'm using in the SSRS dataset:

SELECT SPECIFIC_CATALOG, SPECIFIC_SCHEMA, SPECIFIC_NAME,
 ROUTINE_TYPE, CREATED, LAST_ALTERED,ROUTINE_DEFINITION
FROM INFORMATION_SCHEMA.ROUTINES
WHERE ROUTINE_NAME = @StoredProcedureName

Andy Kreider | Principal Financial Group | Des Moines, IA, USA

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

$
0
0

 

I have reporting services 2005,  created a  report, if i run from server through IE, it is working,   i am getting this error msg

when i try to run from my local m/c

 

  • An error has occurred during report processing.

    • Cannot create a connection to data source 'SQL1DEV'.

      • Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

Error "The request failed with HTTP status 401: Unauthorized"

$
0
0

Dear All,

While running ssrs report using reportviewer I am getting following error as "The request failed with HTTP status 401: Unauthorized". I have also added required entry in registry and rebooted the server. But same issue appears. So, please help me to resolve this.

Thanks in advance

I Published a report on the report server but it's not showing in the internal application we use to access reports

$
0
0

Hi, 

I Published a report on the report server but it's not showing in the internal application we use to access reports. The name of the application we use is called MAMA and this application has access to all the reports on the SQL report server. My email is rogertenn@hotmail.com. my cell phone number is 201-888-7952. 

Thanks. 

Report Server Windows Service (MSSQLSERVER)

$
0
0

This error is being displayed in the eventlog every minute.  Any ideas on what it is referring too?  I reviewed some posts but most point to specific problems of report server not running, or receiving this error during a run.  We are receiving no errors at all.  However this is jamming up the event viewer to make troubleshooting other issues very diffucult.

 

Event Type: Error
Event Source: Report Server Windows Service (MSSQLSERVER)
Event Category: Management
Event ID: 107
Date:  3/23/2007
Time:  8:20:16 AM
User:  N/A
Computer: SPECTRUM_DB2B
Description:
Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


Cannot preview SSRS report in Visual Studio 2012 - assembly does not allow partially trusted callers

$
0
0

Hi,

I have an SSRS report that works fine in Visual Studio 2008 BIDS.  This report references a .Net assembly namely:

System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

I use this assembly in some simple Code functions in the report. e.g.

System.Web.HttpUtility.UrlEncode(inURL).ToString

I have converted the SSRS project to 2012 and am trying to preview the report.  However, I get an error relating to: "That assembly does not allow partially trusted callers".  If i deploy the rdl to my local SSRS it renders fine, but how do I fix Visual Studio to preview the report without error? This is highly annoying.

My Visual Studio version is:

Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.51641

SQL Server Reporting Services  
Microsoft SQL Server Reporting Services Designers
Version 11.0.3402.0

Any help is appreciated on this one.

Regards,

MrHH

SSRS 2008R2: One DataSet with six records and needed to show in two columns

$
0
0

HI Greetings,

I have  a Dataset A with 6 records.
Example,
Dataset A
Record1
Record2
Record3
Record4
Record5
Record6

I am in the need of having two columns at saperate places in rdl with 3 records each
For Example,

DataSet A
DataSet A
Record1Record4
Record2Record5
Record3Record6


Please provide the way to achieve this. i am using two different tablix with same 'dataSet A'


Thanks in Advance
Pari


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

$
0
0

Fala ae galera.

tive problemas ao publicar meu primeiro report, exibe o seguinte erro: The underlying connection was closed: An unexpected error occurred on a send.

Configurações IIS



Using WebForms ReportViewer in Winforms

$
0
0

Hi All,

We have a windows forms based application and that uses SSRS Report Viewer control to display reports.

This is causing the data transfer over the network to be high(in MBs) as it uses GDI for report display.  

Since the application runs on work locations that have network bandwidth of around 1Mbps, we would want to reduce the data size being transferred during report generation. [We want an alternative to image transfer]

Has someone tried using the SSRS report Viewer control for Web in winforms application? Since this uses HTML formatting to display reports, we believe,  the size of data transfer will be optimized.

Has anyone tried something of this sort? Any pointers on using the report viewer web control in the winform application will be really helpful.

Thanks in Advance,

Shreesha

remove # from lookup value in SSRS reports for sharepoint list

$
0
0

Hi,

I am using SQL 2008 and sharepoint 2007

I had created a report having Employee name,employee ID...

Employee name is lookupvalue in sharepoint list. In SSRS it shows "1;#EmpName"

How can I remove this 1;# from Employee name in SSRS reports.

 

ReportViewer control for WinForms - can I copy text?

$
0
0

I am using the ReportViewer control for Windows Forms, and I would like to be able let my users copy text from the report. Is there any way to configure this? At the moment, the text is not selectable.

Thanks,
Erick

SQL Server Reporting Services - Access denied issue

$
0
0

Hi All,

My Environment : SCCM 2012 R2, SQL 2012 SP2 standard and Windows Server 2012 [VM box].

while configuring  reporting services get error the reporting service fails to start using the reporting service account.

when i start the service on the SCCM server “SQL Server Reporting Services (MSSQLSERVER)” does not start using the service account “Domain\SCCM-SQL-SRSSVC”.  kindly advice 


SSRS - Deployment Issue

$
0
0

Hi Friends .

Need Help ... I do have an SSRS Report working perfectly on Server S1 . with environment as SSRS 2008 R2

Recently it was upgraded to SQL Server SSRS  2014  on server S2.

When i Open the Report file  R1.RDLC  in BIDS .

After working on the report I do the deployment of the Report R1. In the report R1 Properties , my New Server S2 is spelled correctly in the Deployment Property.

So what the Issue is happening that sometimes my Report R1.Rdlc file gets  deployed on Old Server S1 :(

The IP of both the Server S1 & S2 are different but the Names are Same  but still my Report gets deployed on Old server as well as well on new Server .

So what we did . We Stopped the reporting Services as well IIS On Server S1. with that it is running/Deploying correctly on server S2, but still this is not the solution . we need to restart our services on Server S1 Today .

Please help why the report sometimes gets deploy on Old server also

Thanks

Rakesh

Change cell color if MAX

$
0
0

Hello,

i want to find the max value in my report column and change the background color of it using field expression.
Thanks in Advance

copying text from pdf, "square" characters

$
0
0
Using SQL 2005 standard edition.

I have an issue with pdf generated reports. When copying text from the pdf (from a cell in a table row) the characters are just pasted as "squares" into notepad\word etc. Each character is just a small square. I am using Arial font and not doing anything outside of the norm. This is also an inconsistent problem, it doesnt happen on all cells\tables but only on particular ones. Could it be data specific?

Anyone come across this before?

Problem with diacritics when export in Acrobat(PDF)

$
0
0

Hello,

I use reporting service from Sql Server 2008 R2 and I have a problem when I export in Acrobat(PDF) format. All the 'ș' and 'ț' are after export in pdf just a square.

Can you please help me. Thanks.

Hebrew texts on PDF file that created from SSRS

$
0
0

I'm using SSRS 2008 R2 to create reports.

When I render the report, and then export it to PDF file - I can't find any hebrew characters in the file using Ctrl+F.

Numbers and English characters are found nicely.

Also, when I copy any Hebrew from the exported file and paste it in, eg, Notepad - I get􀊺􀊥􀊬􀊥􀊲􀊴 instead of text

Viewing all 10045 articles
Browse latest View live


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