Re: GAC Install

  •  01-18-2008, 2:08 PM

    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)
    -->

View Complete Thread