SQL Report/View
Jul 23, 2005
We have a bookings table that records various information and for each
booking we record various events that users have performed on that booking
along with when the event occurred.
For example:-
Bookings EventLog
--------- ---------
BookID PK EvID Primary Key
BookDate BookID Foreign Key
BookStart Event
BookFinish, UserID
BookStatus,... EventTime
BookID 1 could have a date of 10/03/05, start time 09:00 and finish time
17:00.
A record gets created in the event table corresponding to which user created
the booking and at what time.
e.g. EvID = 1, BookID = 1, Event = 'Booking Created', UserID = 'dan',
EventTime = '2005/03/09 10:00'
Events get recorded to the EventLog table whenever something happens to the
booking (i.e. the booking status changes, date changes, etc).
We'd like to create a report that calculates the activity of all of our
users. Currently, we loop through all our users and perform individual SQL
queries that count the number of occurrences for a particular event in
between two dates specified.
e.g. SELECT count(EvID) FROM EventLog WHERE UserID = 'dan' AND Event =
'Booking Created' AND EventTime > '2005/03/01' AND EventTime < '2005/03/10'
This is obviously taking a lot of processing power and resources to
calculate and it slows our application down considerably whenever someone
attempts to view it.
Can anyone recommend a decent way to do this? Ideally, when someone wishes
to view this report (via ASP by the way), rather than it having to
recalculate the information using the datefrom and dateto dates they
specify, it should just displayed the information from a pre-calculated
view? In other words, is it possible to generate the reports overnight or
constantly in real-time, given that people will wish to view different
information at different times (i.e. different users and dates?)
Many thanks for any suggestions you can give me.
Dan Williams.
View 2 Replies
ADVERTISEMENT
Oct 25, 2007
I have some date criterias on my report that default and so I would like for the report not to display until the user clicks on the "view report" button.
Also, I would like to trap that button to send my own internal parameters to the report. How and where would I do that.
I'm running the report through report viewer and I have a subroutine that would refresh the report with my desired internal parameters. I just need to hook it up.
Thanks for any help or information.
View 2 Replies
View Related
Jul 26, 2007
I've got a SQL Reporting Server 2000 SP2 report that takes 3 parameters. FromDT, ToDT, and LocationCD. The first two parameters are free form text fields that expect a date. The last one is a drop down box. For some reason, when I'm viewing the report through the standard reports folder on the report server I have to click the "View Report" button two times to get the report to render. Clicking it just once, doesn't seem to do anything. The report is a line graph.
There are default values in the FromDT and ToDT parameter fields.
Anyone have any ideas what would be causing the need for the second click?
View 2 Replies
View Related
Oct 9, 2007
Hi,
It appears to work fine on my end however on my clients end, whenever they try to print a report that displays perfectly within the report viewer to their printer by selecting the printer button in the report it never ends up printing.., however if they go into printer setup and change the page range to print from all pages to just maybe one page and then select the print button it seems to print fine..
The printer seems to receive the information as the light flashes but no page kick out when all pages is selected to print..
Any help would be greatly appreciated..
View 1 Replies
View Related
Sep 4, 2007
I am having a hard time finding the report path for the web report Viewer in visual studio 2005. I have tried entering the absoute path to the folder containing the reports. this gave the error that the path is invalid. I have also tried reletive paths using / and // in the front of the name for each report. these all fail. could someone please assist with finding the path to the reports? the reports reside on another server away from the one being used for development of the web site.
thanks
Kof
View 3 Replies
View Related
Mar 19, 2008
Hi,
I added a page to exsisting web site. Then I used report viewer to show a report. But when I try to view it in the browser, I get the following error message.
Server Error in '/Website' Application.
The type CustomReportServerConnection, APP_CODE does not implement IReportServerConnection or could not be found Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.Reporting.WebForms.InvalidConfigFileTypeException: The type CustomReportServerConnection, APP_CODE does not implement IReportServerConnection or could not be found
Source Error:
Line 272: <asp:View ID="vwWARRatingChangeReport" runat="server">
Line 273: <aspanel ID="pnlWARRatingChangeReport" runat="server" Width="683px">
Line 274: <rsweb:ReportViewer ID="rvWARRatingChageReport" runat="server" Font-Names="Verdana" Font-Size="8pt"
Line 275: Height="100%" ProcessingMode="Remote" Width="100%">
Line 276: <ServerReport ReportPath="/CRMReportsQA/ORA/WARRatingsChange" ReportServerUrl="http://wiismab00035038:8095/Reportserver" />
Source File: c:Dev EnvironmentWebsiteApplicationsORAPDCRD.aspx Line: 274
Stack Trace:
But I created another website using visaul studio in my local machine and then used report viewer to disaply the same report. Its in server mode same as earlier. This one can be viewed without any trouble.
I'm not familiar with ASP.NET thing. Can anyone help me to resolve this one?
Thanks
View 10 Replies
View Related
Jan 17, 2008
Hello,
I've created a Report Model Project that can be used by Report Builder to generate ad-hoc reports. I'm trying to create a connection string in my Report Server Project that points to the Report Model Project data source view.
All I can do is create a regular datasource, which bypasses the metadata contained in the Data Source View.
Basically I want my Report Server Project and my Report Builder reports to leverage the same metadata. Is this possible? If so how do I get the connection string?
Thanks!!
-Matt
View 1 Replies
View Related
Nov 27, 2007
Hi every body!
I have a problem with view report,when i show my report and i want to preview my report i have this problem:
i have three pages in my report and when my user is in second page and wants to preview second page ,i can't
becuse reporting services gives me preview of first page or when i want to find something in second page it's found in first page!
I've used from object ViewReport to show my report.
Are there any setting for the ViewReport?
View 1 Replies
View Related
Dec 23, 2006
Happy Holidays!.....I wanted to know how do I view a Sql Report in the url...I add the Web Reference to my project that holds the url of my Report Server...I have the connection string to the report server in my app.config.....I want to click a buttton in my application and show a report as a PDF??? I have the PDF viewer in my app but i dont know how i should view any ideas??? or links would be helpful! thanks!
View 1 Replies
View Related
Feb 7, 2008
hi all,
when I try to view report manager in my local machine , I get the following error message.
-----------------------------------------------------------------------------------------------------
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name was started with an invalid character. Error processing resource 'http://localhost/reports/'. Line 1, Position 2 <%@ Page language="c#" Codebehind="Home.aspx.cs" AutoEventWireup="false" Inherits="Microsoft.ReportingServices.UI.HomePag...
---------------------------------------------------------------------------------------------------------------------
Can anyone help me to solve this probelm?
Thanks
Nishan
View 3 Replies
View Related
Oct 12, 2007
HI All,
I have a three table in my data base. I created a report using some of the fields in those three tables.
Table names are as follows.
Table1 - LoanApplication
Table2 - Member
Table3 - Rate
When I want to view sm fields from all three tables, it does not allow me to do that. I can not view data in the report.
I tried a query like this.
Code Block
SELECT LoanApplication.Uuid, LoanApplication.Status, LoanApplication.Amount, LoanApplication.Term,
LoanApplication.SubmittedOn, Member.LastName, Member.FirstName, Member.MiddleName, Member.CuStatus, Member.CUMemberId
FROM LoanApplication
INNER JOIN Member ON LoanApplication.MemberFK = Member.Id AND LoanApplication.Id = Member.LastLoanApplicationFK INNER JOIN Rate ON LoanApplication.RateFK = Rate.Id
There are realtionships of LoanApplication table with Rate and Member tables. But there is no relationship between Rate and Member.
When Rate table is included in the query, problem happens. When It is excluded , I can view the data in the report.
What is the reasone for this?
View 3 Replies
View Related
Dec 7, 2007
Hi All,
Does anyone know if it is possible to change the language setting of a report. For example: I need to allow to people in Germany to view the report options in German.
Example:
"View Report" button in German.
"Select format" in German
Thanks in advance for your help
JR
View 6 Replies
View Related
Nov 19, 2007
Hi All,
When I click a rdl file it opens with visual studio. But I can see the xml file. not the report. Also the debug option is not available when I open the file. How can I see the report?
Thanks
View 4 Replies
View Related
Apr 27, 2012
I am running MSFT SQL 2008 with a CRM system. In that CRM system we have defined "COMMUNICATIONS" that have a number of different "TYPES" These communications are tied to Companies, which in our business is a resident of our community. The resident has the ability to request a 1 time service (TRAVEL) that would be recorded with one "COMMUNICATION" , or a reoccuring service (DAILY CARE) that would be recorded with two "COMMUNICATIONS" (Start/Stop). THe communication ID does appear to be sequential, but may not be entered sequentially.
we would like to be able to create a timeline for a specific resident around 3 specific types of transactions. (AWAY, RETURN, CS) There should be some strong predictive value to these data points.
ABSENCES
AWAY = Start of an absence from the building
RETURN = End of an absence from the building
A person during their reisdency will have multiple Absences
An absence could start on the same day a previous absence ends
Absences vary in length
CS
CS0-CS10 (each is a different TYPE) of communicatio
[code]....
Query in DESIGN View
SELECT TOP 100 PERCENT comm_trantype AS Type, comm_trandate AS Date, CmLi_Comm_CompanyID AS CompID, Comm_CommunicationId AS CommID, ROW_NUMBER()
OVER (PARTITION BY CmLi_Comm_CompanyID
ORDER BY Comm_CommunicationId, comm_trandate) AS Seq
FROM CRM_CSLDB.dbo.vCommunication
[code]....
Results from QUERY in DESIGN VIEW
TYPE DATECOMPIDCOMMIDSEQ
AWAY2011-02-24 00:00:00.00051747531
RETURN2011-03-31 00:00:00.00051747542
AWAY2011-03-28 00:00:00.00064740681
RETURN2011-04-30 00:00:00.00064752972
[code]....
RESULTS FROM QUERY in SELECT TOP 11
TypeDateCompIDCommIDSeqAwayDaysReturnDate
AWAY2011-06-20 00:00:00.00016977564182011-06-28 00:00:00.000
AWAY2011-12-23 00:00:00.00015059050441122012-04-13 00:00:00.000
AWAY2011-10-09 00:00:00.0003534839461162011-10-25 00:00:00.000
AWAY2012-01-27 00:00:00.0003983890363942012-04-30 00:00:00.000
AWAY2012-03-09 00:00:00.0004064900615202012-03-29 00:00:00.000
[code]....
QUERY in DESIGN VIEW
SELECT TOP (100) PERCENT dbo.vCommunication.comm_trantype AS csTrans, dbo.vCommunication.comm_trandate AS csTranDate,
dbo.vCommunication.CmLi_Comm_CompanyID AS CompanyID, dbo.vCommunication.Comm_CommunicationId AS Comm_ID, dbo.CSL_resident.Name,
Comm_CommunicationId AS CommID, ROW_NUMBER() OVER (PARTITION BY CmLi_Comm_CompanyID
ORDER BY Comm_CommunicationId, comm_trandate) AS Seq
FROM dbo.vCommunication INNER JOIN
[Code] .....
QUERY RESULTS IN SELECT
csTranscsTranDateCompanyIDComm_IDNameCommIDSeq
CS12009-07-27 00:00:00.0001176147Harrison Bailey 761471
CS32007-08-27 00:00:00.0002673777Dorothy Wheeler 737771
CS42011-12-02 00:00:00.0002685087Dorothy Wheeler 850872
CS52012-01-01 00:00:00.0002685446Dorothy Wheeler 854463
[Code] ....
View 12 Replies
View Related
Dec 4, 2007
I have Developer's Edition of SQL Server installed on my PC. I want my users to run and view my new RS report from their PCs across the network without installing SS on their machines.
We experimented a little bit by asking one user to use these URLs...http://mymachine/reports$myinstance and http://mymachine/reportserver$myinstance) after giving her browse rights in report manager from my PC.
When she uses the first URL, she gets a popup asking for sign in info, but gets nowhere when typing in her windows sign in info. When she uses the second, she gets thru to the report choices but gets an error like...
* An error has occurred during report processing. (rsProcessingAborted)
* Cannot create a connection to data source 'xxxxx'. (rsErrorOpeningConnection)
* For more information about this error navigate to the report server on the local server machine, or enable remote errors
...after choosing my report. xxxxx is the name of the only datasource in the report.
Before we began, we also turned off 'enable anonymous access' and instead clicked 'integrated windows authentication' in IIS on my pc.
My user is on a different domain controller than I am. I asked a colleague who is on the same domain controller to try the URLs and he had no problems running my report from either. He wasnt given any explicit permissions/rights at either the reporting or db level.
Does anyone have a clue?
View 6 Replies
View Related
Feb 27, 2008
The "View Report" button is relatively positioned so when the report content is wider than the screen size, it pushes it to the right such that the users have to scrool right to click on it again. Is there a way of setting the "View Report" button to a fixed position to eliminate this?
View 1 Replies
View Related
Jan 24, 2008
I'm still trying to get a recent install/setup of Reporting Services 2005 working. I have Report Server installed on ServerA which already had IIS running on it, the Report Catalog can be found on a 2nd server, ServerB, with SQL 2005 Std Edition installed.
I am able to browse to the Reports Manager site and see the test report I deployed there through Visual Studio 2005, installed on my machine. But when I try to view the report, I get:
An error has occurred during report processing.
Cannot create a connection to data source '[our db name]'.
Login failed for user 'NT AUTHORITYANONYMOUS LOGON'
Now, when I created the data source for that report, I used a Trusted Connection, which of course worked for me when authoring on my machine since I belong to a Windows group that has been granted access to the SQL Server and db in question.
Since Reports Mgr requires Windows authentication, I assumed that when attempting to view the report from within Reports Manager, it would again use my credentials. So I'm confused where the local system account, NT AUTHORITYANONYMOUS LOGON is coming from.
Any help would be greatly appreciated.
M Noreen
View 7 Replies
View Related
Oct 13, 2007
When I try to run my report manager which is in my local machine, I get the following error message.
The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
I can not open Report server data base and reportserver temperary data base, even in Management Studio. I can not see them there anymore.
Also When I try to open data base engine in my local machine through Management Studio, I can not open it. I get the following error massege.
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
Recently, I changed data base connection properties of all my reports. coz earlier I used a data base which was in the local machine. But then I connected all my reports to the same data base which is on another server. Then I changed all connection properties of each report. After that I deleted the data base in the local machine.
Would that be the reason for this problem?
Also SLQ server(MSSQLSERVER) and SQL Server Agent has been stopped running. I can not start it from SQL Server Configuration Manager.
Please can anyone tell me how to fix this problem and get my work done as usual?
View 6 Replies
View Related
Mar 14, 2008
I'm trying to clean up our report server and prune reports that are no longer in use by our users. Is there a way to find out the last time a report was accessed?
Thanks.
View 1 Replies
View Related
Sep 22, 2007
I'm able to preview my report in Visual Studio and once I'm deploying it, it is getting deployed also on the Local server but when I'm using browser and trying to view the report, it is showing me following error message:
Unable to connect to the remote server
The attempted operation is not supported for the type of object referenced
I'm using Win XP Pro with a developer edition of Sql Server 2005 and administrator of computer. Not able to understand why in browser I'm not able to view reports.
Kindly help.
View 4 Replies
View Related
Mar 6, 2008
Hi All,
I have a solution which is synchronised with visualsourcesafe. Now there are some reports present in the solution, I am able to view the preview of the reports but when I am going to view the dataset definition It is not able to retain its defintion and its becoming blank but this happens to only datasets which were developed from cube and its able to retain dataset which are developed from Database.
Any help would be of great use.
Thanks in advance
Regards
View 1 Replies
View Related
Oct 12, 2007
After install SQL Server 2005, then run it sampel for report. Using VS2005 to deploy the report to report server.
The report can be previewed in VS2005.
After deploying, open SQL Server Management Studio.
1. Add local user Administrator to database AdventureWorks
2. Pick up one sample report Company Sales from AdventureWorks(Home-->AdventureWorks-->Company Sales), then go to
DataSource-->AdventureWorks, the setting for this datasource as below:
Data Source=localhost;Initial Catalog=AdventureWorks;Integrated Security=True
Select "Credentials stored securely on the report server" with following setting:
Login name: Administrator
Password: (right password here)
Checked for "Use as Windows credentials when connectiing to the data source"
3. Then right on ths report (Company Sales), from popup menu-->View Report
Then in browser, it ask for user name and password, input as:
User name: Administrator
Password: (right password here)
Get infomation as:
You are not authorized to view this page
The URL is: http://localhost/reportserver/?/AdventureWorks%20Sample%20Reports/Company%20Sales&rs:Command=Render
Then try a different setting, use different user account in Database, same error message.
What's wrong with it? How to solve this issue?
View 1 Replies
View Related
Apr 30, 2007
How does the report model know what data source view to use? I could not find it defined anywhere in the .smdl file.
My problem is this. I have a Report Model project with two data sources, two data source views and multiple report models. When I try and bind a data source to an entity in the report model I do not get to choose which data source view to use to choose what table/view I want to bind the entity too and only the tables in one of my DSV's shows up. When I first created it, it worked fine. It automatically selected the correct view and table and was successfully created but now when I open the project, that correlation is lost.
Any suggestions or help is appreciated, thanks.
View 1 Replies
View Related
Apr 3, 2007
I want to validate my input report parameters while user clicks the View Report Button. How can I accompalish this in SSRS.
ex: Report parameters should accept only numberic values.
View 4 Replies
View Related
Aug 1, 2007
in my report model project, i'm able to successfully create and deploy a report model based on a data source view that is in turn based on a table object in my data store.
but if i try to create a report model that's based on a a data source view that is in turn based on a view in my data store, well then, the report model that gets created comes up blank - i.e. shows no objects.
What gives? Is it not possible to create a report based on a view? that can't be right!
View 6 Replies
View Related
Feb 13, 2008
I provide default values for parameters, but we need to wait for the user to click "View Report" before the report is run. It is an expensive report to run, and the user needs the defaults, but also needs to be able to change them before execution. I cannot find a setting for this. Is there a way to do this that does not involve adding dummy parameters? (that's too tacky a solution!)
View 4 Replies
View Related
Mar 7, 2006
Hi, I am using sql server 2005 entreprise edition. I am just wondering
when I have a report with parameters and the report uses stored
procedure to retrieve the result set for use in the report, if two
people from different places are trying to view the report at the same
time, and each of them use different set of parameters.
Will they be able to view their report correctly??
View 6 Replies
View Related
Jun 2, 2015
I gave a user all required permission to view the SSRS report. User is able to select from the dropdown list but unable to view the data, It is showing a blank screen.
View 9 Replies
View Related
Jul 6, 2007
We've built an oltp that uses nothing but synonyms that reach out to various DB's in the organization thru linked servers.
The issue that we are having is Data Source Views can only see tables and views. Is it possible to use synonyms? If not what would be a work around.
Please advise. Thanks
Steve
View 1 Replies
View Related
Aug 13, 2007
I have a report that I am building that consist of 4 multi-value selections from four different queries. When I choose "Select All" from all the drop downs and click on "View Reports", it blanks out all the selections from one of the drop downs.
Can someone please point me in the right direction on this problem. The report will run sometimes, but most of the time it will not.
Thanks
View 3 Replies
View Related
May 7, 2008
Hello,
I have configured Reporting services to use MOSS integrated mode. I have two servers, one for MOSS and the other for SQL database and reporting server.
Since I am using NTLM for IIS authentication, I can only use "Trusted Account" for Reporting Service Integration.
Then I created a report in SQL Server BI development studio and deployed to a MOSS document library. The deployment was successful. However, when I tried to open the report, I got the following error message:
An error has occurred during report processing.
This data source is configured to use Windows integrated security. Windows integrated security is either disabled for this report server or your report server is using Trusted Account mode.
I have tried to switch to "Windows Authentication" for Reporting Service Integration, but this will give error for "Set Server Defaults" screen. Also the deployment from BI studio to MOSS will fail with authentication error. So I think I have to stay with "Trusted Account" option there.
What should I do to make the report accessible while using "Trusted Account"? Is there any configuration which has to be done for this purpose? Any input is appreciated.
Thanks,
Jun
View 8 Replies
View Related
Feb 22, 2007
I have an existing project with the data source and report folder with working reports. I need to create a model for other department members to use Report Builder, not Business Intelligence Developer Studio, to develop their reports from. How do I add a data source view and report model folder to the project so I can then create a view and model?
View 1 Replies
View Related
May 6, 2008
Hi,
I would like to restrict users to allow to view related reports only...
like i have 2 users..with 4 reports
1 user can see only two reports
2 user can see only another two reports
how can i do this by SSRS???
Can i do by using Configure item-level role definitions in seetings link..
or is thr any another way to do this?
Pls reply back
Regards,
Maruthi..
View 4 Replies
View Related