cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Operation illegal on linked parameter.

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (0)