Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 26, 2013 @ 09:59
    Stefan Kip
    0

    Pixlr iframe error with .NET 4.5

    When using .NET 4.5 and clicking the Pixlr link, an exception is thrown:

    Server Error in '/' Application.
    
    Parser Error
    
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 
    
    Parser Error Message: The base class includes the field 'iframePixlr', but its type (System.Web.UI.HtmlControls.HtmlGenericControl) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlIframe).
    
    Source Error: 
    
    
    Line 2:  
    Line 3:  <asp:Content ID="ContentPage" ContentPlaceHolderID="body" runat="server">
    Line 4:  <iframe id="iframePixlr" runat="server" style="width: 100%; height: 97%; min-height: 768px;" frameborder="0"></iframe>
    Line 5:  </asp:Content>
    
    Source File: /umbraco/plugins/DigibizAdvancedMediaPicker/Pixlr.aspx    Line: 4 
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18044
    

    This is a known error when migrating from .NET 4.0 to 4.5: http://briancaos.wordpress.com/2013/08/07/system-web-ui-htmlcontrols-htmliframe-is-not-compatible-with-the-type-of-control-system-web-ui-htmlcontrols-htmlgenericcontrol/

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Aug 26, 2013 @ 10:02
    Jeroen Breuer
    0

    Does this mean I need to create a special version of DAMP for .NET 4.5 or is there a solution where I can fix it for all versions?

    Jeroen

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 26, 2013 @ 10:03
    Stefan Kip
    0

    I don't know, that's a good question...

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 27, 2013 @ 13:51
    Stefan Kip
    0

    I'll create a fork which will fix this issue.

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Aug 27, 2013 @ 13:53
    Jeroen Breuer
    0

    Thanks :-). Did you already find out if I'll need to release 2 versions of DAMP for .NET 4.0 and .NET 4.5 to fix this?

    Jeroen

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 27, 2013 @ 13:55
    Stefan Kip
    0

    No it's not necessary. The fix will be available in a few minutes.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 27, 2013 @ 14:01
  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Aug 27, 2013 @ 14:22
    Jeroen Breuer
    0

    I added you as a developer to the codeplex project so you can accept the pull request yourself ;-).

    Jeroen

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Sep 16, 2013 @ 12:14
    Jeroen Breuer
    0

    Hello,

    I've released DAMP 2.6 in which this bug and some other bugs are fixed.

    Jeroen

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies