GAC Install

Last post 01-28-2008, 11:33 AM by scottle. 11 replies.
Sort Posts: Previous Next
  •  01-16-2008, 10:49 AM 36354

    GAC Install

    Hi,
     
    Are there any users deploying the CuteEditor to the GAC?  I do NOT want any items in the \bin directory of each website we have on the server.  If anyone is deploying like this please let me know how it was done.
     
    Looking forward to hearing responses,
     
    Thanks, Scott

  •  01-16-2008, 10:55 AM 36355 in reply to 36354

    Re: GAC Install

    Scott,
     
    Go to:

    Control Panel > Performance and Maintenance > Administrative Tools > Microsoft .NET 2.0 Configuration

    You can use this tool to copy a component into the GAC or view the ones that are already there.


    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

  •  01-16-2008, 11:04 AM 36357 in reply to 36355

    Re: GAC Install

    Thanks for the response.  Yep, The CuteEditor.dll is sitting in the GAC.  Screenshot below...
     
    When I put the CuteEditor.dll in the \bin of the website everything starts working.  If I remove it (With it in the Gac) I get the following error:
     
    <b> Parser Error Message: </b>Could not load file or assembly 'CuteEditor' or one of its dependencies. The system cannot find the file specified.<br><br>

                <b>Source Error:</b> <br><br>

                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code><pre>

    <font color=red>Line 1:  &lt;%@ WebHandler language=&quot;C#&quot; class=&quot;CuteEditor.LoadHandler,CuteEditor&quot; %&gt;
    </font></pre></code>

     
    Any ideas?  Thanks, Scott

     
  •  01-18-2008, 11:14 AM 36415 in reply to 36365

    Re: GAC Install

    Hi,
     
    I did option 2 and the license file can be put wherever we want.  Alas though, the control still gives the same error as above.  I am not sure what it is looking for.  I know if I put the CuteEditor.dll in the \bin directory things start working.  
     
    Any ideas why this isn't working for .net 2.0?
     
     Thanks, Scott

  •  01-18-2008, 11:37 AM 36416 in reply to 36415

    Re: GAC Install

    Scott,
     
    Are you sure you put the correct DLL into GAC?
     
    There are two CuteEditor.dlls. One is for ASP.NET 1.1,  the other is for ASP.NET 2.0.
     
    Once your put the DLL into GAC, it should be fine. .NET framework should help you find this DLL in the runtime.

    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

  •  01-18-2008, 2:08 PM 36418 in reply to 36416

    Re: GAC Install

    Hi,
     
    Thanks for the reply.  Yep, I double and triple checked I had the correct .net 2.0 dll's in the gac.  I also deleted all the dll's from the gac and started over and the same error appears when I run the app as seen below.
     
    Is there a working example of the CuteEditor running from the GAC in .net 2.0 and no dll's for the editor in the \bin directory of the website?
     
    Thanks, Scott
     
     
    <html>
        <head>
            <title>Parser Error</title>
            <style>
             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
             p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
             b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
             pre {font-family:"Lucida Console";font-size: .9em}
             .marker {font-weight: bold; color: black;text-decoration: none;}
             .version {color: gray;}
             .error {margin-bottom: 10px;}
             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
            </style>
        </head>

        <body bgcolor="white">

                <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

                <h2> <i>Parser Error</i> </h2></span>

                <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

                <b> Description: </b>An error occurred during the parsing of a resource required to service this request.   Please review the following specific parse error details and modify your source file appropriately.
                <br><br>

                <b> Parser Error Message: </b>Could not load file or assembly 'CuteEditor' or one of its dependencies. The system cannot find the file specified.<br><br>

                <b>Source Error:</b> <br><br>

                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code><pre>

    <font color=red>Line 1:  &lt;%@ WebHandler language=&quot;C#&quot; class=&quot;CuteEditor.LoadHandler,CuteEditor&quot; %&gt;
    </font></pre></code>

                      </td>
                   </tr>
                </table>

                <br>

                <b> Source File: </b> /editor/Load.ashx<b> &nbsp;&nbsp; Line: </b> 1
                <br><br>

                <b>Assembly Load Trace:</b> The following information can be helpful to determine why the assembly 'CuteEditor' could not be loaded.<br><br>

                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code><pre>

    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].
    </pre></code>

                      </td>
                   </tr>
                </table>

                <br>

                <hr width=100% size=1 color=silver>

                <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

                </font>

        </body>
    </html>
    <!--
    [FileNotFoundException]: Could not load file or assembly 'CuteEditor' or one of its dependencies. The system cannot find the file specified.
       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)
       at System.Web.UI.SimpleWebHandlerParser.GetType(String typeName)
    [HttpParseException]: Exception of type 'System.Web.HttpParseException' was thrown.
       at System.Web.UI.SimpleWebHandlerParser.GetType(String typeName)
       at System.Web.UI.SimpleWebHandlerParser.GetTypeToCache(Assembly builtAssembly)
       at System.Web.Compilation.SimpleHandlerBuildProvider.GetGeneratedType(CompilerResults results)
       at System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults results)
       at System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults results)
       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.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
       at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
       at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    -->

  •  01-22-2008, 11:12 AM 36464 in reply to 36418

    Re: GAC Install

    Hi,
     
    Are there any updates on this one?  Are any customers deploying CuteEditor 6.0 in the GAC with .net 2.0?
     
    Thanks, Scott

  •  01-22-2008, 11:28 AM 36465 in reply to 36464

    Re: GAC Install

    Scott,
     
    How did you register the CuteEditor.dll?
     
    The correct method to register a DLL of GAC is:
     
    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor,Version=6.0.0.0,Culture=Neutral,PublicKeyToken=3858aa6802b1223a" %>
     
    If you don't want this method, please download the latest build and follow the intruction below:
     
     

     

    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

  •  01-25-2008, 1:49 PM 36562 in reply to 36465

    Re: GAC Install

    Thanks for the reply.  I downloaded the latest build and did everything as the docs and online link stated.  It still does not work.  Same errors.
     
    I have installed files in the GAC many times before without a problem, but I cannot get the CuteEditor.dll to work with .net 2.0 if I put it in the gac.
     
    Adam, have you actually tried installing the dll in the gac (.net 2.0) and running an app?  Does it work if you do NOT have any of the Cute assemblies in the \bin directory?
     
    Are there any customers using the control in the gac for .net 2.0?
     
    Looking forward to replies,
     
    Thanks, Scott


  •  01-25-2008, 10:22 PM 36566 in reply to 36562

    Re: GAC Install

    Scott,
     
    >>Adam, have you actually tried installing the dll in the gac (.net 2.0) and running an app?  Does it work if you do NOT have any of the Cute assemblies in the \bin directory?
     
    Yes.
     
     
    You must be using the old DLL.
     
    Please remove CuteEditor.DLL from your GAC first.
     
    Then add the new CuteEditor.dll to your GAC 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

  •  01-28-2008, 11:33 AM 36593 in reply to 36566

    Re: GAC Install

    Hey Adam,
     
    The latest build fixed the problems.
     
    Thanks for your patience, Scott
View as RSS news feed in XML