Russell Damske
Top achievements
Rank 1
Russell Damske
asked on 09 Sep 2010, 06:25 PM
I've been struggling to get the Silverlight Report Viewer running properly in Visual Studio 2010. I created a new project and followed the video tutorial found here, and I keep getting this error:
There is no available report type with assembly qualified name 'ReportLibrary.BasicReport, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Could not load file or assembly 'ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
I'm not sure what I'm doing wrong, I tried creating another project and followed the video again thinking I forgot something but after a few tries I still get the error. The video is from Q3 2009 so maybe there's some small difference between the latest Q2 2010 version and the version in the video that is throwing me off.
I should mention that I originally created the project in .NET 4.0, in this help document It recommends.NET 3.5 so I tried creating and running a .NET 3.5 Silverlight App in VS2010 but still no luck. The project I would like to add the Report Viewer to is running on .NET 4.0, can I use the Report Viewer in .NET 4.0 or do I need to use .NET 3.5?
Please let me know if there is anything else you need from me, any help is appreciated.
Thank you.
There is no available report type with assembly qualified name 'ReportLibrary.BasicReport, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Could not load file or assembly 'ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
I'm not sure what I'm doing wrong, I tried creating another project and followed the video again thinking I forgot something but after a few tries I still get the error. The video is from Q3 2009 so maybe there's some small difference between the latest Q2 2010 version and the version in the video that is throwing me off.
I should mention that I originally created the project in .NET 4.0, in this help document It recommends.NET 3.5 so I tried creating and running a .NET 3.5 Silverlight App in VS2010 but still no luck. The project I would like to add the Report Viewer to is running on .NET 4.0, can I use the Report Viewer in .NET 4.0 or do I need to use .NET 3.5?
Please let me know if there is anything else you need from me, any help is appreciated.
Thank you.
6 Answers, 1 is accepted
0
Hi Russell,
According to the error, the viewer cannot locate the assembly containing your report. This can happen if you're missing a reference to the report library in the Silverlight Web project - please add this reference and rebuilt your web project. I've noticed that this step is somehow missing from the video (probably skipped by mistake when editing it), so we would modify it to contain the missing step to avoid further confusion.
Sorry for the temporary inconvenience.
All the best,
Steve
the Telerik team
According to the error, the viewer cannot locate the assembly containing your report. This can happen if you're missing a reference to the report library in the Silverlight Web project - please add this reference and rebuilt your web project. I've noticed that this step is somehow missing from the video (probably skipped by mistake when editing it), so we would modify it to contain the missing step to avoid further confusion.
Sorry for the temporary inconvenience.
All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Russell Damske
Top achievements
Rank 1
answered on 10 Sep 2010, 08:15 PM
Thank you Steve!
I added the Report Library Class as a reference to the .web like you said. I had one more error but it was easy to fix, I had to add the connection string created by the report wizard in app.config to the web.config in my .web portion of the project. I'm glad the fix was easy
Great product so far, thank you!
I added the Report Library Class as a reference to the .web like you said. I had one more error but it was easy to fix, I had to add the connection string created by the report wizard in app.config to the web.config in my .web portion of the project. I'm glad the fix was easy
Great product so far, thank you!
0
Eduardo Rojas
Top achievements
Rank 1
answered on 07 Feb 2011, 08:07 PM
Hi, I have the same problem, but it and managed to solve:
""There is no report available with assembly qualified type name'LibreriaReportes.Report1, LibreriaReportes, Version = 1.0.0.0, Culture =neutral, PublicKeyToken = null'.
Could not load type 'LibreriaReportes.Report1' from assembly'LibreriaReportes, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = null'."
In previous reply you mentioned a video that was missing this part, I can tellwhat the video and if you have to add the reference?.
Thanks
""There is no report available with assembly qualified type name'LibreriaReportes.Report1, LibreriaReportes, Version = 1.0.0.0, Culture =neutral, PublicKeyToken = null'.
Could not load type 'LibreriaReportes.Report1' from assembly'LibreriaReportes, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = null'."
In previous reply you mentioned a video that was missing this part, I can tellwhat the video and if you have to add the reference?.
Thanks
0
Alain Beaulieu
Top achievements
Rank 1
answered on 18 Jul 2011, 08:42 PM
HI Steve,
While the video is being edited (will it ever be?), would it be possible to explain to newbies how to retrieve the assembly-specific name of the CLR type of our report? I have a report named TelerikReport2 (that I created following the video) and I have absolutely no idea how to get its CLR type's assembly-specific name.
Thanks.
Alan-B
While the video is being edited (will it ever be?), would it be possible to explain to newbies how to retrieve the assembly-specific name of the CLR type of our report? I have a report named TelerikReport2 (that I created following the video) and I have absolutely no idea how to get its CLR type's assembly-specific name.
Thanks.
Alan-B
0
Hi Alain Beaulieu,
There were some rearrangements in the video portal and the updated video is not reflected. I would contact our web admins for this problem and the video would be changed.
As for your question, check the following MSDN article for more information.
All the best,
Steve
the Telerik team
There were some rearrangements in the video portal and the updated video is not reflected. I would contact our web admins for this problem and the video would be changed.
As for your question, check the following MSDN article for more information.
All the best,
Steve
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
0
Jose
Top achievements
Rank 1
answered on 14 Sep 2012, 08:06 AM
well i had the same problem and i was using also a external library with my class, just like the video. but i didnt work. so i put the same clases in the same project of the report repository. i mean the "product" and "products" classes. otherwise i recive that error.
hope that helps!
hope that helps!