aspnet_merge error due to duplicate type 'EditorLoadHandler'

Last post 02-19-2010, 10:16 AM by jamesk. 12 replies.
Sort Posts: Previous Next
  •  02-16-2010, 9:23 AM 58720

    aspnet_merge error due to duplicate type 'EditorLoadHandler'

    I get the following build error:
     
    aspnet_merge : error occurred: An error occurred when merging assemblies: ILMerge.Merge: ERROR!!: Duplicate type 'EditorLoadHandler' found in assembly 'App_Web_az-eoxdp'.

    This is a result of the duplicate file  Load.ashx under ../CuteEditor_files and ../CuteEditor_files/Dialogs.  The only solution I can seem to find online is to change the name conflict.  What are the ramifications of removing this duplicate class name?  Do I need the Load.ashx under ../CuteEditor_files/Dialogs?
  •  02-16-2010, 10:14 AM 58722 in reply to 58720

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    It should have only one load.ashx file. It is under CuteSoft_Client\CuteEditor folder.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-16-2010, 10:27 AM 58726 in reply to 58722

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    Hi Adam,
     
      I downloaded the latest version of CE for .NET and there are two load.ashx files.  One is under CuteSoft_Client\CuteEditor and the other is under CuteSoft_Client\CuteEditor\Dialogs.  I'm concerned with simply deleting the file located under CuteSoft_Client\CuteEditor\Dialogs.  Why are there duplicates of this Load.ashx files?  What issues (if any) will arise from deleting this file?  Both of these files were also duplicates in the last version we used (6.0) so I can't imagine it is just a mistake for this version.
     
    Thanks,
     
    James

     
  •  02-16-2010, 11:11 AM 58729 in reply to 58726

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    James,
     
    Can you delete all client files of Cute Ediotr and download version 6.6 then try again?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-16-2010, 11:45 AM 58732 in reply to 58729

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    Adam,
     
     I deleted all the client files and downloaded the latest version (6.6)
     
     My main concern is lost of functionality by removing one of these files.
     
    These are two screen shots that show the duplicate files in the downloaded .zip:
     
     
  •  02-16-2010, 3:24 PM 58739 in reply to 58729

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    Adam,
     
      Any word on whether or not it is safe to delete the Load.ashx file under CuteSoft_Client\CuteEditor\Dialogs without any loss of functionality?
     
    Thanks
  •  02-18-2010, 10:24 AM 58809 in reply to 58739

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    We are also having this problem when we run our deployment project.  Any suggestions for fixing this so we can deploy our project?
     
    thanks, Koren
  •  02-18-2010, 1:31 PM 58813 in reply to 58722

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    Adam.

    According to your post, as well as doing a live chat with "Eric", it appears there should only be one Load.ashx file which is located under CuteSoft_Client\CuteEditor.  However, as I have demonstrated in my screenshots above there is an additional Load.ashx file located under
    CuteSoft_Client\CuteEditor\Dialogs.  I removed the Load.ashx under CuteSoft_Client\CuteEditor\Dialogs per my chats with support.  This resolved my original merge issue; however, I am now experiencing a loss of functionality.  The following is a screen shot of what I seen when using the insert link button now:
     
     
     
     I am unable to use the "Browse" button or resize the window.  So, this leads me to believe that the duplicate Load.ashx is in fact needed.  Now I am back to my original issue with the merge.  To overcome this I have now renamed the conflict in the second Load.ashx file to the following:
     
    %@ WebHandler language="C#" Class="EditorLoadHandler1"  %>
    /* class="CuteEditor.LoadHandler,CuteEditor,Version=6.6.0.0,Culture=Neutral,PublicKeyToken=3858aa6802b1223a" */
    public class EditorLoadHandler1 : CuteEditor.LoadHandler
    {
    }
     
    The addition of "1" overcomes the duplicate type conflict.  However, I am not sure if there will be any other issues that arise.  Is this an acceptable workaround?  Do you have a solution yet?
     
     
  •  02-18-2010, 1:31 PM 58814 in reply to 58722

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    Adam.

    According to your post, as well as doing a live chat with "Eric", it appears there should only be one Load.ashx file which is located under CuteSoft_Client\CuteEditor.  However, as I have demonstrated in my screenshots above there is an additional Load.ashx file located under
    CuteSoft_Client\CuteEditor\Dialogs.  I removed the Load.ashx under CuteSoft_Client\CuteEditor\Dialogs per my chats with support.  This resolved my original merge issue; however, I am now experiencing a loss of functionality.  The following is a screen shot of what I seen when using the insert link button now:
     
     
     
     I am unable to use the "Browse" button or resize the window.  So, this leads me to believe that the duplicate Load.ashx is in fact needed.  Now I am back to my original issue with the merge.  To overcome this I have now renamed the conflict in the second Load.ashx file to the following:
     
    %@ WebHandler language="C#" Class="EditorLoadHandler1"  %>
    /* class="CuteEditor.LoadHandler,CuteEditor,Version=6.6.0.0,Culture=Neutral,PublicKeyToken=3858aa6802b1223a" */
    public class EditorLoadHandler1 : CuteEditor.LoadHandler
    {
    }
     
    The addition of "1" overcomes the duplicate type conflict.  However, I am not sure if there will be any other issues that arise.  Is this an acceptable workaround?  Do you have a solution yet?
     
     
  •  02-19-2010, 12:22 AM 58833 in reply to 58814

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    Please download the latest build then try again.
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-19-2010, 8:26 AM 58836 in reply to 58833

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    Adam,
     
    The latest build has resolved my merge conflict and everything seems to be in order.  Thank you! 
     
    Would you be able to tell me what files were changed in this latest build?  I'm asking because I need to determine if I need to update the .dlls as well as the \CuteEditor_files folder for my next build.  I'm hoping you can save me some time if I only need to update a couple files such as the Load.ashx file under Dialogs.
     
    Thanks
  •  02-19-2010, 10:14 AM 58839 in reply to 58836

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    Just update this file CuteSoft_Client\CuteEditor\Dialogs\Load.ashx.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-19-2010, 10:16 AM 58840 in reply to 58839

    Re: aspnet_merge error due to duplicate type 'EditorLoadHandler'

    Thanks for the help!
View as RSS news feed in XML