Skip to Content
author's profile photo Former Member
Former Member

Error: Operation illegal on linked parameter.

Hi,

I am running a reports from c# application after updating datasource to a dataset. But I get the following error when running reports with sub-reports.

Error in File RptGroup {37DC74F5-5A6A-4517-AA4C-D5D9C5991968}.rpt:

Operation illegal on linked parameter.

I am updating all stored procedure parameters for the report, but not doing anything for other parameter types. What should I do to get rid of this error?

Thanks

Ajith

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2010 at 08:37 PM

    Well,.I thought I was not setting values for parameter types other than stored procedure, but I was.

    rptParam.ApplyCurrentValues(rptParamValues); was outside the code that loops through parameter values.

    I have fixed this and the code is working fine.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.