Serialization error when StateServer is SqlServer

4 posts, 0 answers
  1. Andreas Dahlén
    Andreas Dahlén avatar
    16 posts
    Member since:
    Mar 2010

    Posted 09 Oct 2012 Link to this post

    Hi!



    We are going to use RadStyleSheetManager to merge and comress all stylesheets.
    But when activating external stylesheets we get a serialization error.  If we don't use external stylesheets it works fine.
    We are using SqlServer as StateServer.
    Telerik version: 2012.2.918.35
    See attached file for error.

    Any ideas on what could be wrong?

    Below are codesnippets from web.config and the aspx-page.

    Web.Config
    <appSettings>
      <add key="Telerik.Web.UI.StyleSheetFolders" value="/Style" />
    </appSettings>
     
    <system.web>
      <httpHandlers>
        <add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2012.2.918.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
      </httpHandlers>
    </system.web>

    aspx-page
    <telerik:RadStyleSheetManager runat="server" ID="rssm">
        <StyleSheets>
            <telerik:StyleSheetReference Path="core.css" />
        </StyleSheets>
    </telerik:RadStyleSheetManager>

  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 12 Oct 2012 Link to this post

    Hello Andreas,

    Interesting, it seems that for some reason ASP.NET is trying to serialize our InsecureExternalStyleSheetException class which is an exception class, which RadStyleSheetManager uses when validating external style sheets. We will need to troubleshoot that one a bit more before stating what might be going wrong. I will write a follow up in this thread after we conduct some tests with a StateServer.

    Greetings,
    Genady Sergeev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Andreas Dahlén
    Andreas Dahlén avatar
    16 posts
    Member since:
    Mar 2010

    Posted 02 Nov 2012 Link to this post

    Hi!

    Have you found anything?
  5. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 07 Nov 2012 Link to this post

    Hello Andreas,

    We didn't have time so far to test what is going wrong. I will update the thread by the end of the week.

    Regards,
    Genady Sergeev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top