Quantcast
Channel: Visual Studio Report Controls Forum
Viewing all 519 articles
Browse latest View live

ReportViewer no longer working once publishing to web host

$
0
0

Hi

I have designed a small intranet site which contains some report viewer reports. 

Everything works fine when testing locally on my laptop however once I publish it to my internal IIS server the pages with reports on don't load the reports. 

They don't throw an error up or anything and I have tried installing the following files from research I did on the internet.

ReportViewer.msi

SQLSysClrTypes.msi

The environment is IIS 7, Server 2008, I also have placed the following files in the bin folder of the website

Microsoft.ReportViewer.Common.dll

Microsoft.ReportViewer.WebForms.dll

Microsoft.ReportViewer.WinForms.dll

Any help appreciated.

Cheers


Cheers Chris


VS2008 Windows Form webcontrol with SSRS

$
0
0

Hi,

I have a report ReportA in http://OurServer/Reports where the OurServer is hosting the SSRS.
Now in my VS2008 Windows Form application, I use the WebBrowser to point to that ReportA.  But there're Home,My Subscription, Site Setting, Help tabs on that web report.  How do I make those tabs disappear on the ReportA?  Thanks for help.             Jason

VS2008 windows form ReportViewr and SSRS 2008R2

$
0
0

Hi,

In my VS2008 Windows form project, I have the ReportView1 on Form1.
I have a Button1 for getting the report on SSRS 2008.
(http://ssrsServer/Reports/Pages/Report.aspx?ItemPath=%2fSampleFolder%2fReport1)
The code for the click event for Button1 is as follows:

reportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote;
ServerReport serverReport = reportViewer1.ServerReport;
serverReport.ReportServerUrl = new Uri("http://ssrsServer/ReportServer");
serverReport.ReportPath = "/SampleFolder/Report1";
reportViewer1.ServerReport.Refresh();

However, when I clicked the Button1, ther Refresh() didn't bring out the Report1 from the ssrsServer.
How do I fix this problem?
Thanks.

Jason

Converting rdlc files from 2005 to 2008 version

$
0
0

Hello,

I know there are several posts dedicated to this issue, but none of them really solved my problem. Here is my scenario:

I have a Windows Forms application that was build using vs2005. This application has several local reports in it.

I recently decided to upgrade it to vs2010. The project conversion went well and everything is building and executing fine. However, when I started adding my reports, I started having problems. I should probably tell you that I have the Report Viewer 2010 installed and all my references are pointing to the correct version of Microsoft.ReportingServices.Common and Microsoft.ReportingServices.WinForms. In my toolbox I have the 10.0 version of the ReportViewer control.

I also went to: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\ReportingServices and changedMicrosoft.ReportingServices.targets from <UsingTask TaskName="Microsoft.Reporting.RdlCompile" AssemblyName="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> to<UsingTask TaskName="Microsoft.Reporting.RdlCompile" AssemblyName="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>. For some reason, the version pointed to 9.0 instead of 10.0.

So, I added my first report. Immediately I received the "Error    44    The "Microsoft.Reporting.RdlCompile" task could not be loaded from the assembly Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.  Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.".

When I try top open it, I was asked if I want to convert it. I said "Yes". The report converted, but it was absolutely blank. In addition to this, I got the following error:

Error    44    The "RdlCompile" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\windows\Microsoft.NET\Framework\v4.0.30319" directory.

If I exclude the old reports from the project, the solution builds fine. If I add a new report, I get theThe "Microsoft.Reporting.RdlCompile" task could not be loaded... error. I even tried changing the UsingTask line in Microsoft.ReportingServices.targets to  <UsingTask  TaskName="Microsoft.Reporting.RdlCompile" AssemblyName="Microsoft.ReportViewer.WinForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>. I saw a suggestion to change Common with WinForms.

Has anyone ever solved this issue?

Thank you for your help.

MICROSOFT REPORT VIEWER 2012 rending and speed issues

$
0
0

I have a VB.Net application that has a reference to Microsoft report viewer.

I installed the MICROSOFT REPORT VIEWER 2012 run time from 

I have added a reference to the dll installed and removed the previous dll in my project.

Now when i view reports it is very slow to render. It used to take 1 second for some reports and now it takes 30 seconds. Also the rendering is missing some text.

control how many lines that a dot matrix printer should write

$
0
0

Hi to all,


Is there a way to set a number of lines that a printer should start print?


Consider this example, the paper contains 4 lines:

Official Receipt Copy

-----------------------------------

-----------------------------------

----------------------------------

4

The problem is, the user wants to print another type of document (Credit Invoice) on the same paper. So the program must have an option to something like "Start print at line : ___", and the user must give it "5" since she just wanted to append the other document.

Sorry for my poor English guys, I already did my best :)

Thank you in advanced

ReportViewer won't show next report using MoveNext on BindingSource

$
0
0

My DataSource for my ReportViewer is a List of items, each making up the data for one report. Using a BindingSource and it's MoveNext method, I'm trying to get the ReportViewer to show the next report in the List but it isn't working. If possible, how do I do this?

I've tried using code similar to this, in a button click method:

BindingSource1.MoveNext();
ReportViewer1.RefreshReport();

Upgrade SSRS2005 to SharePoint BI SSRS 2008, report viewer issues WinForms

$
0
0

Hi,

I have a windows app that currently renders SSRS 2005 reports via the report viewer 8.0.0.0. The app is currently in Visual Studio 2010.

I am upgrading my reports from SSRS 2005 to SSRS 2008 SharePoint BI. I am having trouble rendering reports from the app via the report viewer. It seems to throw an error when trying to generate the report: Client found response content type of 'text/html; charset=utf=8', but expected 'text/xml'  and alot of other lines after it...It doesn't allow me to paste the error message...

The report viewer is already configured as remote and I am passing the full url to the Report Path for the viewer - I read in some posts online that they said to do that in order to run reports that are hosted on SharePoint.

Please help.

Thanks,

Moneka


Report Viewer Control

$
0
0

hi

I am Using VS 2012 Express Edition , have some report related workes and I tried to include my report Viewer Cotrol To my Form. It shows some Error  like

"Falied to Create Designer: 'Microsoft.webform.report viewer'.... PublicKey Token=b03f5..."

Some article says that Express Edition will not support reporting tool, Is that correct ?

did u face the same problem , hoping your valuable suggestions to Solve the issue

Thanks in Advance

Samith C


SSRS 2008 & VS2010 - The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form

$
0
0

Hi

I am trying to embed my SSRS2008 reports into my .net 4.0 application. I am using the following code on my webform...

 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote
        ReportViewer1.ServerReport.ReportServerUrl = New Uri("http://armstrong-svr/reportserver")
        ReportViewer1.ServerReport.ReportPath = "/Intranet Reports/license expiry"
    End Sub

Loading the webform returns the error 'The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form'. I am fairly new to .net development and i am unsure what the script manager actually is. If any one could point me in the right direction here it would be much appreciated. Full error details below. Many thanks.

Steve


Server Error in '/' Application.
--------------------------------------------------------------------------------

The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form.
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.ScriptManagerNotFoundException: The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. 

Stack Trace:


[ScriptManagerNotFoundException: The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form.]
   Microsoft.Reporting.WebForms.ReportViewer.CreateChildControls() +212
   System.Web.UI.Control.EnsureChildControls() +102
   System.Web.UI.Control.PreRenderRecursiveInternal() +42
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8387
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
   System.Web.UI.Page.ProcessRequest() +78
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.webform1_aspx.ProcessRequest(HttpContext context) +37
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

ReportViewer doesn't respond to BindingSource changes

$
0
0

When I use the MoveNext method on the BindingSource, the ReportViewer doesn't seem to show the next report. I've tried using the RefreshReport method but that didn't help. Does anyone know how to make the ReportViewer respond to changes in the BindingSource?

How to format a TimeSpan in Report Designer

$
0
0
I am creating a report in Visual Studio 2010 Report Designer using a DataTable as the data source. I am trying to format a field which is of typeTimeSpan so that it displays in the format "h:mm" (no leading 0), but I can't find the right formatting function and/or format string. (Seems like everything I've seen assumes aDateTime or equivalent.) Can someone help?

crystalreport error "Exception has been thrown by the target of an invocation"

$
0
0

hi

i have a report form and a datatable in it. when i fill the datatable the error bellow occur:

"Exception has been thrown by the target of an invocation."

my_report report = new my_report();
report.Database.Tables[0].SetDataSource(search_table.DefaultView.ToTable());

i use vs.net 2010 but in vs.net 2008 this code worked well !!!!!

thanks for your attention.

How to export reporting-service report with Hebrew text in html tags to PDF?

$
0
0

I have a report that was created using reporting-services. The report contains a text box with some rich-text data in Hebrew.

For example, it contains the following text:שלוםעולם (which means Hello World in hebrew, where the word World is bold)

My problem is that when I'm exporting the report to PDF format, some of the word being reversed (in the example above the BOLD word is being reversed).

Exporting to Word document seems to generate a fine report.

Also, when im exporting it to PDF using the visual studio Preview tab ,it generates the report as expected.

What am I missing? Is it the PDF version? Is it the reporting services version?

Im using SQL 2008 SP1. Im using Adobe reader version 8.

Thank you for your help,

Nir.

Dataset from Analysis Server in RDLC

$
0
0
I would like to generate a report from my Analysis Server cubes in a website project in a rdlc report. But there is no option to connect Analysis Services in the report -> dataset -> connection -> data providers list. What shall i do?

Chart Filtering on Multiple Values

$
0
0

I created a chart and in the Series Group Properties I am trying to filter on Product Line where Product Line = Dodge and Product Line = Chevrolet.

I can filter on just one Product Line value, but when I add another value the chart shows "No Data Available. 

I've tried also using this expression to no success:

=((Fields!Product_Line.Value, "Chevrolet") OR (Fields!Product_Line.Value, "Dodge"))

Can anyone help? Thanks!


Mike Karls

Do I need a "Business Object Data Source" for this application?

$
0
0

Hi all,

I need to make a program (in C#) that will get a list of records from an Access 97 database. Then, I will get another list of records from the same database. After that, I will do some processing (comparing, sorting, matching, manipulation,etc) from the two sets and come up with a resulting list. I would like to use the reporting control to show this resulting data.

I've been reading about the reporting control but my first attempt to start a "reporting project" from VS2010 stopped after the wizard asked me for the database or where the data was coming from.

Since I don't have the data until after I do the processing ... is my data source going to be a "Business Object Data Source"? This is my first time using the reporting control.

Thanks

 

ReportViewer programmatically set Image

$
0
0
I have a report with an image. I want to programmatically set the image.
The users will choose which image they want in the report, so I have to programmatically set it.

But how? Is there a way to do that?
Get a life. Go party!

Cannot see standard expressions in textboxes in Visual Studio 2008 or 2010 Business Intelligence Projects

$
0
0

I Cannot see standard expressions in the textboxes. Instead there are expression placeholders, <<Expr>>.   If I click on the textbox it shows the expression in hover help, but it was VERY useful to see the expression as it is in the textbox instead of the <<Expr>> place holder which was the case in VS 2005. 

Is there a way that I can see the expressions again?  If not, is there a plan to bring this functionality back?

Thanks,

Aaron


Lots of temp files left by reportviewer?

$
0
0

After having developed a rather large reporting app using WinForms ReportViewer in local mode, I find that I had more than 60.000 temp files left by ReportViewer for a total size of 7GB!
Has anyone else had this problem? The files are located in IsolatedStorage:

The full path can look something like this:

C:\Documents and Settings\UserName\Local Settings\Application Data\IsolatedStorage\wry123m4.5hi\q0dqptc1.nh0\Url.hyiun4sixkjhw2nkg5z2jxnfmdboorji\StrongName.kkilopnkw2qwdkdtkd1n5unpps1wrw2m\Files

The files themselves have file names like ReportPageTempFile-GUID:

ReportPageTempFile-12325f03-9912-452c-90e4-18671f37315b

It seems that one temp file is created for each page in a report, and is not erased when the application exits.

 

UPDATE: These files are generated in Print Preview mode. I use this mode as the default mode, cause it looks nice. The problem persists though. I tried to file a bug on the product feedback page but the site isn't working.

Viewing all 519 articles
Browse latest View live


Latest Images

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