Cannot get editor to open in a web page with asp.net 1.1

Last post 04-22-2010, 8:33 AM by twenger. 6 replies.
Sort Posts: Previous Next
  •  03-30-2010, 3:30 PM 59749

    Cannot get editor to open in a web page with asp.net 1.1

    I already use the the Editor in .Net 3.5 and it works fine.
     
    I am trying to get the Editor working on an asp.net page in .Net 1.1.  I'm using Visual Studio 2003 (since .Net 1.1 isn't supported in Visual Studio 2008)
    The always helpful "Object reference not set to an instance of an object." error message comes up when the page is launched.
     
     I added the reference to cuteeditor.dll in the project.
    c:\program files\cute editor\framework 1.x\bin\cuteeditor.dll (Runtime version - v1.1.4322, Version 6.6.0.0)
    The toolbox reference for the Editor points to the same .dll
     
    This is the code for the .aspx page.  The code behind hasn't been touched. 
     
    <%@ Page Language="vb" AutoEventWireup="false" Codebehind="testPDF.aspx.vb" Inherits="wl.testPDF"%>
    <%@ Register TagPrefix="ce" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
        <HEAD>
            <title>testPDF</title>
            <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
            <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
            <meta name="vs_defaultClientScript" content="JavaScript">
            <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
        </HEAD>
        <body MS_POSITIONING="GridLayout">
            <form id="Form1" method="post" runat="server">
                <ce:Editor id="Editor1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 8px" runat="server"></ce:Editor>
            </form>
        </body>
    </HTML>
     
     
    What am I missing?
     
    Best regards,
    Tom Wenger
    twenger@softerware.com
     
     
     
     
     

     

    Filed under:
  •  03-30-2010, 3:46 PM 59750 in reply to 59749

    Re: Cannot get editor to open in a web page with asp.net 1.1

    Are you sure you are using the correct DLL?
     
    Can you open the solution and remove reference of CuteEditor.dll first?
     
    Then add CuteEditor.DLL reference 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

  •  04-21-2010, 9:58 AM 60277 in reply to 59750

    Re: Cannot get editor to open in a web page with asp.net 1.1

    Sorry for the long wait on the reply.
     
    I removed the reference in the project and re-added it.  I downloaded the newest version and tried that also.  Still same problem.
    I have this working perfectly for .Net 3.5 in another project.
     
    I'd prefer not to have to add it to the GAC, since the GAC can be tricky at times (you need to remove all references to the GAC before updating it with a new version).
     
    .Net 1.1 is so different from .Net 2.0, 3.5, and  4.0 that I'm wondering if something slipped through the cracks and that version is not working with .Net now.  I know I'm the only .Net developer I know who is still supporting 1.1 code.  Most have migrated to at least .Net 2.0
     
    PDF Metamorphosis works great in .Net 1.1, but we already have a license for CuteEditor for our domain so I'd prefer to stay it, if possible.
     
  •  04-21-2010, 10:41 AM 60279 in reply to 60277

    Re: Cannot get editor to open in a web page with asp.net 1.1

    twenger,
     
    In the download package, you can find two Cute Editor dlls.  For .net 1.1, please use Framework 1.x\bin\CuteEditor.dll.
     
    This DLL is built using VS 2003 and it has been tested in asp.net 1.1.
     
    Hope it helps.

    Keepe 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-21-2010, 3:36 PM 60293 in reply to 60279

    Re: Cannot get editor to open in a web page with asp.net 1.1

    Correct. the Framework 1.x .dll is the one I've been using.
     
    Can you try the latest CuteEditor.Net version in VS2003?
    To replicate what I did, Just drag-n-drop the CuteEditor.Net control after you have added the
    Framework 1.x\bin\CuteEditor.dll and added the control to the Toolbox.  Hit Run.  The error should appear before the page shows.
  •  04-22-2010, 12:53 AM 60298 in reply to 60293

    Re: Cannot get editor to open in a web page with asp.net 1.1

    twenger:
    Correct. the Framework 1.x .dll is the one I've been using.
     
    Can you try the latest CuteEditor.Net version in VS2003?
    To replicate what I did, Just drag-n-drop the CuteEditor.Net control after you have added the
    Framework 1.x\bin\CuteEditor.dll and added the control to the Toolbox.  Hit Run.  The error should appear before the page shows.
     
    Hi twenger,
     
    I tested on vs2003 and IIS7, it works fine for me.
     
    Can you try the package below? It contains a solution fils, please open it by vs2003 and test it.
     
     
    Keep me posted.
     
    Regards,
     
    ken
  •  04-22-2010, 8:33 AM 60306 in reply to 60298

    Re: Cannot get editor to open in a web page with asp.net 1.1

    I got it working.  I was pointing to the Reference:

    C:\Inetpub\wwwroot\<project Name>\CuteEditor_for_NET6\Framework 1.x\bin\CuteEditor.dll
     
    instead of

    C:\Program Files\Cute Editor\Framework 1.x\bin\CuteEditor.dll
     
    Then, I noticed that the bin files were different.  My directory was only including CuteEditor.dll.  I added these files:
     
    cuteeditor.lic
    NetSpell.SpellChecker.dll
    it-IT.dic
    fr-FR.dic
    es-MX.dic
    es-ES.dic
    en-US.dic
    en-UK.dic
    en-GB.dic
    en-CA.dic
    en-AU.dic
    de-DE.dic
    CuteEditor.ImageEditor.dll
     
     and I added an Abra-ca-dab-ra, it worked.
     
     
    Thanks for you help. 
View as RSS news feed in XML