Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesIssue with Telerik controls in DNN9.1Issue with Telerik controls in DNN9.1
Previous
 
Next
New Post
1/29/2019 5:11 PM
 

I have recently updated a DNN 7 site to DNN9.1.1. The site includes a couple of modules that were originally developed for DNN6 using web forms and Telerik Web Controls for DNN. As required for DNN9, I have recompiled these modules against DNN8 Core and the sunset version of the Telerik controls (2013.2.717.40). 

The site works correctly in a default IIS website configuration in my local development environment, but when I deploy it to my hosting provider's server, whenever I click on a button (eg paging, sorting etc) in the Telerik grid, an exception is thrown (see below).

Can anyone suggest what may be causing this please?

[NotSupportedException: Collection is read-only.]
   System.Collections.Specialized.NameObjectCollectionBase.BaseSet(String name, Object value) +6664741
   System.Web.HttpServerVarsCollection.SetServerVariableManagedOnly(String name, String value) +117
   System.Web.HttpServerVarsCollection.SynchronizeServerVariable(String name, String value, Boolean ensurePopulated) +51
   System.Web.HttpRequest.SynchronizeServerVariable(String name, String value) +114
   System.Web.Hosting.IIS7WorkerRequest.GetServerVarChanges(HttpContext ctx) +314
   System.Web.Hosting.IIS7WorkerRequest.SynchronizeVariables(HttpContext context) +9944570
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +151


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
2/15/2019 2:24 AM
 

After many hours experimenting with this site, it turns out that it had nothing to do with the Telerik controls. It happened with other core modules as well. The culprit was an obscure setting on the FriendlyURLProvider. Changing the entry in web.config from

        <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="humanfriendly" />

to

        <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="Advanced" />

did the trick.




Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesIssue with Telerik controls in DNN9.1Issue with Telerik controls in DNN9.1


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out