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

RadGrid Errors when updating to Telerik 2014.2.618.40

5 Answers 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Amanda
Top achievements
Rank 1
Iron
Amanda asked on 20 Nov 2014, 12:06 AM
Howdy all!

I'm doing a major update on my project, and I hope someone can assist me with a problem I'm experiencing.

My project WAS VS 2010, Framework 3.5, Telerik 2013.2.611.35.  Now I'm moving it over to VS 2013, Framework 4.0, Telerik 2014.2.618.40.  My first pages (with text boxes and buttons, simple controls) work fine.  As soon as I hit a page with a grid though - a grid with several detail tables and an initial data source of String.Empty - I am getting the below error.

Looking at the Stack Trace, I was like 'Huh, get_Caption()'?  Went to my grid and sure enough, I'd never defined Caption.  So I defined it as Caption="" on the main table and all detail tables, and ran it again.  I got ANOTHER error of the same vein, but this time it was 'get_FilterExpression', so I formally disabled filtering.  Then I got ANOTHER error of the same vein on 'get_SortToolTip'.

My entire project is mostly grids of one flavor or another - many many many grids.  Am I going to have to define EVERYTHING on EVERY grid?  Did something go awry when I converted the project over using the wizard?  Is there something I'm missing that's new in say web.config or somewhere else?

Thanks all!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Offending URL: http://localhost:12345/GridPage.aspx Source: mscorlib Message: Could not load file or assembly 'Telerik.Web.UI.resources, Version=2014.2.618.40, Culture=en-US, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The system cannot find the file specified.
Stack trace:
 at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
 at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
 at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
 at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
 at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
 at Telerik.Web.LocalizationProvider.EmbeddedResourceLocator.GetString(String resourceKey, CultureInfo culture)
 at Telerik.Web.LocalizationProvider.EmbeddedResourceLocator.GetString(String resourceKey)
 at Telerik.Web.LocalizationProvider.GetString(String resourceKey)
 at Telerik.Web.UI.GridStrings.GetString(String key)
 at Telerik.Web.UI.GridStrings.get_Caption()
 at Telerik.Web.UI.GridTableView.get_Caption()
 at Telerik.Web.UI.GridGroupPanel.CreateMainTable()
 at Telerik.Web.UI.GridGroupPanel.InitializeIn(RadGrid grid, Boolean FromViewState)
 at Telerik.Web.UI.RadGrid.CreateChildControls(IEnumerable dataSource, Boolean dataBinding)
 at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
 at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
 at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
 at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
 at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
 at Telerik.Web.UI.RadGrid.DataBind()
 at Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason)
 at Telerik.Web.UI.RadGrid.OnLoad(EventArgs e)
 at System.Web.UI.Control.LoadRecursive()
 at System.Web.UI.Control.LoadRecursive()
 at System.Web.UI.Control.LoadRecursive()
 at System.Web.UI.Control.LoadRecursive()
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

5 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 24 Nov 2014, 01:39 PM
Hello Amanda,

I am afraid that we do not have reports for this exact error when upgrading the controls. However, there are some common issues that are related to Visual Studio 2013. Check out the following resources that elaborate more on the matter:


Try to follow the suggestion from the threads above and see if it makes a difference. Also, try to upgrade the controls to the latest version. The latest release is 2014.3.1024. When upgrading the controls make sure you follow the guidelines in this article.

 



Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Amanda
Top achievements
Rank 1
Iron
answered on 26 Nov 2014, 10:36 PM
Thanks for the reply Viktor!  I have just spent the day with this lovely, lovely error, and here's what I've figured out so far.

While the two links you sent me no doubt answer later questions I'd have had, they currently do nothing for the error in the original message.

I cannot easily update, as my project is not the only one using Telerik controls, and I'm not the 'trend setter' project, if that makes sense.  Our other project has never seen this error either.  Yay for being a unique and special snowflake!  -.-  If the only real suggestion is TO update though, I'll see what bosses will do.

2014.2.618.35 works as expected with no issues in VS 2013.  However, our web deployment needs my project in 4.0.

Is there any amount of code or anything that can assist people in figuring out what's going on?  I'll clean it up and post it, but if someone could give me an idea of what they need to see, I'd appreciate it.

Thank you!
0
Viktor Tachev
Telerik team
answered on 01 Dec 2014, 12:52 PM
Hello Amanda,

It is hard to pinpoint what is causing the error. It could be because the references to the assemblies were not updated properly. In order to try and resolve the issue try the following:

  • remove the dll files from the bin folder
  • add the assemblies manually
  • add reference to the new assemblies
  • clean the project (the option can be found under the debug menu)
  • rebuild the project

In case the issue persists please send us a sample where the problem is replicated. This would enable us to inspect the code and look for what may be causing the issue.

Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Amanda
Top achievements
Rank 1
Iron
answered on 09 Dec 2014, 05:12 PM
Viktor,

Sorry for the long wait on this reply, but wanted to update you that we found the root cause of the problem!

Turns out, one of our components was not configured right for Telerik components, so it was throwing an error but showing the Telerik dll it was crashing on.  This is why ya'll hadn't ever seen the error before, and why I couldn't replicate it in a stand alone environment.

I've now got everything working, and I thank you for helping me out!
0
Viktor Tachev
Telerik team
answered on 12 Dec 2014, 08:51 AM
Hello Amanda,

Thank you for getting back to us and also for sharing your solution with the community.

Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Amanda
Top achievements
Rank 1
Iron
Answers by
Viktor Tachev
Telerik team
Amanda
Top achievements
Rank 1
Iron
Share this question
or