ssrs-2012

how to migrate or copy SSRS datasource from one server to another without restoring the report server

久未见 提交于 2019-12-05 23:56:23
I'm trying to migrate SSRS report from SQL 2008r2 to SQL 2014 server. I used reportsync to transfer the report to the server. the reports are successfully transferred but however the roles subscriptions and datasources are not transferred. Is there is any way to copy or migrate the data sources, roles and subscription from one server to another without restoring the report server database?. Thanks. I have used these migration tools which doesn't help me much. i found the below link after a lot of struggle trying different things https://azuresql.codeplex.com/releases/view/115207 https://msdn

SQL - combine consecutive date rows based on column

血红的双手。 提交于 2019-12-05 21:27:49
Let's say I have the following SQL result BegDate | EndDate | quanitty 1/1/2014 1/31/2014 1 2/1/2014 2/28/2014 1 3/1/2014 3/31/2014 2 4/1/2014 4/30/2014 4 5/1/2014 5/31/2014 4 6/1/2014 6/30/2014 4 7/1/2014 7/31/2014 2 8/1/2014 8/30/2014 2 I need to group all months with the same quantity into one row so the result should be BegDate | EndDate | quanitty 1/1/2014 2/28/2014 1 3/1/2014 3/31/2014 2 4/1/2014 6/30/2014 4 7/1/2014 8/30/2014 2 I've searched around stackoverflow and found similar posts which solution's I've tried to no avail This and This The following is the SQL i'm using to create the

How to distinguish between day and night shifts by looking at past sign in times?

ε祈祈猫儿з 提交于 2019-12-05 21:15:43
Currently, the report uses predefined times. But sometimes employees overstay their shift and they creep into the next shift report. How do I modify the report query to look at the past sign in times to avoid this? In the TIMEATT column 1 is entry and 2 is exit. Light blue highlights the correct entries and yellow signify incorrect entries. Day shift report for 29th has 'Done, Jane's' entry time from night shift Night shift report for 29th has 'Do, Jone's' entry time from day shift Below query creates a temp table with the same data as in the screenshots. CREATE TABLE #temptable ( [Company]

Running all SSRS reports through one report user ignoring own users domain

耗尽温柔 提交于 2019-12-05 16:23:35
I have the following code which returns the reports from my SSRS server, afterwards I then store the paths to each individual list which allows users to run them from within the application. The below works fine. NetworkCredential serviceCredentials = new NetworkCredential() { UserName = username, SecurePassword = EncryptionManager.DecryptToSecureString(password), Domain = domain }; reports = new ObservableCollection<object>(reportsManager.FindReports(reportsWebService, reportsFolderName, serviceCredentials)); //FindReports ReportingService2005 rs = new ReportingService2005(); rs.Url =

How to design bar chart on SSRS

做~自己de王妃 提交于 2019-12-05 07:41:16
问题 I want to create reports like below picture's report on SSRS. Yellow parts mean SET_PHASE , Green parts mean PROD_PHASE And my query result like this: I want to show for per line, all order and I want to show for per order, SETUP and PRODUCTION depends on duratıon time. SET_PHASE 's duration time is SET_DURATION , PROD_PHASE 's duration time is PROD_DURATION I hope so my query is clear :) Could you help me about issue? Answer: Hello Alan, Current situation I have just these data:

Hide Column in SSRS

こ雲淡風輕ζ 提交于 2019-12-05 02:36:52
问题 I am using SSRS 2012, and Excel 2010, I want to hide a column when Exporting to Excel, after looking through some of the forums it seems the best way to do this is by going to the Column or Text box of what you are looking to hide and under the Visibility/Hidden option set the Expression to be : =IIF(Globals!RenderFormat.Name = "EXCEL",true,false) I have tried this and for some reason it doesn't work, however if I reverse the options of true and false I can get it to hide the column in SSRS

SQL Server Reporting Studio report showing “ERROR#” or invalid data type error

試著忘記壹切 提交于 2019-12-04 16:18:44
问题 I struggled with this issue for too long before finally tracking down how to avoid/fix it. It seems like something that should be on StackOverflow for the benefit of others. I had an SSRS report where the query worked fine and displayed the string results I expected. However, when I tried to add that field to the report, it kept showing "ERROR#". I was eventually able to find a little bit more info: The Value expression used in [textbox] returned a data type that is not valid. But, I knew my

SQL Server Reporting Services url parameters not working

 ̄綄美尐妖づ 提交于 2019-12-04 14:53:03
I cannot correctly pass the parameters to a SQL Server Reporting server. The report page is displayed, but the Report Viewer Web Part’s parameter prompts are still empty and nothing is run. The following url takes me to the correct report page, where I can manually select the parameters, then click the "View Report" button and get a report. http://MyServer/ReportServer?%2fProjects%2fProject_Report The following are in the report webpage source: <label for="ctl32_ctl04_ctl03_ddValue"><span>Country</span></label> and <option selected="selected" value="0"><Select a Value></option> <option value=

SSRS Line Chart Dynamic Y Axis

三世轮回 提交于 2019-12-04 13:05:30
I have a line chart where the Y value is set to =CountRows() and I have a Category Group which groups on =CDate(Fields!END_MONTH_NB.Value) I am trying to set the interval of the Y axis dynamically such that fractions do not appear when the range is too small (see below). I tried setting the interval expression to =iif(CountRows() <= 5, 1, "Auto") which works fine if the total number of rows is less than or equal to 5, but what I really need is the maximum that CountRows() will return in the context of my Category Group. Any idea how to accomplish this? Since you're using SSRS 2012, you can use

Execute .exe in SSRS Report

对着背影说爱祢 提交于 2019-12-03 22:45:54
i want to execute a .exe in a SSRS Report from Microsoft Dynamics AX . I tried so far to realize that over Custom Code and a Textfield with following Expression: =Code.StartProcess("test") Public Function StartProcess(ByVal s As String) As String Dim pHelp As New ProcessStartInfo pHelp.FileName = "test.bat" pHelp.Arguments = s pHelp.UseShellExecute = True pHelp.WindowStyle = ProcessWindowStyle.Normal Dim proc As Process = Process.Start(pHelp) Return "it works" End Function I get the error ":StartProcess is invalid. InvalidIdentifier" As second try i use this: ="javascript:void(window.open(