Showing posts with label website. Show all posts
Showing posts with label website. Show all posts

Monday, March 19, 2012

How to set the ReportPath for the reportviewer control

In my solution I've got 2 projects. ABCWeb is my website and ABCReports is a Report Server project.

In ABCWeb I have an aspx page that has a single reportviewer control on it which is intended to display the various reports that are in ABCReports . I am not using the Reports Server. I just simply want to set the property of the reportviewer control under LocalReport.ReportPath to the location of the report in ABCReports .

I keep getting this error no matter how I try to reference it.

  • An error occurred during local report processing.
  • The report definition for report '/ABCReports/Reports/rptNoticeOfDecision.rdl' has not been specified
  • Could not find a part of the path 'C:\ABCReports\Reports\rptNoticeOfDecision.rdl'.

    what am I doing wrong

    try something like this

    RVcl.LocalReport.ReportPath ="ABCReports/Reports/rptNoticeOfDecision.rdl";

    -remove the first /

    I assume ABCreports is a sub folder of the application root

  • Friday, February 24, 2012

    How to set an action?

    Hi,
    I want to link to a website (like www.google.com) when user click any cell in cube browser.

    Then I set an action, the setting detail as following:
    Target Type: Cells
    Target Object: All Cells
    Action Content Type: URL
    Action expression: www.google.com

    But it's not work fine. When I click any cell in cube browse there is an error message.

    Is any problem in my setting detail? especially Action expression?

    thanks,You should put double quotes around literal srings in the action expression, so:

    "www.google.com"|||Thanks. I add double quotes to it. There is no error message.

    But I click the cell, there is no response.
    I thought the action would be open a browser and link to google.
    Why the action is no any response?|||Try the full URL: "http://www.google.com", because certain safety options can block browsing if the URL doesn't start with "http://" or "https://"