Adding CuteEditor to the Global Assembly Cache

Last post 02-17-2006, 7:38 PM by perchman. 7 replies.
Sort Posts: Previous Next
  •  02-13-2006, 6:06 PM 15901

    Adding CuteEditor to the Global Assembly Cache

    I apologize for being new to this, I'm an "old" ASP programmer who has to go up the .NET learning curver pretty fast.
     
    I just purchased the IP license to the CuteEditor and was going through the instructions for adding it to the Glaobal Assembly Cache. The instructions in the help file were for adding the CuteEditor.dll to the cache in .NET v1.1.4322, do the same instructions apply to .NET v2.0.50727?
     
    Once completed, I plan on using the control in DotNetNuke, and after reading the help file, this seems pretty clear. But since I have the IP license, how do I reference the CuteEditor.dll?
  •  02-13-2006, 7:12 PM 15902 in reply to 15901

    Re: Adding CuteEditor to the Global Assembly Cache

    Yes, the above instruction also works for ASP.NET 2.0.
     
    It's not necessary to add CuteEdito into GAC.  You can just simply copy CuteEditor.dll into your project bin folder.
     
    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-16-2006, 8:58 PM 16040 in reply to 15902

    Re: Adding CuteEditor to the Global Assembly Cache

    I added the files according to the Help file. I followed the section "DotNetNuke 4.x Integration "
     
    When I edit a page with the Text/HTML module I receive the following error:
     


    I did not use the GAC. I placed the license file I received in the bin directory, did I do something wrong?  
  •  02-17-2006, 4:47 AM 16052 in reply to 16040

    Re: Adding CuteEditor to the Global Assembly Cache

    Can you login as admin and copy/paste the error details?
     
     

    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-17-2006, 4:49 AM 16053 in reply to 16052

    Re: Adding CuteEditor to the Global Assembly Cache

    If you don't know how to get the error details, is your site online? If so, please send your site FTP, UEL information to me through PM.
     
    I will check your site.
     
     

    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-17-2006, 3:02 PM 16087 in reply to 16052

    Re: Adding CuteEditor to the Global Assembly Cache

    ModuleId: -1
    ModuleDefId: -1
    FriendlyName:
    ModuleControlSource:
    AssemblyVersion: 04.00.02
    Method: DotNetNuke.UI.UserControls.TextEditor.Page_Load
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    PortalID: 0
    PortalName: CraftConnect
    UserID: 2
    UserName: admin
    ActiveTabID: 62
    ActiveTabName: Test
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://www.craftconnect.com/Test/tabid/62/Default.aspx
    ExceptionGUID: a9eac178-c0a0-4ba5-ad61-0542e511a781
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    InnerException: Object reference not set to an instance of an object.
    Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.UserControls.TextEditor.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
    StackTrace:
    Source:
    Server Name: S41571
      2/17/2006 1:57:40 PM   Module Load Exception   admin     ModuleId: 382; ModuleDefId: 99; FriendlyName ...
    ModuleId: 382
    ModuleDefId: 99
    FriendlyName: Edit Text/HTML
    ModuleControlSource: DesktopModules/HTML/EditHTML.ascx
    AssemblyVersion: 04.00.02
    Method: DotNetNuke.UI.UserControls.TextEditor.set_Text
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    PortalID: 0
    PortalName: CraftConnect
    UserID: 2
    UserName: admin
    ActiveTabID: 62
    ActiveTabName: Test
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://www.craftconnect.com/Test/tabid/62/Default.aspx
    ExceptionGUID: 3cf1c2d2-7783-48eb-a6d8-e00886a54e0a
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    InnerException: Object reference not set to an instance of an object.
    Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.UserControls.TextEditor.set_Text(String Value) at DotNetNuke.Modules.Html.EditHtml.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
    StackTrace:
    Source:
    Server Name: S41571
      2/17/2006 1:57:40 PM   Module Load Exception   admin     ModuleId: -1; ModuleDefId: -1; FriendlyName: ...
    ModuleId: -1
    ModuleDefId: -1
    FriendlyName:
    ModuleControlSource:
    AssemblyVersion: 04.00.02
    Method: System.Activator.CreateInstance
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    PortalID: 0
    PortalName: CraftConnect
    UserID: 2
    UserName: admin
    ActiveTabID: 62
    ActiveTabName: Test
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://www.craftconnect.com/Test/tabid/62/Default.aspx
    ExceptionGUID: 94d788d1-f527-4700-acb5-228c02bf5916
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    InnerException: Unhandled Error Adding Module to ContentPane
    Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.Modules.HTMLEditorProvider.HtmlEditorProvider' threw an exception. ---> System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache) at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) at DotNetNuke.Modules.HTMLEditorProvider.HtmlEditorProvider.CreateProvider() at DotNetNuke.Modules.HTMLEditorProvider.HtmlEditorProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.UI.UserControls.TextEditor.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
    StackTrace:
    Source:
    Server Name: S41571
      2/17/2006 1:57:39 PM   General Exception   admin     AssemblyVersion: 04.00.02; Method: System.RuntimeTypeHan ...
    AssemblyVersion: 04.00.02
    Method: System.RuntimeTypeHandle._GetTypeByName
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    PortalID: 0
    PortalName: CraftConnect
    UserID: 2
    UserName: admin
    ActiveTabID: 62
    ActiveTabName: Test
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://www.craftconnect.com/Test/tabid/62/Default.aspx
    ExceptionGUID: 7f6d86a2-6a7b-429d-b4fa-fd95944c6264
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    InnerException: Could not load file or assembly 'DotNetNuke.CEHtmlEditorProvider' or one of its dependencies. The system cannot find the file specified.
    Message: System.IO.FileNotFoundException: Could not load file or assembly 'DotNetNuke.CEHtmlEditorProvider' or one of its dependencies. The system cannot find the file specified. File name: 'DotNetNuke.CEHtmlEditorProvider' at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    StackTrace:
    Source:
    Server Name: S41571
  •  02-17-2006, 3:04 PM 16088 in reply to 16087

    Re: Adding CuteEditor to the Global Assembly Cache

    Please check your project bin folder and make sure you copy the DotNetNuke.CEHtmlEditorProvider.dll into the bin folder.
     
    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-17-2006, 7:38 PM 16105 in reply to 16088

    Re: Adding CuteEditor to the Global Assembly Cache

    That did the trick. Sorry, I must have missed that step.
     
    I do appreciate your responses, they were timely and accurate. I love the product, especially now that it works. Thanks again!
View as RSS news feed in XML