Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When using .NET 4.5 and clicking the Pixlr link, an exception is thrown:
Server Error in '/' Application.
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).
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/
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?
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?
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 ;-).
I've released DAMP 2.6 in which this bug and some other bugs are fixed.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted