On my report the user enters a SSN parameter. I need to call custom code to Encrypt the value to match with the database value.
To display the SSN on the report I call custom code to Decrypt it.
Is this possible? Any other ideas?
THANKS!!!
Linda
On my report the user enters a SSN parameter. I need to call custom code to Encrypt the value to match with the database value.
To display the SSN on the report I call custom code to Decrypt it.
Is this possible? Any other ideas?
THANKS!!!
Linda
Hi,
I need to automate the backup of the encryption key of SSRS with Powershell. I tried wrapping the application rskymgmt with no success. Then I found out that you could do it with the WMI class as mention here: http://msdn.microsoft.com/en-us/library/ms155048(v=SQL.100).aspx#CommunityContent. How would I do that in Powershell, all my attempts have failed!
thx in advance.
I am using an SSIS script task to call a SSRS report with 2 parameters, and am getting the following error. I cannot work out why, as I am calling a different report the exact same way from a different SSIS package. The package is called from a 'master' SSIS package. The thing is, if I right-click on the reporting package - it works fine and it generates the report. But if it is called from the Master package then it fails with the error below.
What could be the cause of this? The code is the exact same for both of the report SSIS packages.
If I go to the report server, both reports have the same permissions as far as I can tell. Any ideas whats wrong? This is the line that falls over:
_parameters = rs.GetReportParameters(_reportName, _historyID, _forRendering, _values, _credentials);
So its not even getting to the code to generate the reports, its trying to get the parameters?
System.InvalidOperationException: Response is not well-formed XML. ---> System.Xml.XmlException: Root element is missing.
RS2005.ReportingService2005 rs; RE2005.ReportExecutionService rsExec; // Create a new proxy to the web service rs = new RS2005.ReportingService2005(); rsExec = new RE2005.ReportExecutionService(); // Authenticate to the Web service using Windows credentials rs.Credentials = System.Net.CredentialCache.DefaultCredentials; rsExec.Credentials = System.Net.CredentialCache.DefaultCredentials; rs.Url = reportServiceURL; rsExec.Url = reportServiceExecURL; string historyID = null; string deviceInfo = null; string format = "PDF"; Byte[] results; string encoding = String.Empty; string mimeType = String.Empty; string extension = String.Empty; RE2005.Warning[] warnings = null; string[] streamIDs = null; // Path of the Report - XLS, PDF etc. string fileName = Path.Combine(localpath, reportName ); // Path and Name of the report - Please note this is not the RDL file. string _reportName = ErrorReportPath; string _historyID = null; bool _forRendering = false; RS2005.ParameterValue[] _values = null; RS2005.DataSourceCredentials[] _credentials = null; RS2005.ReportParameter[] _parameters = null; try { _parameters = rs.GetReportParameters(_reportName, _historyID, _forRendering, _values, _credentials); RE2005.ExecutionInfo ei = rsExec.LoadReport(_reportName, historyID); RE2005.ParameterValue[] parameters = new RE2005.ParameterValue[2]; if (_parameters.Length > 0) { parameters[0] = new RE2005.ParameterValue(); parameters[0].Label = ""; parameters[0].Name = "FileKey"; parameters[0].Value = FileKey.ToString(); parameters[1] = new RE2005.ParameterValue(); parameters[1].Label = ""; parameters[1].Name = "TPAName"; parameters[1].Value = TPAName.ToString(); } rsExec.SetExecutionParameters(parameters, "en-us"); results = rsExec.Render(format, deviceInfo, out extension, out encoding, out mimeType, out warnings, out streamIDs); using (FileStream stream = File.OpenWrite(fileName)) { stream.Write(results, 0, results.Length); }
Hi All,
I have a Java Application which is Running on WebSpere Webserver
I have developed my Reports in SSRS 2008R2
Now i want these reports to be incorporated within my Java Application. How can i achieve this.
Also I have a Parameter in my Report USER_NAME, how can i pass this Parameter from Java Application, ex i login from Mike Account and his user_id is 10001 which i can get in my Appcode. This Code 10001 i should pass to my SSRS Parameter USER_NAME. Post this how can i map the recieved parameter from Java to USER_NAME parameter in my SSRS Report.
Also the default toolbar of ssrs, i.e Home, my settings, my subscriptions should not be exposed.
Any help is appreciated. Thanks in advance. thank you.
Thanks & Regards,
Manjunath C Bhat,
http://manjunathcbhat.blogspot.com
http://manjunathcbhat.wordpress.com
I have designed the matrix report(SSRS 2008) which has dynamic column, it grows based on the no of products in the table.
Database table structure looks like below.
Productname | AssetClass | Marketvalue |
Product1 | AEQ | 1000 |
Product1 | IEQ | 2000 |
Product1 | Prop | 3000 |
Product2 | AEQ | 1000 |
Product2 | IEQ | 2000 |
Product2 | Prop | 3000 |
Product3 | AEQ | 1000 |
Product3 | IEQ | 2000 |
Product3 | Prop | 3000 |
Product4 | AEQ | 1000 |
Product4 | IEQ | 2000 |
Product4 | Prop | 3000 |
The matrix report displays like below. Column grows based on no of products in the table. I have applied column grouping for Products and row grouping for assetclass.
Product1 | Product2 | Product3 | Product4 | |
AEQ | 1000 | 1000 | 1000 | 1000 |
IEQ | 2000 | 2000 | 2000 | 2000 |
Prop | 3000 | 3000 | 3000 | 3000 |
But I want to break the matrix columns to display 2 proudcts wise like below..
Product1 | Product2 | |
AEQ | 1000 | 1000 |
IEQ | 2000 | 2000 |
Prop | 3000 | 3000 |
Product3 | Product4 | |
AEQ | 1000 | 1000 |
IEQ | 2000 | 2000 |
Prop | 3000 | 3000 |
Is it possible to apply column break in matrix report?
Thanks,
Ramesh
Hello there,
spends 3 days of my life and to ask here seems to be my last chance.
I created an invoice (DECIMAL(10,2) on every stage)
for our company that should be used to pay the employees. I am working with:
- SQL Server 2008R2
- MS Reporting Services
I know that I could use subtotals or subreports,
but the style and body they wanted is really crazy.
So for my subtotals I went with
SUM(workingtime) OVER (PARTITION BY Week, Type_of_work) * (Amount_per_type_of_work)
It worked fine, but I had to make an seperate "Invoice Attachment" where I had to split
the amount of money to
SUM(workingtime) OVER (PARTITION BY Week, Type_of_work, Departments) * (Amount_per_type_of_work)
And that's where it was over...in some weeks I have got 1 Cent difference between
the original "Invoice and Invoice Attachment".
For my understanding I should get with every SUM OVER PARTITION at least the same
sum at the end.
Hi,
in chart can we set intervals for x axis as multiples of 5(0,5,25,125,625)....please reply me if it is possible
thanks
satish
u satish
hi
i have a Stored procedure and i am calling it in SSRS. i wanted to restric some valuse in a column.. how can i achive that..?
say there is a column "name" in that cloumn i want to stop the records where values in the name cloumn USA,UK,INDIA..etc.
ho can i do that...?
Thanks & Regards $@m
I have a very simple report developed in VS2012, viewing it on a form in a ReportViewer control.
I have set RepeatColumnHeaders of the Tablix to True, however when the report runs it does not repeat the column headers.
Kipp Woodard
Hello,
My test environment is a notebook : Windows 7 64-bit, SSRS 2012 64-bit, IE 9 64-bit. I am local administator.
My production envrionment is Windows 2008 R2 Standard 64-bit, SSRS 2012 64-bit. I belong to local administrators on this server.
I am able to view chart reports in IE 9 when report is deployed to the test environment. After deploying the same to the production environment, the browser only shows placeholders for pictures.
My account has access to the Temporary Internet Files folder in the production environment. I have been able to empty this folder directly.
Please help.
S
I have a report which has 3 groups and a detail row. (eg. Grp1, Grp2, Grp3, Det)
I am displaying summarized totals of Sum(DetTotal). In the cell next to the total I'm trying to display a value such as Grp1 - Grp2 - Grp3 - DetType, however all that is showing are the three hyphens.
I've tried placing them in a header row, but the result is the same with no values displayed.
How can I get these values to display?
Any suggestions are appreciated.
Never mind......lack of caffeine.
I was pulling nulls into the dataseet which caused the problem. Changed a Left Join to a Union and solved the problem.
Hello
At first ...Sorry for my not very well English
I Installed SQL Reporting services 2012 service with sharepoint 2013 ... and started it with succes
I followed the microsoft's procedure --> http://msdn.microsoft.com/fr-fr/library/b29d0f45-0068-4c84-bd7e-5b8a9cd1b538
After , I have notencountered any problems when I created the application <--- 3 databases created in my SQLSERVER instance
The problem occured when I tried to click on my ssrs application_name --> system settings
ERROR 500 Correlation ID: f6c5f49b-6ab0-4009-6f31-fd019ddc3ecc
This what I read in the log of sharepoint -->
01/14/2013 12:18:36.22 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request
(GET:http://vwaisql201202:22628/_admin/ReportServer/ReportingServicesSystemSettings.aspx?ID=5abbbf0d-e8dd-4e8e-93d6-eddc77225a9f)). Parent No
01/14/2013 12:18:36.22 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://vwaisql201202:22628/_admin/ReportServer/ReportingServicesSystemSettings.aspx?ID=5abbbf0d-e8dd-4e8e-93d6-eddc77225a9f) 52aff49b-4a3c-4009-0000-0b8857fffd73
01/14/2013 12:18:36.22 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request
(GET:http://vwaisql201202:22628/_admin/ReportServer/ReportingServicesSystemSettings.aspx?ID=5abbbf0d-e8dd-4e8e-93d6-eddc77225a9f)). Execution Time=1,4493 52aff49b-4a3c-4009-0000-0b8857fffd73
01/14/2013 12:18:36.22 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request
(GET:http://vwaisql201202:22628/_admin/ReportServer/ReportingServicesSystemSettings.aspx?ID=5abbbf0d-e8dd-4e8e-93d6-eddc77225a9f)). Parent No
01/14/2013 12:18:36.22 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://vwaisql201202:22628/_admin/ReportServer/ReportingServicesSystemSettings.aspx?ID=5abbbf0d-e8dd-4e8e-93d6-eddc77225a9f) 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.24 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.24 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress:
'http://vwaisql201202:32843/5abbbf0de8dd4e8e93d6eddc77225a9f/ReportingWebService.svc' Channel: 'Microsoft.ReportingServices.ServiceContract.IReportServiceManagement' Action: 'http://schemas.microsoft.com/sqlserver/reporting/2011/06/01/ReportServer/Management/GetSystemProperties'
MessageId: 'urn:uuid:15feb989-6b39-4f6e-a705-ee603fb1fbcc' 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation General 8nca Medium Application error
when access /_admin/ReportServer/ReportingServicesSystemSettings.aspx, Error=The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
timeout) 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation Runtime tkau Unexpected System.Net.WebException:
The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
timeout) 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation General ajlz0 High Getting
Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does
not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IIS 7.0 Erreur détaillée - 500.19 - Internal Server Error</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana,Arial... 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27* w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation General ajlz0 High ...,Helvetica,sans-serif;background:#CBE1EF;}
code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} .config_source code{font-size:.8em;color:#000000;} pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 40px;} ul.first,ol.first{margin-top:5px;}
fieldset{padding:0 15px 10px 15px;} .summary-container fieldset{padding-bottom:5px;margin-top:4px;} legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px;
border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; border-bottom:1px solid #969696;background:#E7ECF0;font-weight:b'. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server
Error. ... 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27* w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation General ajlz0 High ...
at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace ---
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.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, ... 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27* w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation General ajlz0 High ...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) at Microsoft.ReportingServices.ServiceContract.IReportServiceManagement.GetSystemProperties(ICollection`1
properties) at Microsoft.ReportingServices.SharePoint.S... 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27* w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation General ajlz0 High ...haredService.ProxyHelper.<>c__DisplayClass9.<GetSystemProperties>b__8(IReportServiceManagement
mchannel) at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.DoManagementChannelCall(Action`1 caller) at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.get_SystemProperties()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.LoadSettings() at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception
e... 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27* w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation General ajlz0 High ...)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27 w3wp.exe (0x0BEC) 0x05D8 SharePoint Foundation General aat87 Monitorable 52aff49b-4a3c-4009-0000-07155f7f0dee
Does anyonesee the problem ? Is that comming from security acces ? .. or IIS ?
Thank you very much for your help
Hello everybody!
We are developing a business application targeting a manufacturing industry segment. It is a hosted web-based solution with SQL Server 2012 as database and ASP.net vb.net as development environment (and stored procedures). We need a robust strategy for reporting integrated in the application. There are needs for a dash board incl KPI:s, printing and e-mailing of business documents as order confirmations and invoices and finally a set of pre-defined reports for statistics as order intake, invoicing,etc. Probably there is also a need for skilled users to be able to extract data to Excel and other tools as well for ad-hoc and customized purposes. For the moment Reporting Services seems to be a natural choice and it should cover all the needs. However, it is challenging to find out how to implement it into the ASP application and the server environment. I would be very grateful for any kind of advice how to create a suitable infrastructure for our reporting.
Thanks in advance, Gunnar
I export a simple report to CSV and when I open it in Excel it is all on one line with commas instead of being in columns. I have tried everything. Any suggestions? Does exporting from the report server act different than exporting from Visual Studio?
Thanks!
Linda
Linda
I am very far from being a graphical artist designer. One thing I notice is there is no fit to page or fit to screen option in SSRS. Also, SSRS works in inches or centimeters.
I therefore wonder if poeple have method of handling clients expectation with regards to this.
i.e. do you specify how many inches it should take on specific resolution (using printer and screen regular resolutions) or is there a more elegant way to state that.
For instance: Report will be designed to fit on 10 inches wide with 1/2 inch margin wide on a 1280/1024 screen or a xyz/xxx printer resolution?
Is there a more elegant solution? If you believe this is a recipe for disaster, let me know as well.
Thanks!
As of this morning, subscriptions that had been running successfully for more than 2 years stopped working. I got the following error:
Failure sending mail: At least one of the From or Sender fields is required, and neither was found.
I went through some forums, which led me to check my SSRS Configuration Settings, specifically the email settings. The sender address is present and the SMTP server is accurate. In fact, I used these same settings to successfully setup another server's SSRS Email Settings after this happened today. I made sure I used full emails in the reports and I do. I went to C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\rsreportserver.config and checked the <From> tag under the <RSEmailDPConfiguration> tag. It is a full email address. In the <DefaultHostName> tag, I added our AD Domain name.
The Default web site and app pool looked ok, but I am not entirely sure I would recognize any subtle issues.
These was also the mention of resetting encryption keys, but I hesitate to do that until I reset other options.
Any other suggestions?
Hi
When Fields!DOM_PORT_DATE.Value is NULL in the database, the report returns #ERROR
is the date is populated, then it outputs Fields!DOM_PORT_DATE.Value minus 10 days , which is correct
=IIF(Fields!ANALYSIS__.Value = "EBK_BOLI", "* BOL Instuctions given to us by: " & IIF(isnothing(Fields!DOM_PORT_DATE.Value),"TBC",DATEADD("d",-10,Fields!DOM_PORT_DATE.Value)),
How do fix the issue when the date field is NULL??
FYG, if i subsitute Fields!DOM_PORT_DATE.Value with Today , the statement works.
example of Fields!DOM_PORT_DATE.Value
2/3/2013 12:00:00 AM
Please help as been trying to fix this for past 2 hrs!! :(
Hi all,
I've created a report and used this function Format(Date.Value,"MMMM d, yyyy ") to formate the date
As part of globalization of the Reports, I need to change the format depending upon the culture(ja-Jp) given as parameter,
Any ideas, How can i change this to accomodate globalization of Date formats
Thanks
Chezhian