This is a migrated thread and some comments may be shown as answers.

same exact code on 2 different sites

1 Answer 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
richard
Top achievements
Rank 1
richard asked on 22 Sep 2011, 07:19 PM
One website the reports show up perfectly; however, on another website (because we have clients on the other side of the world so we have 2 sites with same exact code) i get the error "one or more parameters are not set or have invalid values".

I have compared the web.config files and they are the same also, except for sql server names based on which website it is...no cross domain stuff going on.

So why would this happen? Are there configuration issues that the website host needs to resolve or????

Other data displays work great it is just when I try to display a report.

Thanks,
Richard

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 26 Sep 2011, 06:39 PM
Hello Richard,

As the error message points, there are some improperly configured report parameters in the report you're trying to display and you should compare them as the culprit for this issue. Specifically check the AllowNull and AllowBlank properties. Of course it could be the second option - the parameter/s do not have value specified. As you're using a separate SQL Server, verify that the queries for the report parameters return data with the provided connectionString in your web.config.

Regards,
Steve
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
richard
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or