I just started my trial period and am still trying to figure things out.
I have an ASP.NET MVC website. I added a Terlerik Report Library project to my solution. In it, I created a report using Visual Studio Report Designer. The report uses an ObjectDataSource which points to a function in a custom DLL in my solution. When I run my website and go to the
report viewer page I get the error:
I have tried copying this from the report library's app.config to my website's web.config
<Telerik.Reporting>
<Cache provider="" />
<cache provider="" />
<assemblyReferences>
<add name="MyLib" version="1.0.0.0" />
</assemblyReferences>
<SessionState provider="" />
<restReportService>
<storage provider="" />
<reportResolver provider="" />
</restReportService>
</Telerik.Reporting>
but this causes my website to have a config error: "The configuration section 'Telerik.Reporting' cannot be read because it is missing a section declaration"
I have also found this forum post
http://www.telerik.com/forums/the-assembly-xxx-is-not-permitted-to-be-used-in-an-objectdatasource
but I don't understand things well enough yet to know what I'm supposed to do with a custom resolver.
I have an ASP.NET MVC website. I added a Terlerik Report Library project to my solution. In it, I created a report using Visual Studio Report Designer. The report uses an ObjectDataSource which points to a function in a custom DLL in my solution. When I run my website and go to the
report viewer page I get the error:
The assembly "MyLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" is not permitted to be used by an ObjectDataSource component. Please include it in an AssemblyReferences element in the Telerik.Reporting configuration section of your application configuration fileI have tried copying this from the report library's app.config to my website's web.config
<Telerik.Reporting>
<Cache provider="" />
<cache provider="" />
<assemblyReferences>
<add name="MyLib" version="1.0.0.0" />
</assemblyReferences>
<SessionState provider="" />
<restReportService>
<storage provider="" />
<reportResolver provider="" />
</restReportService>
</Telerik.Reporting>
but this causes my website to have a config error: "The configuration section 'Telerik.Reporting' cannot be read because it is missing a section declaration"
I have also found this forum post
http://www.telerik.com/forums/the-assembly-xxx-is-not-permitted-to-be-used-in-an-objectdatasource
but I don't understand things well enough yet to know what I'm supposed to do with a custom resolver.