|
Failed to load impl code!
Last post 03-04-2009, 12:24 PM by Adam. 31 replies.
-
06-01-2007, 4:44 PM |
-
jhayworth
-
-
-
Joined on 05-31-2007
-
-
Posts 5
-
-
|
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 |
-
06-01-2007, 5:40 PM |
-
jhayworth
-
-
-
Joined on 05-31-2007
-
-
Posts 5
-
-
|
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 |
-
jhayworth
-
-
-
Joined on 05-31-2007
-
-
Posts 5
-
-
|
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 |
-
jhayworth
-
-
-
Joined on 05-31-2007
-
-
Posts 5
-
-
|
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 |
-
06-04-2007, 4:40 PM |
-
jhayworth
-
-
-
Joined on 05-31-2007
-
-
Posts 5
-
-
|
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 |
-
Adam
-
-
-
Joined on 09-23-2003
-
Aurora, ON
-
Posts 18,678
-
-
|
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 |
-
KevDes
-
-
-
Joined on 09-06-2007
-
-
Posts 5
-
-
|
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 |
-
KevDes
-
-
-
Joined on 09-06-2007
-
-
Posts 5
-
-
|
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 |
-
KevDes
-
-
-
Joined on 09-06-2007
-
-
Posts 5
-
-
|
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 |
-
09-06-2007, 12:09 PM |
-
KevDes
-
-
-
Joined on 09-06-2007
-
-
Posts 5
-
-
|
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.
- The browser is IE7
- It was opened from the start menu
- .
- VS 2005
Regards,
Kevin
|
|
-
09-06-2007, 12:26 PM |
-
09-06-2007, 1:20 PM |
-
KevDes
-
-
-
Joined on 09-06-2007
-
-
Posts 5
-
-
|
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 |
-
cab_spk
-
-
-
Joined on 05-30-2007
-
-
Posts 12
-
-
|
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 |
-
10-10-2007, 7:04 PM |
-
cab_spk
-
-
-
Joined on 05-30-2007
-
-
Posts 12
-
-
|
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 |
-
Page 1 of 2 (32 items)
1
|
|
|