Hi,
apologies for what I know is a very basic question. We have a very simple ASP.NET page that includes a report viewer object. The site containing the page is on a public server, and the report server is on an internal server (actually the same physical machine, but running on a different IP) - we are referencing the report server via a 10.x.x.x address and it's not connecting from outside. The report server is not accessible from the public address, and I don't believe there's firewall issues - can someone please point me in the right direction?
thanks,
Steve.
<snip>
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Web.Security;
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
//this.DropDownList1.Items.Add(new ListItem("report1,"report1"));
I'm creating a custom interface for reporting services but I am having a few problems. This is my environment:
Using the ReportViewer component in remote mode to show my reports of the report server. There are 2 user levels of which any user can be apart of, Admin & user. In every report, there is a parameter called MERCHANTID, when the user who logs in (via custom login interface) is of group admin, then the merchantid parameter gets prompted before the report is run, if the group of the user is "user" then the merchantid parameter is hidden, and is passed programatically to the report. The report path also
My Questions:
1. When my reportviewer component loads up the report and prompts for a parameter, when you select a parameter value or type it in, it just posts back with no results, just the parameter prompt again with no data... How can this be corrected?
2. How do I pass report parameters programatically... so that when my user id of group "user" then "merchantid" gets passed automatically, but if there is any more parameters, then that gets prompted...
i've installed the SSRS 2000 ENT Edition i trying to add reportviewer dll in my webapplication but i haven't find that dll so could any help in this issue ?
I try to embed my Reports of Reporting Services to ASP .NET Application. I use ReportViewer component of Visual Studio 2005. When I try to set Height property to 100% there is no report content shown. I tried to set SizeToReportContent property but there wasn't success. At the same time when I set Height to any particular value e.g. 400px, everything is OK. But of cousre I can't know particular height for every reports. Did you have any such problems? Can you help me?
I have a Local report bound to a ReportViewer control and when I am typing in text in the find text box and I click find I get this message on the report viewer "Object reference not set to an instance of an object" anybody have any idea
I am using the reportview in vb2005 to run a report that is on our report server. It just keeps says its processing and does not come up with any results. Any thoughts why this is happening and how I can fix?
I set the URL and the ReportName and run the application which returns HTTP 401, authorization error. What else do I have to do to make this little demonstration work?
I have read entries about credentials, about delegation, about application pools, about just about everything.
Isn't this just supposed to work? This works without difficulty on a Windows form.
I am trying to develop a custom web page to display and generate our company reports. It shoud have a login page, and then a general window with 2 or 3 frames (top frame with general info, left frame with a dynamic list of all existing reports (eventually categorized by a certain word in the report title), and a center frame that has initialy the company logo and after selecting a specific report displays the parameters and afterwards the generated report).
Does anybody has some pointers or links on the web where some of this is a little bit documented. I have dev skills in vb.net and know how to work with ssrs. My web dev skills are intermediate.
I have a report in which I am trying to get a parameter to be displayed in a textbox. I have declared a parameter in my .rdlc called UserName and the expression in the textbox is as follows...
=Parameters!UserName.Value
With that said, I have code in the window containing my ReportViewer to set the parameters and run my report as shown below...
string UserName = "test";
List<ReportParameter> paramList = new List<ReportParameter>();
With these things in mind, can anyone here provide me with a reason as to why my report on comes up with a message stating "An error occurred during local processing. One or more parameters required to run the report have not been specified." ???
If I remove the parameter and text box and strip out the code pertaining to the paramter in my window, the report runs without error.
I have couple of reports designed and they are on the report server and those reports are driven using some strored procedures.
I am building a asp.net program and want to use the reportviewer control in it, and i was wondering if there is any way that i could reference the reports thats been created usiing BIDS and use them in report viewer, or do i have to build them from scratch.
Is there a way to make the data selecatable. For example, a user runs a report and wants to copy the applicationId onto their clipboard so they can use it to search in another application. Currently they have to remember or write down a 9 digit number. Not very user friendly...
I am currently using a data table as the container for the data in my rdl file. Then I use reportviewer for winforms to embed it in our user application.
I'm having problems using the ReportViewer control (which you can use in VS2005). When I go to the page that contains the control, the images (back, next, print, etc) don't show up and I get different javascript errors (one of them is the "RSClientController is undefined" error). After some investigation, I found out that the path to the Reserved.ReportViewerWebControl.axd file is incorrect (as I see it in the page source). On every place this axd file is used (for the images and the necessary javascript file), the path is "/Reserved.ReportViewerWebControl.axd?...", while it should be "/reportserver/Reserved.ReportViewerWebControl.axd?...". If I go directly to the "/reportserver/..." url, I can retrieve the images and javascript file. So, somewhere the path to the axd file is set in a wrong way.
For example: <script src="/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=8.0.50727.42&Name=Scripts.ReportViewer.js" type="text/javascript"></script> while this should be: <script src="/ReportServer/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=8.0.50727.42&Name=Scripts.ReportViewer.js" type="text/javascript"></script>
I have included the ReportViewer control in a usercontrol (ascx). This usercontrol is implemented in Sharepoint using the "Son of Smartpart" webpart. I'm using SQL Reporting Services 2005 (with the database, SQL Server 2005, hosted on another server). Using the ReportManager, everything is fine.
I really need to get this working, but I'm out of ideas (I've been searching for days to solve this, but can't seem to find the correct solution).
Regarding this post: http://forums.microsoft.com/TechNet/showpost.aspx?postid=2111183&siteid=17
This could be the follow up of that post, but I thought it would be a good idea to open a new post to discuss the ReportViewer.Reset() method.
This is the background:I was getting a "Execution '' not found" error when generating reports, VDeepak wrote something about ReportViewer.Reset() as a solution for this, so I tried with it.
At my workstation, running the project with VS2005 it worked flawlessly. Nevertheless, when I updated the files on the server I got an exception: "method ReportViewer.Reset() not found". Apparently, this was because of an outdated dll: Microsoft.ReportViewer.WebForms.dll. In other post, somebody told this could be solved installing the SQL Server 2005 SP1, I did it with no success... I found a SP2 was launched recently, so I downloaded installed it... Now another exception: a "http bad request exception". Desperate, I removed the ReportViewer.Reset() line from the code and uploaded the files to the server again. This time, everything went ok again, actually, I havn't found the freaking "execution '' not found" exception.
There are two questions here:
1 - What exactly does ReportViewer.Reset() method do? and why the same code could be failing on the server when it was working ok in the workstation (believe me, I tried everything, the only diference is this method). 2 - By chance, could the "Execution '' not found" error be fixed with the SP2??? I searched the change log and found nothing about it.
I´ve installed SQL Server Express 2005 as part of the installation of Visual Basic Express 2005. When I tried to run the Starter Kit "WebLogAnalyzer" comes the following error message: "Warning 1 The referenced component 'Microsoft.ReportViewer.Common' could not be found. "
Now I´ve seen that C:Program FilesMicrosoft Visual Studio 8SDKv2.0BootStrapperPackagesReportViewerReportViewer.exe does not exist. Is it not part of SQL Server Express 2005 or should I make a new installation?
Hi Everyone. I see that Visual Studio 2005 SP1 is out and includes an updated ReportViewer control. Is there an update to the ReportViewer Redistributable with those same fixes? Our product installs this redistributable silently, and we render reports locally (i.e. RDLC), so installing the full Visual Studio service pack would not help us (and installing just the assemblies would not either, since the Redistributable install seems to do other things "under the hood." Thanks for your help!
The client side reportviewer control is used with a typed dataset in vs 2005. But I have noticed something that is really interesting, the turkish characters in the dataset are changed in the runtime enviroment when used with the reportviever control. such as.exec sp_executesql N'SELECT CASES._ID, CASES._OWNERID, CASES._LASTMODIFYDATE, CASES._DELETIONSTATUS, CASES._SECURITYCODE, CASES._NAME, CASES._STATE, CASES._DESCRIPTION, CASES._CATEGORY, CASES._TYPE, CASES.PRIORITY, CASES.REASON, CASES.ORIGIN, CASES.FROMDATE, CASES.TODATE, CASES.COMMENT, CASES.WHATID, CASES.WHATTYPE, VIEW_WHONAME.WHONAME, ORGANIZATION._NAME AS ORGANIZATIONNAME, PERSON.HOMETEL, PERSON.EMAILFROM CASES INNER JOIN VIEW_WHONAME ON CASES.WHOID = VIEW_WHONAME.WHOID INNER JOIN PERSON ON VIEW_WHONAME.WHOID = PERSON._ID INNER JOIN ORGANIZATION ON PERSON.WORKINGORGANIZATIONID = ORGANIZATION._IDWHERE (CASES._OWNERID = @ownerID) AND (CASES._ID = @entityID) AND (VIEW_WHONAME.WHOTYPE = ''KÄ°Åžİ'')',N'@ownerID smallint,@entityID int',@ownerID=1,@entityID=30 ------------------------------------>>> the bold area should be 'KİŞİ' which is a turkish string....What sholud I do? Do I need to configure the sql server or do I need to configure asp.net runtime?
We have a problem with our ASP.NET 2.0 app in one aspx page which contains reportviewer control.
The problem is in this: When this page is shown in IE6 the reportviewer control is working OK and the report is shown, but when this page is shown in IE7 reportviewer control starts to act strange. The report isn't shown until F5 or refresh button isn't clicked. Does anybody have problem like this one?
I want to use ReportViewer Control to show the data. Can I render report using Sql Server 2005 Reporting web service call. I didn't get any sample which allow me to host report on reporting server but view them using ReportViewer Control using webservice call rather than using URL.
I need to hide Reporting server URL location. And If you show report using ReportViewer Control using URL mechanism, anybody can see the report server url.
I am using ReportViewer control for showing reports on my aspx page. I am able to show the report. But for the report both vertical and horizontal scrollbars are coming. when I viewed the report in Report Server website it is coming with out them and i can use the browser scrollbars to see the full report.
I came know the I have to set 2 properties (SizeToReportContent to True & AsynchRendering to False) of the reportviewer control to remove the scroll bars. But even after that the scroll bars are coming. The scroll bars are not coming only if i set ShowToolBar to False. But if i do that I can not see the "page navigation" and "export" etc. options.
Can somebody suggest any way to remove the horizontal and vertical scroll bars with out removing the toor bar of the ReportViewer control.
Here's my situation. I've got a report with some report parameters defined. These parameters get their available and default values from a query. I've got a Dataset and respective fields selected. The dataset in question is sort of a "headings" dataset, which only ever has one row. Now this works just fine when I'm previewing the report in designer, grabs the value, uses it as I'd expect. The problem is occuring when I'm using the WinForms ReportViewer control to view my report.
I'm not deploying this report, but running it client-side in the WinForms ReportViewer control. I'm providing it with the relevant datasets, bound appropriately (I can pull data from the fields directly in the report just fine), but when I try and view the report I get "The 'xyz' parameter is missing a value".
What's going on here? The definition seems acceptable as it works fine in designer, and my execution using the WinForms ReportViewer also seems to be correct, as I can use the fields otherwise. It just falls apart on the parameter default value from a query.
How can I use the Print event of ReportViewer control in my web application? I am trying to print a server report automatically so that the user does not have to click on the Print button in the tool bar of the report viewer.
I came across one article that talks about the Print event -
I have an ASP.NET web site with form authentication.
When I use a ReportViewer control in a page (with a masterPage) and my report (ServerReport and Remote processingmode) has DateTime parameters I can't see that calendar gif in order to select a date. Same thing with a DropDownList bound to a dataset for another paramater (I can't see that arrow from the right side of DropDownList so I can't dropdown it).
When I want to see the report with a browser direct from my Reports site it works fine. Only in reportviewer has this simptoms.
IE has some errors in script
1. 'RSClientController' is undefined
2. 'ClientControllerctl00_contentPanel_ReportViewer1' is null or not an object.
I create, in a visual studio's project, a reportviewer (reportviewer1) that call un report of reporting services. Into this report there is a textbox("txtName"). I need read the textbox value of reportviewer1. It's possible?
As you can see, there is a lot of spaces in here. The reportviewer removes these spaces. so that it look like OEM Part Code Part Code Part Description"
Instead of OEM Part Code Part Code Part Description
Why is it doing this? Can I stop it from doing this?
I have successfully implemented forms authentication in RS. It works great to navigate to https://myserver/Reports. I get redirected to the login-page etc. It also works great to use the ReportViewer from within my WinForms app, using the
method. I'm also able to communicate with RS through it's web services by first calling the 'LogonUser' method. However, to get that to work I had to inherit the ReportExecutionService for the cookie-handling to work.
Now over to my problem (the only thing so far I haven't got working). I'm trying to use a ReportViewer on an ASP.net web page to access the reports. I have understood that 'SetFormsCredentials' is not avaliable here. Instead, as far as I have understood, I should implement my own IReportServerCredentials . The critical method there I guess is
GetFormsCredentials(out Cookie authCookie, out string formsUser, out string formsPassword, out string formsAuthority)
, am I right?
It's here my problem starts. The examples I have seen haven't implemented this method since they use other types of authentication. So, I would need an example of what to fill that method with...
I have created a very simple SQL report which has a title, Image, 3 subtitles and some data fields.
When I view it is my VS designer and preview it looks perfect, however when I deploy and view the the report through my ReportViewer control all the labels get moved around and the entire thing is a mess.
If I then export it to PDF it looks perfect again... I am sure I am missing something obvious but I can't find it.
I have done absolutely no expression formatting or coding at all. It's a plain SQL query and plain result textboxes.
I have a Gridview control and a ReportViewer control that use the same datasource (SqlDataSource1). The gridview displays rows and columns of data and the ReportViewer displays a chart of the same data. This works fine when the page is initially loaded.
I also have a couple textboxes where the user can select a start and end date and press a submit button.
When the submit button is selected the SelectCommand of SqlDataSource1 is modified to use the new dates (SqlDataSource1.SelectCommand = SQLString).
The Gridview correctly updates the data based on the user-selected dates but the chart in the ReportViewer control does not change. It is still displaying the data before the user selected a start and end date. Why does this happen when they are using the same SqlDataSource1??
Protected Sub button_submit_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles button_submit.Click
Dim SQLString As String
SQLString = "select tech_clients.client_name, SUM(tech_hours_worked.hours_worked) as hours_worked_per_client " & _ "from tech_hours_worked, tech_clients " & _ "where tech_hours_worked.hours_company_id = tech_clients.client_id And tech_hours_worked.hours_company_id <> 1 and tech_hours_worked.hours_worked_date >= '" & TextBox_start_date.Text.Trim & "' and tech_hours_worked.hours_worked_date <= '" & TextBox_end_date.Text.Trim & "'" & _ "group by tech_hours_worked.hours_company_id, tech_clients.client_name " & _ "order by hours_worked_per_client desc"
I want the reportviewer to display the report exactly over the entire screen. If I try to use "width=100%", the report viewer control expands beyond the screen area making us to scroll to view the "View Report" button. However, in the report manager, the same report gets displayed exactly occupying the screen size no matter what resolution the screen size is.