Re: cuteeditor in a panel causes "File does not exist" exception (.net 2.0)

  •  03-01-2008, 4:44 PM

    Re: cuteeditor in a panel causes "File does not exist" exception (.net 2.0)

    I have the exact same issue.  I have the latest code from your site (version 6.0.0.0) and I completely removed all references of my 5.3 version. I even used the fusion log viewer to make sure that it was only getting the latest version of the dll.
     
    I completely removed the CuteSoft_Client folder and put the new one in place from your site. I downloaded it today (3-1-08), so I know it is the latest.  This problem isn't a show stopper, it is just annoying! My application logs errors in the Application_Error function and I have hundreds of thousands of these responses in there, because of CuteEditor.  It makes it really hard to go through the errors and look for legitimate ones.
     
    Although the error is very cryptic from Visual Studio 2005, I think it has to do with a stray image somewhere and has to do with the load.ashx file. Duplication of this error is pretty easy.  do the following...
     
    • Take a brand new machine that has never had CuteEditor installed on it, because who knows what you have lying around on your system. Remember, this error indicates that the file doesn't exist, so obviously something that your code is looking for isn't being packaged, but it still might be on your development system!
    • Create a new VB web project
    • Add the following line to the global.asax.vb file in the Application_Error function
         Dim sError as string = Server.GetLastError.ToString
    • Put a breakpoint on that line
    • Compile and run the project and confirm that your breakpoint isn't hit
    • Add a reference to CuteEditor 5.3 or 6.0
    • Add your CuteSoft_Client folder and files to the project
    • Add your license file and language files for the editor
    • Open the default page of the website
    • Add a CuteEditor with default settings
    • Compile and run the project.  As soon as the CuteEditor tries to load, you get the error message and the project stops at your breakpoint.  It gives you the following error...

     ?server.GetLastError
    {"File does not exist."}
        System.Web.HttpException: {"File does not exist."}
        Data: {System.Collections.ListDictionaryInternal}
        HelpLink: Nothing
        InnerException: Nothing
        Message: "File does not exist."
        Source: "System.Web"
        StackTrace: "   at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context)
       at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)"
        TargetSite: {System.Reflection.RuntimeMethodInfo}

     Adam, are you saying that you can't duplicate this error in this fashion?  Oh, by the way, I just installed the 6.0.0.0 CuteEditor on a brand new XP Pro system as well and it gave the exact same error.  Thats the only way I know these instructions above work.  Thanks and when can we expect an update? Any ideas?

View Complete Thread