Failed to load impl code!

Last post 03-04-2009, 12:24 PM by Adam. 31 replies.
Page 1 of 2 (32 items)   1 2 Next >
Sort Posts: Previous Next
  •  06-01-2007, 4:44 PM 30324

    Failed to load impl code!

    Hello there,

    I'm attempting to use version 6 of the CuteEditor control in my Web Project. I'm getting an error message that I didn't receive in version 5. The error message is a javascript alert window that says "Failed to load impl code!" immediately after the CuteEditor attempts to render in the browser.

    As a test, I followed the deployment instructions in the Deployment.htm under the "CuteEditor_for_NET6\Framework 2.0\" directory. For this test, I wanted to eliminate any of my code as a source of the problem. I set up this test in two projects:

    1) Within the confines of my existing application (A C# ASP.NET Web Project)
    2) In a new C# file system based "ASP.NET AJAX-Enabled Web Site"

    The error message occurs only in scenario #1, but not in scenario #2. Both scenarios are configured in exactly the same way (following your instructions as written in the Deployment.htm file).

    I attached Visual Studio to internet explorer to enable the script debugger, and found something interesting. A new error message reported that "The System cannot locate the resource specified".

    The error message occured in: CuteSoft_Client/CuteEditor/Load.ashx
    The exception was thrown on the following line:

    Ox146.send(Ox85a||OxO79af[0x4])

    It looks like OxO79af is some sort of array that was returned from some sort of AJAX call.  Element 4 is indeed empty. However, I'm not sure what to do about it.

    Anybody here have any ideas?

    Just curious,

    Joshua Hayworth


  •  06-01-2007, 5:09 PM 30325 in reply to 30324

    Re: Failed to load impl code!

    Joshua,
     
    When did you download the software?
     
    Do you have problems with the samples included in the download package?
     
    When you upgrade, did you update CuteEditor.dll and all client files?
     
    Are you using FilesPath property?
     
     

    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

  •  06-01-2007, 5:40 PM 30326 in reply to 30325

    Re: Failed to load impl code!

    Hey Adam,

    I was able to download the package this morning, so I'm using the latest version of CuteEditor_for_NET6.zip.

    I did replace all of the DLL references including CuteEditor.dll, CuteEditor.ImageEditor.dll, and NetSpell.SpellChecker.dll.

    I am not using the FilesPath property.  I've included the CuteSoft_Client directory into the root of my project. There may be a permissions issue.  I'll check that shortly.

    I'll also check out some of the other samples to see if they are exibiting the same symptoms.

    Thanks for the quick reply,

    Joshua

  •  06-01-2007, 6:12 PM 30328 in reply to 30325

    Re: Failed to load impl code!

    I just ran another quick test.

    I was able to create another C# "ASP.NET AJAX-Enabled Web Application" project in a temporary directory. I imported all of the code from within the CuteEditor_for_NET6\Framework 2.0\cs directory. I created a new web site in IIS and pointed it at the new project that I created. When I pointed a browser at the new project website, each one of the samples that I clicked on ran perfectly.

    I don't know what is going on with my original application, but this test ran successfully.

    I'm going to import elements from my original application into this test project one by one and see when it breaks. Something I'm doing in my original application or some entry in my web.config must be conflicting.
  •  06-04-2007, 1:21 PM 30361 in reply to 30328

    Re: Failed to load impl code!

    Hey Adam,

    I was able to figure out what was going on.  CuteEditor 6.0 doesn't like the way that my application is using session state. When I add the following line to my web.config:

    <sessionState mode="SQLServer" sqlConnectionString="Password=#S3rv1ceAcc0unt!#@HAI;User ID=SACWeb;Data Source=haysof_dev_jmh\SQL2000" cookieless="true" timeout="120" />

    I get the error "Failed to load impl code!" when I run any page that has the CuteEditor control on it.  When I remove that line from my web.config, the error never comes up and everything runs peachy (as far as CuteEditor is concerned).

    Just thought I would pass this along. I'm now going to have to figure out what I'm going to do about how I handle persisting session information.

    Joshua

  •  06-04-2007, 1:29 PM 30362 in reply to 30361

    Re: Failed to load impl code!

  •  06-04-2007, 4:40 PM 30366 in reply to 30362

    Re: Failed to load impl code!

    Nope. The session state problem still exists with the latest build.

    I did find something interesting though.  Download the zip file from the link you just gave me.  Now look at the file properties of CuteEditor_for_NET6\Framework 2.0\bin\CuteEditor.dll.  See the file description? The build description is 2007-05-21 and not 2007-05-22. I don't know if that makes a difference.

    Joshua
  •  06-25-2007, 3:06 PM 31066 in reply to 30361

    Re: Failed to load impl code!

    jhayworth:
    Hey Adam,

    I was able to figure out what was going on.  CuteEditor 6.0 doesn't like the way that my application is using session state. When I add the following line to my web.config:

    <sessionState mode="SQLServer" sqlConnectionString="Password=#S3rv1ceAcc0unt!#@HAI;User ID=SACWeb;Data Source=haysof_dev_jmh\SQL2000" cookieless="true" timeout="120" />

    I get the error "Failed to load impl code!" when I run any page that has the CuteEditor control on it.  When I remove that line from my web.config, the error never comes up and everything runs peachy (as far as CuteEditor is concerned).

    Just thought I would pass this along. I'm now going to have to figure out what I'm going to do about how I handle persisting session information.

    Joshua

     
    Try change
     
    <sessionState mode="SQLServer" sqlConnectionString="Password=#S3rv1ceAcc0unt!#@HAI;User ID=SACWeb;Data Source=haysof_dev_jmh\SQL2000" cookieless="true" timeout="120" />
     
    to:
     
    <sessionState mode="SQLServer" sqlConnectionString="Password=#S3rv1ceAcc0unt!#@HAI;User ID=SACWeb;Data Source=haysof_dev_jmh\SQL2000" cookieless="false" timeout="120" />
     

    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

  •  09-06-2007, 3:17 AM 33290 in reply to 31066

    Re: Failed to load impl code!

    Hi there,

    I also now have this error.

    I was thinking I was going mad but then I came across another clue, but I'm not sure what to do about it...

    I successfully ran the demo vb project on my local machine.
    I successfully ran the editor in my own application on my local machine.

    Then...
    Then I uploaded my application to the server and got the impl error. SQL session state management is not involved.

    So, in waiting for "Karen" at Cute support to get back to me, I thought I'd post on here.

    And guess what, I also get the error (in IE) when using this, Cute's own website. So I have posted this using Firefox, which works okay.

    So, in summary the error is something to do with IE when loading from an external web server.

    Any ideas please? BTW, what does the impl code do?

    Cheers,
    Kev

  •  09-06-2007, 3:19 AM 33291 in reply to 31066

    Re: Failed to load impl code! - on IE, not Firefox

    Hi there,

    I also now have this error.

    I was thinking I was going mad but then I came across another clue, but I'm not sure what to do about it...

    I successfully ran the demo vb project on my local machine.
    I successfully ran the editor in my own application on my local machine.

    Then...
    Then I uploaded my application to the server and got the impl error. SQL session state management is not involved.

    So, in waiting for "Karen" at Cute support to get back to me, I thought I'd post on here.

    And guess what, I also get the error (in IE) when using this, Cute's own website. So I have posted this using Firefox, which works okay. I understand that Firefox isn't setup with VS debugging like my IE is, so I wouldn't see the error dialogue, but Firefox does actually work.

    So, in summary the error is something to do with IE when loading from an external web server.

    Any ideas please? BTW, what does the impl code do?

    Cheers,
    Kev

  •  09-06-2007, 3:21 AM 33292 in reply to 33291

    Re: Failed to load impl code! - on IE, not Firefox

    eek.. Sorry I accidentally posted before I'd finished. Please read the second version...
    Kev

  •  09-06-2007, 11:18 AM 33309 in reply to 33291

    Re: Failed to load impl code! - on IE, not Firefox

    1. Which version of IE are you using?
     
    2. How did you open this IE browser?
     
    3. Is your site online so you can provide a testing URL?
     
    4. Which version of VS are you using?
     
     

    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

  •  09-06-2007, 12:09 PM 33314 in reply to 33309

    Re: Failed to load impl code! - on IE, not Firefox

    Adam,

    Thanks for getting back. Interestingly I am now using this forum page in IE, which gave the error before.
    However the Cute demo which is on our server still has the error.
     
    I will send you a link separately to the error page.
    1. The browser is IE7
    2. It was opened from the start menu
    3. .
    4. VS 2005
    Regards,
    Kevin
     
  •  09-06-2007, 12:26 PM 33318 in reply to 33314

    Re: Failed to load impl code! - on IE, not Firefox

    Kevin,
     
    It looks like you miss many files on your server.
     
    Can you download the latest build and upload the files 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

  •  09-06-2007, 1:20 PM 33328 in reply to 33318

    Re: Failed to load impl code! - on IE, not Firefox

    Adam,
    I'll take a look. Thanks again.
     
    Kevin 
  •  10-08-2007, 4:01 AM 34077 in reply to 33328

    Re: Failed to load impl code! - on IE, not Firefox

    Hi Adam,
     
    Just wondering if there has been any further discussion on this issue?
     
    I currently have a web app exhibiting the same behaviour.
    The details are as follows...
     - works OK running on my test machine (vista)
     - works OK when deployed using Firefox 2.0.0.7, but not in IE7
     - web app made in MS VWD 2005 Express
     - using latest build CuteEditor 6.0 downloaded today
     
     
    Any assistance you can offer greatly appreciated.
     
    Cheers,
    Sean.
  •  10-08-2007, 9:44 AM 34084 in reply to 34077

    Re: Failed to load impl code! - on IE, not Firefox

    Sean,

    Set up FTP access to your site and send it to me at Adam@CuteSoft.net.

    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

  •  10-10-2007, 7:04 PM 34213 in reply to 34084

    Re: Failed to load impl code! - on IE, not Firefox

    Hi Adam,

    Did you get my emails?
    I am going to try reverting to an older build as I am a bit pressed for time on this job.
     
    Thanks,
    Sean.
  •  10-10-2007, 11:14 PM 34216 in reply to 34213

    Re: Failed to load impl code! - on IE, not Firefox

    Sean,

    Please make sure aspnet account or network service account has read permission to CuteSoft_client folder.


    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

  •  10-11-2007, 3:35 AM 34220 in reply to 34216

    Re: Failed to load impl code! - on IE, not Firefox

    Thanks Adam,

    I am using the Plesk console and do not have access to the accounts in question, but my hosting company has confirmed the accounts have read permission to CuteSoft_client but I am still having the same issue : http://202.60.89.116/$sitepreview/marshallart.com.au/vb/default.aspx
     
     
Page 1 of 2 (32 items)   1 2 Next >
View as RSS news feed in XML