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

SSRS2014 - Retrieve parameters for a report?

$
0
0

Is there a SSRS SOAP call that I can use to retrieve the parameters for a given report?

thanks

scott


SSRS2014 auditing of admin tasks?

$
0
0

Does SSRS audit any of the following? 

Role creation / modification / deletion

Policy creation / modification / deletion

Shared schedule creation / modification / deletion

Report creation

Report modification

Report deletion

If so where can I find the results for these operations?

thanks

Subscription Log Errors

$
0
0

This question has already been asked a couple of times with no answers posted, so hopefully someone has actually solved this but just not posted. When trying both email and file subscriptions with SSRS 2005 they fail with the log showing the following:

<Header>
  <Product>Microsoft SQL Server Reporting Services Version 9.00.2047.00</Product>
  <Locale>en-US</Locale>
  <TimeZone>GMT Standard Time</TimeZone>
  <Path>C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles\ReportServerWebApp__06_02_2006_23_06_03.log</Path>
  <SystemName>SERVER03</SystemName>
  <OSName>Microsoft Windows NT 5.2.3790 Service Pack 1</OSName>
  <OSVersion>5.2.3790.65536</OSVersion>
</Header>
w3wp!extensionfactory!6!6/2/2006-23:06:03:: w WARN: The extension Report Server Email does not have a LocalizedNameAttribute.
w3wp!extensionfactory!6!6/2/2006-23:06:03:: w WARN: The extension Report Server FileShare does not have a LocalizedNameAttribute.

Anyone have any ideas/answers? Thanks!

NOT IN affecting output

$
0
0
Hello

I have a fairly simple script, but one field (person_name) has some test users' names (e.g. 'John Smith') in that I want to exclude from a report I am creating. The field also has some null values, which I want to keep in the report.

I have put in:

AND person_name NOT IN ('john smith', 'sally brown') etc.

This removes the names from the report but, for some reason, it has also removed the NULL values from person_name. As mentioned, I want to keep the NULL values in.

My question is, is there a simple reason why NULL has vanished from the report as soon as I start blocking certain names?

I am rather puzzled by this and any pointers would be appreciated.

Thanks.

Setup Date parameter in SSRS

$
0
0

Hi Guys,

I have an SSRS date parameter that i need to configure or set up to
every 26th of the month i need to set this as the last day or cut off date then the succeding days will be the next mmonth..

example:
8/26/2013--'Aug-2013' cut off date

8/27/2013- start date of the month but i need to format this as 'Sep-2013'

Thanks.

JOV

Question on hiddden account ?

$
0
0

Hi I have never used hidden account concept until we were asked for one recently. So tried to check only with no much info.

We have a request from one of our customer to grant access to a hidden system account to their SQL database.

The hidden account is the service account of their application with a dollar sign at the last. Example: xxx\xxxxxxx$

I can only add it through a script and wont find it in  domain. So what is this about ? What are the advantages using a hidden system account.

Thanks

Drill through reports are not working fine in share point server

$
0
0

I Have a master report with four parameters and child report with two parameters

I deployed these two reports in share point server , my scenario is i am navigating from my parent report to child report using action (Drill Through Report Concept)

First i clicked on parent report it will ask select parameters , i have selected all parameter and click on apply in share point it will display the parent report content .

In parent report i have link to navigate child report . if i click the link it will redirect to child report and displays the child report content perfectly. upto this step every thing working fine now problem is comes to picture

I have back to in my child report when i click the that button it redirects from child to parent

But earlier selected parameters values are lossed and the parent report again asked for me to select parameters

Can you please explain me because we have migratiojn from ssrs report manager to share point .

Drill through actions link when deployed to Share point.

$
0
0

Hi,

We are migration all our SSRS reports from Native SSRS mode to  Share point integrated mode.

we noticed that many of the report has drill through action which are using some dynamic links since the sub reports are not in same folder.

here is the sample action :

="javascript:void(window.open('" & Globals!ReportServerUrl & "/Pages/ReportViewer.aspx?/Production/Itero+Case+History&rs:Command=Render&rc:parameters=false&CBCaseID=" & Fields!CBCaseID.Value & "','_blank'))"

Now how can i modify this link in the report when we deploy this RDL to share point. this link is not working it is saying that the link does not exist.

Can any help me in providing the right expression for Action.


Background colour expression brings up a surprising result

$
0
0

I have a report where I want a cell colour to change if a duplicate value appears. I have used this expression for Background Colour:

IIF(Previous(Fields!CustomerSurname.Value) = Fields!CustomerSurname.Value, "Red", Fields!CustomerSurname.Value)

This works fine but if the customer surname is 'Brown' or 'Grey' then the cell colour matches the colour of the surname, eg the surname 'Brown' creates a brown cell background, not red. This doesn't happen with other surnames, eg ones that are not the names of colours...

Any tips / guidance on how to avoid this would be appreciated - thanks.

Hyper Link Exported to Excel - Unable to open in New window

$
0
0

Hello Every1,

My Greetings for the day!!!

I have created a SSRS Report in SQL Server 2012.

There are many columns in the report. But the last column is a hyperlink.

I have applied the following in code in Action properties -

="javascript:void(window.open('" & Fields!DataURL.Value & "','_blank'))"

The above code is working fine, when I deploy the report in Sharepoint and click on the link. The link gets open in new window.

However, When I export the same report to EXCEL and then click the link. It is not getting redirected.

Please provide some solution.

Regards,

Hiren Parikh


Hiren Parikh

Error when loading SQL server management studio and SSRS reports: System.TypeInitializationException: The type initializer for 'Gdip' threw an exception.

$
0
0

I get the following exception when loading opening connections in SQL Server Management studio. Not sure what caused this. The server on which SQL server 2008 R2 v10.50.4000 running is Windows 2003 server SP2.

Anything I can do to fix the issue..

Couple of suggestions i have come across are installing the VC++ 2010 redistrib package and

installing the GDI+ .

Please suggest. Exception details in the logs are as follows..:

------Details--------

System.TypeInitializationException: The type initializer for 'System.Drawing.ToolboxBitmapAttribute' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Gdip' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'gdiplus.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

 

   at System.Drawing.SafeNativeMethods.Gdip.GdiplusStartup(IntPtr& token, StartupInput& input, StartupOutput& output)

 

   at System.Drawing.SafeNativeMethods.Gdip.Initialize()

 

   at System.Drawing.SafeNativeMethods.Gdip..cctor()

 

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

 

   at System.Drawing.SafeNativeMethods.Gdip.GdipCreateBitmapFromStream(IStream stream, IntPtr& bitmap)

 

   at System.Drawing.Bitmap..ctor(Stream stream)

 

   at System.Drawing.ToolboxBitmapAttribute..cctor()

 

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

 

   at System.Reflection.CustomAttribute._CreateCaObject(Void* pModule, Void* pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)

 

   at System.Reflection.CustomAttribute.CreateCaObject(Module module, RuntimeMethodHandle ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)

 

   at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes)

 

   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)

 

   at System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit)

 

   at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetAttributes(Type type)

 

   at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetAttributes()

 

   at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes()

 

   at System.ComponentModel.TypeDescriptor.GetAttributes(Type componentType)

 

   at System.Web.UI.ViewStateModeByIdAttribute.IsEnabled(Type type)

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

   at System.Web.UI.Control.SaveViewStateRecursive()

 

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

 

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

ui!ReportManager_0-1!a60!02/26/2015-09:06:51:: 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()


SSRS 2014 Report path as report parameter?

$
0
0

Is it possible to pass the SSRS report path as a report parameter?  This might be helpful in the case of linked reports so you can determine the execution context of the current report.

scott

Report Builder 3.0 cannot to connect to Report server

$
0
0

SQL Server is 2008 R2.

When trying to connect through IE I get a login prompt. 

When trying to connect through Report Builder I get the standard connection failed popup.

Have installed same components on an identical machine and it all worked fine.

I'm missing something somewhere, any help appreciated.

Limit values shown in Parameter based on current week

$
0
0

We have a requirement wherein a parameter can be chosen depending on the current week number.

For example, today is Feb 3, 2015 (WEEK NUMBER 6), the parameter dropdown should only show

Week 1

Week 2

Week 3

Week 4

Week 5

Upon choosing a specific week, i.e. Week 2, SSRS report will show data where Created By matches the dates in Week 2 which is from January 4, 2015 to January 10, 2015 (SUNDAY is the first day week)


----------------------- Sharepoint Newbie

Printing cropped to A4 height when using Folio paper size 13' height

$
0
0

Hi,

I have problem dealing with printing with Folio (8.5 x 13inch) size paper.

When I print my report, my printer cropped the report to an A4 height instead of Folio's paper height which is 13 inch.

I already set paper size to 8.5 x 13 inch in my rdlc's report properties without margins (0 margins). I also set width and height of my report body to same size. My rdlc has no header or footer.

I tried using build in paper size from printer properties and I also tried creating new paper size from server printer properties, but the result always the same. It cropping the bottom side of my report to an A4 height. Same result with different printers. I did change paper size in printer preference window before hitting OK button in print dialog.

Any suggestion?



NB: I'm using visual studio 2010 for this rdlc in my c# application

Role-Based Security In SQL Server Reporting Services

$
0
0
Hi

I have created Reports,

Now I need to assign Role-Based Security, ie like some particular clients can access only some particular report.

http://localhost/reports/Pages/Folder.aspx

Here in the above link i can see the property tool bar where i need to set the user assignement roles.

could any one please help me out how to set different login assigned to a set of report.

Or is there any tutor links for this.

Thanks a lot.

Shan

SSRS Execution Account cannot be used with Report Builder

$
0
0

Running SQL Server 2012 SP2, I have specified an Execution Account in Reporting Services Configuration Manager as described here: http://msdn.microsoft.com/en-us/library/ms156302(v=sql.110).aspx

The article states: "You can specify Integrated Security=SSPI if the database server supports Windows integrated security and the account used for unattended report processing has permission to read the database." I have created a data source using the Report Manager Web interface with connection string: "Data Source=<server>;Initial Catalog=<database>;Integrated Security=SSPI" and "Connect using: Credentials are not required" option.

The Execution Account is a domain user account with db_owner membership on the database in question. When I "Test Connection" in Report Manager, the connection is created successfully.

However, when I attempt to create a new dataset using this data source in Report Builder, I am unable to connect to the data source: "You have specified integrated security or credentials in the connection string for the data source, but the data source is configured to use a different credential type. To use the values in the connection string, you must configure the unattended report processing account for the report server."

If I change the "connect using" option for the data source to "Windows integrated security" I can successfully create a new dataset and report in Report Builder. After saving the report, I reconfigure the data source for "Credentials are not required" and I am able to successfully run the report using the Execution Account.

Is this a known limitation? The Report Builder cannot be used with an unattended Execution Account configured?

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.

 

DateDiff Help (Need time difference FROM Time 1 TO Time 2 - one direction)

$
0
0

I hope I am putting this in the right section. This is my first post. Thank you all ahead of time for your help.

I am new to both SQL and Report Builder so please bear with me and thank you ahead of time.

I need to find the time difference (in minutes) between Time 1 and Time 2. I've figured out the basics in how to do this but I need the logic to work in ONE DIRECTION. Meaning I need the statement to find the difference STARTING FROM TIME 1 and then ENDING WITH TIME 2. I need the statement to always assume that Time 1 is FIRST and that Time 2 is LAST.

Here's an example of my results now with a basic DateDiff statement.

Time 1 | Time 2 | Time Difference (in minutes)

11:30 | 1/15/2015 11:50:00 AM | 20

23:50 | 1/15/2015 12:00:00 AM | 1430

23:45 | 1/15/2014 2:05:00 AM | 1300

Please note that Time 1 does NOT have a date at all and came over from its table as a simple 4 digit string so I had to convert it to datetime format using a concatenate statement. If it DID have a date then this probably wouldn't be a problem.

Thoughts?

Thanks.



Schema Compare, Encryption Key error message

$
0
0

Hi,  I'm doing a schema compare and I'm getting this error message:

"An error was received from SQL Server while attempting to reverse engineer elements of type Microsoft.Data.Schema.Sql.SchemaModel.ISql100DatabaseEncryptionKey: The user does not have permission to perform this action."

This is vs 2010 premium against 2 ms sql 2008 databases.   A person who is dbo against the 2 databases doesn't get this message.  I am dbo against 1 db and read only against the other.   I don't even think we have any crypto stuff in these databases.  This seems like it's some kind prep action because I "not" include'd all database objects from one schema compare and still got this message.  All I want is the net change code for the functions, procs, and tables.   Is there any way of getting that short of making me db owner on the other database (I'm a developer and not supposed to have write access to production)?

Viewing all 10045 articles
Browse latest View live


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