Could not load type 'CuteEditor.Dialogs.GetFileThumb'

Last post 02-02-2006, 5:05 AM by paulf. 8 replies.
Sort Posts: Previous Next
  •  04-04-2005, 8:22 PM 5322

    Could not load type 'CuteEditor.Dialogs.GetFileThumb'

    Hi,
     
    Has Cute Editor been tested in ASP.NET 2.0 (Whidbey)?   I just downloaded & installed per instructions, and I'm receiving a compile time error:  Build(web): Could not load type 'CuteEditor.Dialogs.GetFileThumb',  in file GetFileThumb.aspx. 

    This occurs in the CuteSoft_Client/CuteEditor folder in my application, which I copied in per instructions.  It occurs even without any explicit use of the control in a client page.  I have to remove the CuteSoft_Client folder in order to get a clean build.  

    Any thoughts?  This is a ASP.NET 2.0 beta1 project.
    Thanks,
    Doug G.
  •  04-04-2005, 8:34 PM 5323 in reply to 5322

    Re: Could not load type 'CuteEditor.Dialogs.GetFileThumb'

    Doug,

    The following situation happened to other developers before:
     
    When you are using the Visual Studio IDE to include the " CuteEditor" folder into your Visual Studio project, it prompts you to create a code-behind file for the *.aspx.

    If you select "Yes", the a new code-behind files will be created by the Visual Studio IDE.

    For example: your CuteEditor.htc._js.aspx file will be changed to:

    <%@ Page Language="vb" ContentType="text/javascript" Inherits="ProvBET.CuteEditor_htc__js" CodeBehind="CuteEditor.htc._js.aspx.vb" AutoEventWireup="false" %>
    Line 2:  //ContentType="text/javascript"
    Line 3:  

    But the new code-behind files are empty.
     
    Can you check your project?

    Steps to fix this problem:

    1. Delete all the files in CuteEditor fodler.

    2. Copy "CuteEditor" folder into your Visual Studio project again, when prompts you to create a code-behind file for the *.aspx, please select "NO" .
     
    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

  •  04-05-2005, 2:14 PM 5343 in reply to 5323

    Re: Could not load type 'CuteEditor.Dialogs.GetFileThumb'

    Adam,
     
    No code-behind files were created,  the error references the CuteSoft_Client/CuteEditor/Dialogs/GetFileThumb.aspx page, which contains the single line:

    <%@ PageLanguage="C#"Inherits="CuteEditor.Dialogs.GetFileThumb"%>

    FYI,  I had originally simply Xcopied the CuteSoft_Client folder into my app folder, rather than using the IDE, and was not prompted for code-behind option. 
     
    I tried in your way too, but got the same error.
  •  04-05-2005, 2:31 PM 5344 in reply to 5343

    Re: Could not load type 'CuteEditor.Dialogs.GetFileThumb'

    Doug,
     
    Most of these kind of problems can be resolved by recopying the Cute Editor client files to the server.
     
    Can you try this method and keep me posted?

    Is your site online so you can provide a URL? If you still have problems, I think I need your site FTP access

    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

  •  04-06-2005, 9:29 AM 5365 in reply to 5322

    Re: Could not load type 'CuteEditor.Dialogs.GetFileThumb'

    Do you add CuteEditor.dll at first ?

     
    Regards , Terry .
  •  04-15-2005, 2:01 AM 5754 in reply to 5365

    Re: Could not load type 'CuteEditor.Dialogs.GetFileThumb'

    Yes, I followed the directions in the Developers Guide explictly.  I also just tried simply opening the sample Demo app and running it directly, but received the same load error.
     
    Deleting the GetFileThumb.aspx page that needs this type eliminated the load error and allowed the sample Demo app to open without error (although I assume some functionality was sacrificed somewhere).
     
    However, attempting the same thing in my target application - deleting that file - resulted in the following exception.  I've confirmed the file exists; I've re-copied from the source as well.  Please advise.  (Again this is a VS2005beta1 app running on XP SP2.  Afraid FTP'ing in is not an option.)

    SecurityPolicyFile : /MyPortal/CuteSoft_Client/CuteEditor/Configuration/Security/default.config not found

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.FileNotFoundException: SecurityPolicyFile : /MyPortal/CuteSoft_Client/CuteEditor/Configuration/Security/default.config not found

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [FileNotFoundException: SecurityPolicyFile : /MyPortal/CuteSoft_Client/CuteEditor/Configuration/Security/default.config not found]
       CuteEditor.Impl.EditorProvider.LoadEditorConfigurationFromFiles() +747
       CuteEditor.Impl.EditorProvider.LoadConfiguration() +12
       CuteEditor.Impl.EditorProvider.get_Config() +23
       CuteEditor.Impl.EditorProvider.GetToolbarItems() +63
       CuteEditor.a.m() +793
       CuteEditor.Editor.CreateChildControls() +34
       System.Web.UI.Control.EnsureChildControls() +108
       System.Web.UI.Control.PreRenderRecursiveInternal() +37
       System.Web.UI.Control.PreRenderRecursiveInternal() +156
       System.Web.UI.Control.PreRenderRecursiveInternal() +156
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5448
    

  •  02-01-2006, 10:15 AM 15433 in reply to 5754

    Re: Could not load type 'CuteEditor.Dialogs.GetFileThumb'

    I am also getting the error Could not load type 'CuteEditor.Dialogs.GetFileThumb'.

    I am using VS 2005 on XP Pro/ IIS 5

    Has this issue been resolved??
  •  02-01-2006, 2:47 PM 15444 in reply to 15433

    Re: Could not load type 'CuteEditor.Dialogs.GetFileThumb'

    Just delete this file: GetFileThumb.aspx from your project.
     
    Are you still using the version 4.0?
     
    We've removed that file in the version 5.0X.
     
     

    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-02-2006, 5:05 AM 15483 in reply to 15444

    Re: Could not load type 'CuteEditor.Dialogs.GetFileThumb'

    Thankyou very much upgrading to 5.0X resolved the problem 
View as RSS news feed in XML