NewsRotator Sample
Hi Telerik team,
when I followed the documentation about (installing a widget from SDK to your website) to install NewsRotator in my website I received this error when I tried to get into my website.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
|
|
Problem solved.
Hi,
The error was caused because either the newsrotator project from Sitefinity SDK and your sitefinity project were refering to different versions of Sitefinity. The NewsRotator sample was taken form the latest SDK where the version of all samples is 5.0.2860 and this was causing the problem since newsrotator was expecting 5.0.2860, but it was 5.0.2800. There is a resolution to the problem without upgrading the project. In newsrotator project change the assembly references to point to the sitefinity assemblies located in the bin folder of your Sitefinity project this way the both project will use the same version of Sitefinity.
Greetings,
Stanislav Velikov
the Telerik team
Please guide me how to do it step by step.
I am new to sitefinity
I have tried to do what you asked me to do.
I opened the sitefinitywebapp > References > Telerik.Sitefinity.dll of newsrotator project
changed the assembly reference to 5.0.2868.0 instead of 5.0.2800.0
am I doing it right?
Hello,
If you project is on Sitefinity 5.0.2800 then we need to change the Sitefinity assemblies of the NewsRotator sample in visual studio to be the same version.
In visual studio add the newsrotator project to your Sitefinity solution and expand the references dropdown of the newsrotator project. Delete the references for:
Telerik.Sitefinity, Telerik.Sitefinity.Resources, Telerik.Sitefinity.Modules, Telerik.Sitefinity.Utilities, Telerik.OpenAccess3.5.Extensions and Telerik.OpenAccess4.0.Extensions(if you have it referenced.)
Then right click references and "Add Reference..." -> Browse and browse to the bin folder of your Sitefinity project. Add the same referenced you have removed Telerik.Sitefinity, Telerik.Sitefinity.Resources, Telerik.Sitefinity.Modules, Telerik.Sitefinity.Utilities, Telerik.OpenAccess3.5.Extensions and Telerik.OpenAccess4.0.Extensions and click OK.
The references are not taken from the Sitefinity project and their version now is for sure Sitefinity 5.0.2800.
Build the newsrotator project and reference it in Sitefinity.
All the best,
Stanislav Velikov
the Telerik team
I am using the standard version and I don't have e-commerce module inbuilt . But I require to create a product module for which first product with image only should be displayed and then after on click on the particular product, I should get the details of the Product. Please instruct me regarding the issue how can I create the custom Product Module using the user controls.
Hello Hemendra,
I believe that the Module builder is the tool best suited for your needs. Additionally I would suggest to take a look at the following webinar, which I believe you will find useful.
Regards,