.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

Report Viewer - Web Part Preview Error

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#
 

Report viewer web part preview is showing the following error

Microsoft SQL Server Reporting Services
ErrorError
This web part has not been configured correctly. Please contact the document owner.

I have to resolve this error to customize the report viewer.  How to resolve this error


Dhanapal Chinnusamy


View Complete Post


More Related Resource Links

Report viewer error

  



  • An error has occurred during report processing.
    • A data source instance has not been supplied for the data source "PatientDetailsReport_DataTable1".




  • i am using two to three rdlc reports in my page for single report viewer when i first load the page i got the output in reportviewer but when i try to load other rdlc report then am getting the above mentioned error.i cleared all the datasources for the report viewer before giving new datasource but am getting the same error pls someone help



Report Viewer Control Error

  
Hi All, I am adding a report datasource dynamically to report view web server control and getting the following eroor when i open the page. The DataSourceID of the ReportDataSource 'DataSet1_employees' of the ReportViewer 'ReportViewer1' must be the ID of a control of type IDataSource. A control with ID 'DataSet1_employees' could not be found.     Please help me where i am going wrong. The code is given below: protected void Page_Load(object sender, EventArgs e)    {        ReportViewer1.ProcessingMode = ProcessingMode.Local;        ReportViewer1.LocalReport.ReportPath = "Report2.rdlc";         ReportDataSource rdS = new ReportDataSource("Employees", GetData());        rdS.DataSourceId = "DataSet1_employees";        //this..Add(rdS);                ReportViewer1.LocalReport.DataSources.Add(rdS);        ReportViewer1.LocalReport.DataSources["Employees"].DataSourceId = "DataSet1_employees";        ReportViewer1.LocalReport.DataSources["Employees"]

report viewer error / visual web developer 2008 / sql server 2008 / report viewer add on / win7 x64

  
hi, i decided to export my local site to iis today, the process wasn't smooth.   anyway. i was able to access my site, the db tables are working as i am able to create new records and retrieve them. my main problem now is with the report object. i've tried the work around found here : http://support.microsoft.com/kb/2002980.. it helped sort of. i used to have only a big page of error before i did the work around, now i am able to see half of the report (the report interface) but the contents, the field are filled with 404 errors. any idea how i can fix this??                  

Report Builder 3 report preview error in SharePoint integrated mode

  
Hello folks! I've faced some strange error with RB 3.  My environment is: Win 2008R2+SQL2008R2 CU3+Sharepoint Foundation services 2010 SharePoint services integrated with Reporting Services.  When I try to run RB3 from SharePoint library and built some report I get strange error at the previw screen : Failed to preview report. The item 'http://myserver/cd6409dc-1089-4e8a..' cannot be found. Details: System.Web.Services.Protocols.SoapException: The item 'http://myserver/cd6409dc-1089-4e8a-a2a4-f231c97039aa' cannot be found. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item 'http://myserver/cd6409dc-1089-4e8a-a2a4-f231c97039aa' cannot be found.    at Microsoft.ReportingServices.WebServer.ReportingService2010Impl.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings)    at Microsoft.ReportingServices.WebServer.ReportingService2010.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings)  The most intresting thing, that my test environment with Win 2008R2 CTP+SQL2008R@ Nov CTP is working properly without any error. Could you please advise how to resole this problem? Thanks in advance, Andre.  

Report Viewer Webpart shows error

  
Hi Friends, I am Report Viewer Webpart in sharepoint 2010 when i provide the report1.rdl to this webpart it shows the error "SQL extension is not registerd on this web application" any help would be appreciated  

JavaScript Error while calling a drill through report in a report viewer from a asp.net web page.

  

I am calling a report in a web page which is getting displayed in report viewer. This report comes fine but when I click on it to see the drill through report for this parent report the drill through report does not get displayed and I see a JScript error instead.

The error I get is something like,

parent.document.GetElementByID(...).ClientController is not null or not an object

The aspx page that contains the report viewer inherits from a master page that contains an Update Panel.

I tested the report separately in SSRS and the drill through is working fine there.

Can some one please provide any inputs on this one?

 

Regards.


VS 2010 Report Viewer Designer Error

  

Hi ,

I have installed VS2010 Ultimate version and placed a report viewer in a web form . When i try to design a report thru the report viewer i get this error.

Could not load file or assembly 'ZedGraph' version = 5.1.0.40439 , Culture = neutral , PublicKeyToken = 02a83cbd12fcd60 or one of its dependencies . The system cannot find the file specified .


Regards



Best Practice for connect SSRS Report Viewer Web part with custom filter web part (With Dropdown\Lis

  

To make a filter provider web part, I implemented the interface ITransformableFilterValues.
Implemented the various properties of the ITransformableFilterValues interface
and method that creates an instance of our filter provider.

[aspnetwebparts.ConnectionProvider("AccountFilter", "ITransformableFilterValues", AllowsMultipleConnections = true)]
public ITransformableFilterValues SetConnectionInterface()
{
return this;
}

Is this a best practice .Please share your suggestion.

Regards,
Prashob


Best Practice for connect SSRS Report Viewer Web part with custom filter web part (With Dropdown\Lis

  

To make a filter provider web part, I implemented the interface ITransformableFilterValues.
Implemented the various properties of the ITransformableFilterValues interface
and method that creates an instance of our filter provider.

[aspnetwebparts.ConnectionProvider("AccountFilter", "ITransformableFilterValues", AllowsMultipleConnections = true)]
public ITransformableFilterValues SetConnectionInterface()
{
return this;
}

Is this a best practice .Please share your suggestion.

Regards,
Prashob


Can I "hard-code" a particular report in the report viewer web part?

  

Hi there,

I am wondering if it is possible to "hard-code" a particular report in the report viewer web part, such that this report is automatically loaded when a user visits a particular site. I am asking that question because I do not want to select the same report each time I want to view it; I just would like to have a link that will get me the report right away.

Best wishes

Oliver

 


SPFeatureReceiver: Creating report viewer web part programmatically

  

I have a feature that adds a report viewer web part (SP integrated mode) into the newly created site page.

Problem: The feature activates without any problem through the UI, but I cannot activate it through STSADM (which will be the case when going to production).

Here is my code block that adds the web part to the page. This code block exists in FeatureActivated:

Assembly currentAssembly = Assembly.GetExecutingAssembly();
string dwpStr = string.Empty;

try
{
    using (Stream resourceStream = currentAssembly.GetManifestResourceStream("Report.dwp"))
    {
        using (StreamReader sr = new StreamReader(resourceStream))
        {
            dwpStr = sr.ReadToEnd();
            dwpStr = string.Format(dwpStr, web.Url);
            sr.Close();
        }
        resourceStream.Close();
    }

    using (StringReader sr = new StringReader(dwpStr))
    {
        string err = string.Empty;
        System.Web.UI.WebControls.WebParts.WebPart wp = wpMan.ImportWebPart((XmlReader.Create(sr as TextReader)), out err); //Exception thrown from this line
        wpMan.AddWebPart(wp, "HeaderZone", 0);
    }
}
catch (Exception ex)
{
    //Log errors
}
Report.dwp is as follows:
<?xml version="1.0" encoding="utf-8"?>
<WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&q

Report viewer web part: Dependency of parameter choices on user rights?

  

Hi there,

I am wondering if it is possible to restrict the choices for a parameter depending on the user rights. For instance, if an "administrator" can select three different options for one particular parameter, a "normal user" should only be able to choose from two.

I am using Sharepoint 2007 and Reporting Services 2005.

Best wishes

Oliver

 


Getting error while adding field to data viewer web part

  

I have custom EditItemForm for a custom list having over 100 columns. That EditItemForm contains a DataFormWebPart in edit mode having over 100 <SharePoint:FormField controls.

 

If I browse for the above page in internet explorer, I got got the generic error:

 

"Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.

Report Viewer Web Part - MOSS 2007

  

 

Hi

     I am working with the Report Viewer webpart on sharepoint 2007 to display reports from another server (native reports). So now i am showing around 4 RS reports on the sharepoint site side by side. The reports seem to appear fine.

 

Now when i try to change the title of the Report Viewer webpart to display the name of the report it just dosent seem to change for more than one. Every time i click 'Modify Shared Webpart' the title of the report viewer webpart reverts back to the default 'Report Viewer'.

 

I also tried opening the sharepoint page using the 'Sharepoint Designer'. The titles seem to reflect the entries i have entered. But the titles just dont appear on the sharepoint page.

 

I have been trying to figure out if there is some autogeneration of webpart titles taking place but just cant seem to figure that out. Any help would be greatly appreciated as i have been stuck on this for quite some time.

 

 

 

 

Thanks

Sriraag

 


How To disable Export Format in Dropdown List of report viewer web part?

  

hi,

does any one knows how to disable the export option in the dropdown list of report viewer web part?

thnx


Report Viewer 10 / "Not a trusted assembly" error

  

Hi

We updated our application to VS2010 / .NET 4.0. We are using the WinForms Report Viewer control to display .rdlc files. Some of the files reference framework DLLs (System.Core, System.Drawing, System.Xml)

*If* I use the deprecated methods, everything works. 

Set the CAS policy to legacy in the app.config:

<NetFx40_LegacySecurityPolicy enabled="true" />

Trust the assembly:

_reportViewer.LocalReport.AddTrustedCodeModuleInCurrentAppDomain("System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");

HOWEVER: I would like to not depend on the deprecated method. If I do this, instead:

            PermissionSet permissions = new PermissionSet(PermissionState.None);

            permissions.AddPermission(new FileIOPermission(PermissionState.Unrestricted));

            permissions.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution));

            _reportViewer.LocalReport.SetBasePermissionsForSandboxAppDomain(permissions);

            Assembly asmSystemDrawing = Assembly.Load("System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=

Error on page with Report Viewer

  

VS2010 (vb.net)

I have an aspx page that contains a gridview and a report Viewer. When the user select a report from the gridview the the report is loaded into the viewer. My problem is when the initial page loads I get an

Error: Sys.ArgumentNullException: Value cannot be null.
Parameter name: panelsCreated[1]

as no report is loaded into the report viewer. Is there a way round this without loading a report ?

 


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend