I'm also trying to use the ReportViewer control, to some success.
Assuming you are passing parameters through code, you can use the
SetQueryParameter(), which is the same as the Ode To Code example.
Remember, if it is not a report parameter, always include the prefix (i.e.
rc, rs). Without these prefixes, the parameters are treated as report
parameters and you get the rsUnknownReportParameter error.
SetParameter("rc:Parameters","false");
SetParameter("rc:DocMap","false");
SetParameter("rc:LinkTarget","_top");
The rsInvalidItemPath error is usually due to some invalid characters on the
URL string. Try removing the "amp;" on your url.
Hope this helps.
Marlon
[quoted text, click to view] "RemoteDeploy" <bofobofo@yahoo.com> wrote in message
news:1108516396.906611.247880@f14g2000cwb.googlegroups.com...
> Hello all,
>
> I am trying to use the reportviewer control to publish reports in
> another website to provide customised interface.
> I am using the example at
>
http://www.odetocode.com/Articles/128.aspx to try to make it work.
> It works fine normal. I get a frame of params and after Submitting i
> get the report in another frame.
>
> When I try to hide the paramters frame and send parameters through the
> Reportpath property I get the following errors.
>
> When I set a param a value this is the error I get:
>
> An attempt was made to set a report parameter 'param_IdServer' that is
> not defined in this report. (rsUnknownReportParameter) Get Online Help
>
> When I dont pass any params but still have the command
> rc:Parameters=false& in the URL i get the follow error.
>
> The path of the item '/projectname/reportname,' is not valid. The full
> path must be less than 260 characters long, must start with slash;
> other restrictions apply. Check the documentation for complete set of
> restrictions. (rsInvalidItemPath) Get Online Help
>
> I would like to know where is the problem.
>
> Thanks
> Ravi
>