Quantcast
Viewing all 10045 articles
Browse latest View live

How to display the dataset field values in my ssrs bar chart report ?

HI i have a Bar Chart report in that i want to display the dataset one  field values in my x-axis of my ssrs report? so how should i display those values into my bar chart report?

consider i want to display the Every Qtrly details in my x-axis so how should i ?

can you pls help me out for this 


ReportingWebService.svc could not be activated.

I have configured SQL 2012 SSRS SP1 on my sharepoint 2013 farm.

In my central admin when I click on manage service applications -> SSRS -> System settings. 

I get an error

The requested service, 'http:// sp2013vm15 :32843/9afcb121abc341479186720db5257886/ReportingWebService.svc' could not be activated. See the server's diagnostic trace logs for more information.

I have already seen this link

http: // prologika.com/CS/blogs/blog/archive/2012/03/15/can-t-activate-reporting-services-service-in-sharepoint.aspx

but this does not help because for my the SSRS web application pool already has 32 bit application as off.

I can see this in the ULS event log


The requested service, 'http: // sp2013vm15:32843/9afcb121abc341479186720db5257886/ReportServiceBackgroundProcessing.svc' could not be activated. See the server's diagnostic trace logs for more information.    Server stack trace:      at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)     at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)     at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)     at System.ServiceModel.Channels.Secu...1f3d349c-d4ee-e0f4-5fcb-8ad128800d29
...rityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)     at System.ServiceModel.Dispatcher.RequestChannelBinder.Send(Message message, TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)  ...1f3d349c-d4ee-e0f4-5fcb-8ad128800d29
...   at Microsoft.ReportingServices.ServiceContract.IReportServiceBackgroundProcessing.RecycleAppDomain()     at Microsoft.ReportingServices.SharePoint.SharedService.Client.ReportingWebServiceApplicationProxy.ExecuteRecycleAppDomain(Uri endpointAddress)1f3d349c-d4ee-e0f4-5fcb-8ad128800d29
(ExecuteWcfOperation:http://schemas.microsoft.com/sqlserver/reporting/2011/06/01/ReportServer/BackgroundProcessing/RecycleAppDomain). Execution Time=29458.76941f3d349c-d4ee-e0f4-5fcb-8ad128800d29




[rsInvalidFormatString] The Format Value for the chart 'Chart1' in not valid

Hi Friends,

SSRS 2012, I'm getting this warning when running the report, the build is clean and report runs just fine.I even dropped the chart and renamed it but still getting the warning. what is the cause? have you seen this before? how to clean up the warning?

Thanks in advance,

Parick


Patrick Alexander

Unable to create Database in Reporting Service Configuration

Hi,

We have SQL Server 2012 in our environment. I want to enable monitor report in Lync 2013. i have separate Lync sql instance.

I am trying to configure new database in Reporting Service Configuration manager in report Server database Configuration wizard.

while testing connection getting below error.

could not connect to server:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.(provider:Named Pipes provider,error:40-could not open a connection to SQL Server)

kindly help to resolve issue.

Embedded images in SSRS place holder


Is it possible to display embedded images in a ssrs place holder

Many Thanks

Chandra


How to provide access to different reports inside the folders for users based on their team names

How to provide access for users  to different reports inside the folders based on their team names ?

We have 3000 users who has access to all the 100 reports in different folders. I need to authorize the users to view the reports based on the teams they belong to. 

My question is :

Where can I set up which reports will be viewable to which team ?

How to authorize the users to view only those reports which are associated with respective teams.

Thanks,Sanmay

Parameter change does not refresh default values of dependent parameters

Hi,

I have a problem with my dependent multi-value parameters in my SSRS 2008 SP1 reports. The default values for the parameters are correctly loaded when the report is opened, but when a primary parameter value is changed the default values for the dependent parameters are not set. Let me describe this problem further more with an example:

Parameter 1: Region
Parameter 2: Property

Both parameters are filled each by a query to the database where the query for Property has the selected values of Region in its where clause.

Region: select Region_ID, Region_Key from Region order by SortOrder
Property: select Property_ID, Property_Key from Property where Region_ID in (@Region) order by Property_Key

For both parameters I have set the Default Values to the same dataset as selected for Available Values.

1. Now, when the report is opened, all parameters are filled with the correct values and set to the correct default values (all selected).
2. When I change the Region parameter to only one of the 4 available values the Property parameter is refreshed and filled with the correct values (for that one region) and set to the correct default values (all selected).
3. The problem occurs when I change the Region Parameter back to "(Select All)". The multi-value parameter drop-down-list Property is filled with the correct values for all 4 regions but the default values are not selected. Only those properties are (or better: remain) selected, which were selected before when only one region was selected.

Can you please help me with this problem? Setting the Property parameter to "Always refresh" under the "Advanced" properties does not solve the problem. It occurs both in the Business Intelligence Studio and then browsing the report through the web published on SSRS.

Regards,
Alex

Remove header items while exporting reports to CSV or Excel

Hi!

I am working on the reporting services 2005.

I have reports which displays the important parameters selected while running the report into the report header while the report is generated.

But while exporting into the EXCEL or CSV, these header stuffs completely mess the format of report.

Is there any way not to export the header and footer stuffs while exporting in any format please?

 


Do not feel regret.... just try to improve..... its far better

Disable directory browse for /Reports virtual app in SSRS 2014?

How do you disable directory browse for /Reports in SSRS 2014?  Currently the user can  http://devreports.foo.com/ReportServer/ and view all virtual folders.  Need to disable this.  Using FormsAuth / CustomAuth.

thanks

scott

Data Driven Subscription Missing in Reporting Services Manager under Subcriptions

I am attempting to create my first data driven subscription.

However, the 'New Data-driven Subscription'button is missing from my management view under Subscriptions for the report I am using.

I have verified that I have the 'Content Manager' and 'System Administrator' roles associated with my login.  Also, I am running on the necessary Enterprise Edition.

Microsoft SQL Server 2012 Enterprise Edition (64-bit) on Windows NT 6.2 

Please assist me in troubleshooting this matter as this is the only method I'm aware of for accessing data driven subscriptions.

Report Viewer output - customizing

Hello. I was wondering...

I use reports in simple aspx page, in local processing mode (.RDLC reports).

I want to customize output of report viewer control, so that I can put textboxes into report.

Currently, when you have a table in report bound to some data source,
report table cell is wrapped into some TD and DIV elements, with some class attributes 
with cryptic values. For example:


<td class="Aee342afe97834395b087ea29bc3c321326cl" style="height: 6.35mm;">
<div class="Aee342afe97834395b087ea29bc3c321326">SomeData
</div>
</td>


I got an idea, what If I override this somehow, and replace this DIV element with
<INPUT TYPE="textbox" ...>.

I succeded, by overriding Render method of my aspx page. 
In Render method, i made regex matching of this div elements on HtmlTextWriter output, something like this:

string pattern = "DIV\\s*class=\"([^\\>]*)\"\\>([^\\<]*)</DIV\\>";

With this I can do some pretty interesting things.


1. My first try was to replace HtmlTextWriter output, so TD and DIV elements from above would look something like this:

<td class="Aee342afe97834395b087ea29bc3c321326cl" style="height: 6.35mm;">
<input type="textbox" class="updatable" tableName="Customers" attibuteName="CustomerName" id="id1234" >SomeData
</div>
</td>

After this, i have a textboxes on the client side, and they have attributes (tableName, attributeName, id) which I
can use to make server calls from javascript and update data in database.

For example, I call some Update.aspx page with params, for example:

Update.aspx?updateFlag=1&tableName=Customers&attributeName=CustomerName&id=1234&value=customer123

With this, I actually succeded to update the database table.
But, problem is with ajax. If I click refresh in report viewer control, it uses some ajax calls and has some dynamic javascript.
This javascript methods expect specific length of http response, but because I changed http response in server-side Render method,
this won't work. Javascript errors are thrown, when ajax response is parsed.

So I decided, I won't change default http response in Render method in this way.

2. My second try was to make changes clientside.
Idea: What if I generate only javascript in render method, write it to response, and made DIVs into <INPUT type=textbox> on the client side?

I rendered following method to the client:

 function GetXData() { 
this.tableName='Customers';
this.attributeNames=['CustomerId', 'ContactName', 'City', 'Country'];
this.idAttributeName='CustomerId';
this.rowIds=['Aee342afe97834395b087ea29bc3c32139','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321326'];
this.colIds=['Aee342afe97834395b087ea29bc3c32139','Aee342afe97834395b087ea29bc3c321313','Aee342afe97834395b087ea29bc3c321317','Aee342afe97834395b087ea29bc3c321321','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338','Aee342afe97834395b087ea29bc3c321326','Aee342afe97834395b087ea29bc3c321330','Aee342afe97834395b087ea29bc3c321334','Aee342afe97834395b087ea29bc3c321338']; return this; 
 }

This is all information that I need to change my DIVs into INPUT tags. 

I have rowIds (so I can update matching rows in database), i have table name, i have
name of column that is primary key, and I have columnIds, which uniquely identifies every cell in report table.

I can also bind some change method for every cell of report table. For example:

    var xData = GetXData();

            $.each(xData.colIds, function (i, val) {
               
//gets DIVs inner html
                var text = $("." + val)[0].innerHTML;               
               
//replace DIV with INPUT
                $("." + val).replaceWith("<input type='textbox' value='"+text+"'/>");

//HERE GOES SOME CODE TO BIND ONCHANGE EVENT TO INPUT TAG, SO I CAN MAKE AJAX CALLS TO UPDATE DATABASE WITH INPUT DATA
                
            });

But, problem is that DIV class attribute values of Report Table repeat. After all, these are class attributes.
Because of this, i cannot use class of DIVs as unique identifier of cells.

I stopped here.


3. Now, what do I do next?

I could rewrite DIV class values in Render method, so they could be unique. I will probably do that. 
Then i'll have unique mapping of reports datatable cell with field in database.

But all this chemicals that I do, can they be avoided?
Is there a better way for this.

You're maybe wondering why would I want to do any of this?
If I could make this, I would have fast data entry application. 
I could use standard report desiging advantages, and have a fast update of data.
Think about it, report has everything we need - datasources made by select queries (which tells us what to update),
and advanced UI design.

If we can get 
         <input type='textbox' tableName="xx" attributeName="yy" primaryKeyId="zz"> 
for every textbox in report (which is currently rendered as DIV), 
and some javascript functions that make ajax calls to update data on server/database
we would be very powerful.

Can this be done by Rendering Extensions or something? Has anyone done someting like this? Opensource solution?

(I'm not considering security and other aspects here. Insert and delete of data is also questionable).


Please, feel free to comment.


Find Run time cell address values in SSRS 2008

I need to find out each and every run time cell addresses value of the grouped field tablix in SSRS(SQL Server Reporting) 2008. but it will not the ReportItems!CellName.Value. Its like a table array counting from 0 to n.need to find each run time address value set to generate a formula(statistical analysis).

I have 2 group columns and 3 group rows in a matrix table.How can i find these address values using if out of the box features or custom code level.

answer like:

Array(0)=take the value

Array(1)

Array(2)  etc....

Thanks!

Cascadian parameter #2 shouldn’t be enabled for selection until Parameter#1 is selected, but it is enabled.

Hi,

I created 2 Cascadian  parameters

Parameter #1  is State

Parameter #2 is Customer and Customer depended from State.

Parameter # 1 is pointing to the dataset which created with query, taken data from table. Parameter #2 is pointing on dataset created with SP.SP is working with parameter #1.

In the report the dependency is working and I can see parameter #2 displays customers based on selected States.

The problem is the both parameters enabled immediately, when I expect that parameter #2 will be disabled until parameter #1 is selected.

Could you please help to figure out how to resolve this issue?

Thank you

Parameter for current year and previous year

Hi all,

I currently have 2 reports where the query is the same except in the where clause I have it filtered to current year and previous year based on the List_Date. I would like to make this one report with a parameter of Current or Previous year.

Would I create 2 more datasets one for current and another for previous? I would think there is a easier way. Any help or direction would be great.  

Need report header static while scrolling the report contents and also need three column static while using horizontal scroll bar.

I need report header static while scrolling the report contents and also need three column static while using horizontal scroll bar.

I have report having 50 column so i need to make static header while scrolling top to bottom and also need first three column static while scrolling left to right.


SSRS 2008 - How to filter records from the many side base an specific criteria

I have a report that displays a summary of all the actions taken for specific project, I need to restrict those records based one of those options from the left side table.  If case 1 wasdenied it should not show in the report.  I need help with this query

Please Help me  Angie

Ex:

Project name

Actions

 

Case 1

Received

Process

Sent for Modifications

Received w/Modifications

Denied

Case 2

Received

Process

Sent for Modifications

Received w/Modifications

APPROVED

Case 3

Received

Process

Sent for Modifications

Received w/Modifications

Inactive

Project name

Actions

Case 1

Received


Angie

Highlight row in report?

I have a SSRS report which displays hundred of rows. I was wondering if there is anyway i can highlight the rows so that i can easily know on which row i am while accessing the report.

Any thoughts?


creativity..

SSRS Home page (/Reports) gives 401 error

Everything was working until I received an email from my clients this morning telling me it wasn't working. I don't think any changes were applied to the server, but who knows - there are lots of automated patches. In reviewing the logs, I can see the exceptions below. What's my order of operations to troubleshoot this problem? I'm assuming it's some silly security setting.

ui!ReportManager_0-1!16e4!03/25/2015-15:58:36:: i INFO: Registering with Software Usage Metrics Product:SQL Server 2012, Role:Microsoft SQL Server Reporting Services, RoleGuid:8cc0ac85-40f7-4886-9dab-021519800418
ui!ReportManager_0-1!16e4!03/25/2015-15:58:36:: e ERROR: Software Usage Metrics initialize failed
ui!ReportManager_0-1!29c!03/25/2015-15:58:41:: e ERROR: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()
   at Microsoft.ReportingServices.UI.Global.SecureAllAPI()
   at Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel()
   at Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object sender, EventArgs args)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnInit(EventArgs e)
   at System.Web.UI.Page.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
ui!ReportManager_0-1!29c!03/25/2015-15:58:44:: e ERROR: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()
   at Microsoft.ReportingServices.UI.Global.SecureAllAPI()
   at Microsoft.ReportingServices.UI.GlobalLinks.Control_Init(Object sender, EventArgs args)
ui!ReportManager_0-1!29c!03/25/2015-15:58:44:: e ERROR: HTTP status code --> 500
-------Details--------
System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()

   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)

   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod()

   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()

   at Microsoft.ReportingServices.UI.Global.SecureAllAPI()

   at Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel()

   at Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object sender, EventArgs args)

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at System.Web.UI.Control.OnInit(EventArgs e)

   at System.Web.UI.Page.OnInit(EventArgs e)

   at System.Web.UI.Control.InitRecursive(Control namingContainer)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
ui!ReportManager_0-1!29c!03/25/2015-15:58:46:: 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)
ui!ReportManager_0-1!1a88!03/25/2015-15:58:48:: e ERROR: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()
   at Microsoft.ReportingServices.UI.Global.SecureAllAPI()
   at Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel()
   at Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object sender, EventArgs args)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnInit(EventArgs e)
   at System.Web.UI.Page.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
ui!ReportManager_0-1!1a88!03/25/2015-15:58:50:: e ERROR: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()
   at Microsoft.ReportingServices.UI.Global.SecureAllAPI()
   at Microsoft.ReportingServices.UI.GlobalLinks.Control_Init(Object sender, EventArgs args)
ui!ReportManager_0-1!1a88!03/25/2015-15:58:50:: e ERROR: HTTP status code --> 500


Row Visibility in SSRS

I am using the Switch function in Reporting Services to determine the visibility of a row. It happens that I am using more that one column or field to test my expression like so:

=Switch(Parameters!View.Value = "Green" AND Fields!Tax.Value = "N",TRUE,Parameters!View.Value = "Current" AND Fields!PastVal.Value = 0 AND Fields!DatePay.Value = 0 AND Fields!Comment.Value = 0,True)

With the expression above, I want that if the first part is true, the row should be hidden likewise for the second part of the expression, I want to hid a row when all the conditions are met. But this not yielding the desired result. I equally tried with another expression like so:

=IIF(Parameters!View.Value = "Green" AND Fields!Tax.Value = N",False, IIF(Parameters!View.Value = "Current" AND Fields!PastVal.Value = 0 AND Fields!DatePay.Value = 0 AND Fields!Comment.Value = 0,True,False))

I anticipate you help.


Zionlite

How do I create a Data Source in SSRS Report Builder 3.0?

I am new to SQL Server 2012 Express Edition which I have installed and I have three AdventureWorks databases.

I am in Microsoft SQL Server Report Builder connected to report server http://davidlane-hp/ReportServer_SQLEXPRESS and trying to add a data source.

I right click Data Sources in the sidebar, click add data source, add a data source name, click next to Use a connection embedded in my report, click Build...

Data source: is Microsoft SQL Server SqlClient

Server name:  Is this supposed to be davidlane-hp?

Use Windows Authentication

Select or enter a database name.  I click the down arrow expecting a list of database names but I am not getting any database names appearing in a list.

I cannot get these data sources added, please help.

Regards

David Lane.

Viewing all 10045 articles
Browse latest View live


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