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
Pixlr iframe error with .NET 4.5
When using .NET 4.5 and clicking the Pixlr link, an exception is thrown:
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/
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
I don't know, that's a good question...
I'll create a fork which will fix this issue.
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
No it's not necessary. The fix will be available in a few minutes.
Here it is: https://damp.codeplex.com/SourceControl/network/forks/kipusoep/net45fix/contribution/5277
I added you as a developer to the codeplex project so you can accept the pull request yourself ;-).
Jeroen
Hello,
I've released DAMP 2.6 in which this bug and some other bugs are fixed.
Jeroen
is working on a reply...
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.