Problems with DotNetNuke Integration

Last post 03-07-2006, 1:58 AM by Adam. 56 replies.
Page 1 of 3 (57 items)   1 2 3 Next >
Sort Posts: Previous Next
  •  02-03-2006, 8:43 AM 15564

    Problems with DotNetNuke Integration

    I am having some issues with DotNetNuke integration I would like some help with. (DotNetNuke 4.0.2, CuteEditor 5.2)
     
    1. After installing the CuteEditor, the DotNetNuke FileManager stopped working (files icon on top right corner).  I tracked it down to the fact that the ICSharpCode.SharpZipLib.dll seems to be conflicting with SharpZipLib.dll assembly.  I moved the SharpZipLib.dll out of the bin dir of the DotNetNuke install and this seemed to cure the issue for the installation on our local network.  However....
     
    2. I did the same trick on the production server (in a different domain) with mixed results.  Often when I click on the Insert Image Icon in the CuteEditor, I get the following error...
    In Not Full-Trusted Application, Editor Setting Can't Be Saved, And The EditorSetting Can't Be Restored After The Application Restarted.  -- Access Deined for %windir%/TEMP
     
    Sometimes the Image Insert Dialog will load but most of the image thumbnails are not loading.
     
    3.  The CuteEditor is doing some strange things when editing the text.  Specifically, I have seen the following...
        A. The single quote (') character is often getting replacted with the string null
        B. The hyperlink editor is not working.  After inserting a mailto: or http:// link, it will get totally mangled (the text that is inserted seems to be random.
        C. When editing text, hyperlinks that are already embedded get mangled (lots of nullnullnull strings or other nonsense)
     
    Basically, I have had to resort to the basic text editor and type the html by hand.
     
    All help appreciated!
     
  •  02-03-2006, 1:53 PM 15575 in reply to 15564

    Re: Problems with DotNetNuke Integration

    1. We will investigate the SharpZipLib issue and get back to you as soon as possible.
     
    2. Are you using a server farm (multiple web servers that are load balanced) or are you hosting the application on a single web server? 
     
    The following thread may help:

    http://cutesoft.net/forums/14214/ShowPost.aspx

    3. Please download the latest build. (02/02/2006).

     

    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-06-2006, 5:22 AM 15603 in reply to 15575

    Re: Problems with IBuySpy Integration

    Hi,
    I'm testing the editor in the IBuySpy portal. When I click on the emotion icon, I get the following error message, which may be relatd to the issue described above:
    File or assembly name ICSharpCode.SharpZipLib, or one of its dependencies, was not found
    (I am using the latest build (downloaded on 02/04/2006
     
    Any ideas how I can get this to work?

    Greetings
    Sabine
     
     
  •  02-06-2006, 8:02 AM 15607 in reply to 15603

    Re: Problems with IBuySpy Integration

     samahe wrote:
    Hi,
    I'm testing the editor in the IBuySpy portal. When I click on the emotion icon, I get the following error message, which may be relatd to the issue described above:
    File or assembly name ICSharpCode.SharpZipLib, or one of its dependencies, was not found
    (I am using the latest build (downloaded on 02/04/2006
     
    Any ideas how I can get this to work?

    Greetings
    Sabine
     
     
    copy ICSharpCode.SharpZipLib.dll file to Bin folder of your project..
  •  02-06-2006, 8:17 AM 15609 in reply to 15575

    Re: Problems with DotNetNuke Integration

    Adam,
     
    Here are some updates on each issue.
     
    1. Moving the SharpZipLib out of the bin directory did fix the immediate issue on my dev server for the site.  However, when I went to try to add a custom module, DNN threw an exception saying it could not find the SharpZipLib assembly so my trick did not seem to work for all cases.
     
    2. I am not using a server farm.  The biggest difference I can see is that the dev server is a Windows 2003 Server box and the production server is a Windows 2000 box.  I did follow the link you sent and had actually already tried all of the steps in that thread before making this post so that did not help (this is for the not full trusted message).
     
    3. I downloaded the 2/2/06 build and it did seem to cure the null string problem.  However, when I edit a hyperlink now, the edit is not saved.  For example - if the hyperlink is http://www.acme.org to begin with and I change it to http://www.cutesoft.net and then look in the html or bring up the link editor dialog again, it says http://www.acme.org
     
  •  02-06-2006, 6:03 PM 15635 in reply to 15609

    Re: Problems with DotNetNuke Integration

    Scott,

    1. Can you tell me which module is using the SharpZipLib assembly? So we can play with it.

    2. Is your site online so you can provide a URL?

    3. It's strange. Can you reproduce the problems in the following link?

    http://cutesoft.net/example/general.aspx

    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-06-2006, 9:20 PM 15640 in reply to 15635

    Re: Problems with DotNetNuke Integration

    Adam,
     
    1. The modules that I have seen that use the SharpZipLib are the FIleManager, the skin uploader, the install new module uploader.
     
    2. URLs
     
    3. I could not recreate the issues on your site.  Is it DNN 4 or DNN 3?
     
    Cheers,
     
    Scott
  •  02-07-2006, 10:44 AM 15654 in reply to 15640

    Re: Problems with DotNetNuke Integration

    I am having the same problems, I also see the export templatemodule under host portals to be affected
  •  02-12-2006, 4:09 PM 15858 in reply to 15640

    Re: Problems with DotNetNuke Integration

    Adam,
     
    The latest build seemed to have cured issues 2 and 3 on my earlier posts.  Issue 3 was the hyeperlink issue which seems to be mostly solved but I am still having issues if I rename a mailto: link.  I can work around it though.  The issue is if I have an existing link and want to change the email address, it does not always take.  That is, the original email address is there after the edit.
     
    The big issue I am having is still the SharpZipLib conflicts.  If I delete the DNN version SharpZipLib.dll, most things work including the CuteEditor.  However, it is not fool proof.  For example, if I want to upload a zip file and have it uncompressed automatically, it won't work because it can not find the SharpZipLib.dll.  This is also true of uploading skins and modules.  Any idea when you will have a fix for this?
     
    Thanks,
     
    Scott
     
  •  02-13-2006, 12:02 AM 15859 in reply to 15858

    Re: Problems with DotNetNuke Integration

    >>The issue is if I have an existing link and want to change the email address, it does not always take. 
     
    We are investigating this issue and will get back to you as soon as possible.

    >>The big issue I am having is still the SharpZipLib conflicts.  If I delete the DNN version SharpZipLib.dll, most things work including the CuteEditor.  However, it is not fool proof.  For example, if I want to upload a zip file and have it uncompressed automatically, it won't work because it can not find the SharpZipLib.dll.  This is also true of uploading skins and modules.  Any idea when you will have a fix for this?

    I am working on this issue right now and will post an update soon.

     
     

    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-13-2006, 12:37 AM 15860 in reply to 15859

    Re: Problems with DotNetNuke Integration

  •  02-13-2006, 12:22 PM 15887 in reply to 15860

    Re: Problems with DotNetNuke Integration

    Adam,
     
    I may have missed something but there is no change in behavior based on the new DLL.  Also, it seems to be the same version as the one in the install.  Here is the trace information.  The test I did was to put the new DLL in the bin directory, kill the IIS process, go to my website, log in, and then click on the file manager button at the top right.
     
     
     
    An error has occurred.
    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 System.Web.UI.UserControl.get_Request() at DotNetNuke.Entities.Modules.PortalModuleBase.get_IsEditable() at DotNetNuke.UI.Containers.Title.CanEditModule() at DotNetNuke.UI.Containers.Title.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

     
     
    Unhandled error loading module.
    DotNetNuke.Services.Exceptions.ModuleLoadException: D:\Dev\NMFTA\nmfta.dnn\Admin\Files\FileManager.ascx.vb(709): error BC30560: 'ZipEntry' is ambiguous in the namespace 'ICSharpCode.SharpZipLib.Zip'. ---> System.Web.HttpCompileException: D:\Dev\NMFTA\nmfta.dnn\Admin\Files\FileManager.ascx.vb(709): error BC30560: 'ZipEntry' is ambiguous in the namespace 'ICSharpCode.SharpZipLib.Zip'. at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

    Cheers,
     
    Scott
  •  02-13-2006, 12:53 PM 15888 in reply to 15887

    Re: Problems with DotNetNuke Integration

    Scott,
     
    Can you use FTP upload the above DLL?
     
    Or just delete the ICSharpCode.SharpZipLib.dll and 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-13-2006, 1:30 PM 15889 in reply to 15888

    Re: Problems with DotNetNuke Integration

    Adam,
     
    I am not exactly sure what you are asking me to do here.  Here is some information that may help.
     
    DotNetNuke is using a dll called SharpZipLib.dll - it is version 0.81.0.1407
    You are using a dll called ICSharpCode.SharpZipLib.dll - it is version 0.84.0.0
     
    When I bring each of these DLLs up in the Object Browser in Visual Studio, they seem to have virtually identical assembly information although I do notice that the exception handling object is different.
     
    It seems to me that the issue is that the Cute Editor and DNN are both using the same objects with different versions.  I checked the release notes on the SharpLib website (http://wiki.sharpdevelop.net/default.aspx/SharpZipLib.ReleaseHistory) and that coincides with the differences I observed in the two dlls.
     
    It seems that the only answer is to either rebuild the DNN core with the newer version or rebuild the cuteeditor with the older version.
     
    Thoughts?
     
    Cheers,
     
    Scott
     
  •  02-13-2006, 2:50 PM 15890 in reply to 15889

    Re: Problems with DotNetNuke Integration

    Scott,
     
    Can you just delete the ICSharpCode.SharpZipLib.dll and use SharpZipLib.dll?

    I have tested it. CuteEditor can use SharpZipLib.dll without any problems.

    ICSharpCode.SharpZipLib.dll included in the CuteEditor has been recompiled for the ASP.NET 2.0 enviroments.

    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-14-2006, 9:28 AM 15909 in reply to 15890

    Re: Problems with DotNetNuke Integration

    Adam,
     
    I tried your suggestion but it does not work.  Note that I am using DNN 4.0.2 which is an ASP.NET 2.0 environment.
     
    Here is the test that I did.
     
    1. Rename the ICSharpCode.SharpZipLib.dll in the bin directory.
    2. Log into the website.
    3. Open the File Manager.
    4. Upload a zip file and check the auto unzip checkbox.
    5. Check to make sure that the unzipped files and the zip file are uploaded properly.
    6. Go to a page in the website.
    7. Choose Edit Text on a module.
    8. Click on the hyperlink editor button.
    9. Exception thrown.
     
    As stated earlier, if I rename the SharpZipLib.dll instead, the cute editor works fine but the DNN File Manager throws exceptions.
     
    Thoughts?
  •  02-14-2006, 5:33 PM 15918 in reply to 15909

    Re: Problems with DotNetNuke Integration

    Scott,

    Please try the steps below:

    1. Delete ICSharpCode.SharpZipLib.dll instead of rename

    2. Copy SharpZipLib.dll to your project bin folder.


    The concept is:

    1. ICSharpCode.SharpZipLib.dll is compiled in the ASP.NET 2.0 environment.

    2. Some Dlls under DNN4 haven't compiled in the ASP.NET 2.0 environment.

    3. CuteEditor can work with SharpZipLib.dll (and ICSharpCode.SharpZipLib.dll).

    If you still have problems, please send the FTP access 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-18-2006, 7:49 PM 16114 in reply to 15918

    Re: Problems with DotNetNuke Integration

    I have the same problem on my portal.
     
    If I delete the ICSharpCode.SharpZipLib.dll, the File Manager works. BUT the file operations in the editor give me errors. If I bring the ICSharpCode file back to the bin folder, the file operations in the editor work again.
     
    Here's what I did. I uploaded some icon files through a zip file via the DNN 4 File Manager. With ICSharpCode present, the File Manager does not work. I deleted ICSharpCode and the File Manager did work. Once the icons were loaded, I went to the editor to use the icons in my web page. Clicking the "Insert Image" icon in the editor created an error. I restored the ICSharpCode to the bin folder and the Insert Image in the editor worked again.
     
    I can keep doing this if I have to, but I really don't want to go back and forth deleting and restoring the ICSharpCode file. Any suggestions?
  •  02-18-2006, 9:58 PM 16115 in reply to 15564

    Re: Problems with DotNetNuke Integration

    I have the same issue again.
     
    I have tracked it down a module i purchased - dnnmasters - Member Manager Pro and it's got the same dll with a different date.
     
    I had to delete that - and now the editor works again.
     
    This sort of behaviour is a concern for me since it now means that conflicting versions of that dll make modules and the editor not compatible.
     
    Is there anyway that can work around this - so that we dont' need this dll in there -i'm not a coder ok so I might be talking about about something that's totally not possible, but does this mean I have to now ftp the right dll before using a module?
     
    Nina Meiers
     

    Nina Meiers - Berry Farmer and Web Developer
  •  02-19-2006, 5:21 AM 16118 in reply to 16114

    Re: Problems with DotNetNuke Integration

     perchman wrote:
     
    If I delete the ICSharpCode.SharpZipLib.dll, the File Manager works. BUT the file operations in the editor give me errors. If I bring the ICSharpCode file back to the bin folder, the file operations in the editor work again.
     
     
    Are you using the version 5.2 (02/09/2006) and DNN 4.0.2?  Can you tell me how to reproduce the "file operations " problems?
     
    For some reasons, I am not able to reproduce the problem.
     
    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

Page 1 of 3 (57 items)   1 2 3 Next >
View as RSS news feed in XML