dear hi
please help me
i'm asp.net 2.0 programmer i install fckeditor but i have an error ao my program
Server Error in '/AjaxSample' Application.
--------------------------------------------------------------------------------
HTTP Error 404 - Not Found.
--------------------------------------------------------------------------------
Version Information: ASP.NET Development Server 8.0.0.0
i read the developer guide and install editor step by step but my problem not be solved
please help me
Wed, 06/18/2008 - 10:26
#1
Re: HTTP Error 404 - Not Found.
I got the same error in ASP.net 2.0 Anyone has a clue for the message 'Not Found' - what it is looking for ?
Re: HTTP Error 404 - Not Found.
Re: HTTP Error 404 - Not Found.
Re: HTTP Error 404 - Not Found.
I changed the code such that it now looks like this at the sample01.aspx page:
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath = "../fckeditor">
</FCKeditorV2:FCKeditor>
Then I got this following error, that it is looking for the FCKEditor.html file, which I could not find in the download, nor in the troubleshooting guide.
--------------------------------------------------------------------------------
Server Error in '/TestFCKEditor' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /TestFCKEditor/fckeditoreditor/fckeditor.html
Re: HTTP Error 404 - Not Found.
I don't have good luck in locating such log that tells me what was not found. What I have, in an Windows XP, is under this folder:
C:\WINDOWS\system32\Logfiles\W3SVC1 There is log file, and the latest log says this:
21:52:00 127.0.0.1 GET /Software/SiteStat.xml 401
22:17:07 127.0.0.1 GET /TestFCKEditor 401
22:17:07 127.0.0.1 GET /TestFCKEditor/ 302
22:17:07 127.0.0.1 GET /TestFCKEditor/Default.aspx 200
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
22:37:44 127.0.0.1 POST /spipe/pkg 401
Re: HTTP Error 404 - Not Found.
I found fckeditor.html in the \editor folder from the download (Version 2.6.2). in my app, it is looking for fckeditor.html in \FCKEditor\editor.Not sure why, but it looks like your app is looking for this file in the root FCKEditor folder. You could try moving the file, and see what happens.
Re: HTTP Error 404 - Not Found.
Are you referring to Javascript version? Will it work for ASP.net ? I downloaded the version 2.6.2 and extracted that Fckeditor.Html file into my sample Asp.net project, then then I got runtime error: Microsoft JScript runtime error: 'FCKBrowserInfo' is undefined. Please advise. Thank you.
By the way, the only way to get the Visual Studio 2005 a clean build (compile OK) is to create a subfolder: "FCKEditorEditor", (No slash between "FCKEditor" and "Editor"), then place the html file in that folder. This is really strange, but I got a clean compile after that. This may hint that it is due to differences in computer languages, that a slash is lost when it comes to asp.net, but I don't know for sure.
Re: HTTP Error 404 - Not Found.
16:37:43 127.0.0.1 GET /FCKeditor/fckeditor/_samples/aspx/sample01.aspx 200
16:37:43 127.0.0.1 GET /fckeditor/editor/fckeditor.html 404
16:39:19 127.0.0.1 GET /FCKeditor/editor/fckeditor.html 200
As for the project, I tried to build it a couple of hours ago and it builds just fine without having to move or rename anything. Once you build it, you need to copy the produced binaries into your bin directory.
Re: HTTP Error 404 - Not Found.
BasePath = "~/"
(Assuming that the files from the editor folder are in the web app root.)
My editor control looks like this:
<FCKeditorV2:FCKeditor ID="FCKeditor2" runat="server" BasePath = "~/">
</FCKeditorV2:FCKeditor>
Re: HTTP Error 404 - Not Found.
I was able to determine the problem with the above information. Thanks..

The problem stems from people trying to use this in a non root website. Developer tend to put things in a virtual directory off the root.
For example:
http://localhost/testsite/
Default install will return in the iis web log which show "page not found" or resource "temporarly unavailable" where you expect control to load.
Weblog would look something like this. gif found, but .html editor not. 404 status.
16:29:14 127.0.0.1 GET /testsite/images/PDF-Icon.gif 304
16:29:14 127.0.0.1 GET /fckeditoreditor/fckeditor.html 404
Notice "fckeditor" is not /testsite/fckeditoreditor
This is what fixed it for me.
Add the following to the control parameters BasePath="~/fckeditor/"
16:34:37 127.0.0.1 GET /testsite/fckeditor/editor/fckeditor.html 304
Found it and loaded!
Re: HTTP Error 404 - Not Found.
Thanks, this is really a good change as compared to what is currently documented in the Troubleshooting Guide. This settings now also caused my system to accept the proper folder structure to be: "TestFCKEditor\Editor" Instead of the prevoiusly complained: "FCKEditorEditor".
However, i still get "MS JScript runtime error: 'FCKBrowserInfo' is undefined" at this location in FCKEditor.html:
// Adobe AIR compatibility file.
if ( FCKBrowserInfo.IsAIR )
LoadScript( 'js/fckadobeair.js' ) ;
Any clue ?
Re: HTTP Error 404 - Not Found.
The trailing forward slashes in the override is critical: BasePath = "~/FCKEditor/". Plus all the JS file in the V2.6.2 download is critical.
Re: HTTP Error 404 - Not Found.
I've tried the modifying the asp as follows:
1) <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server"></FCKeditorV2:FCKeditor>
Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
2) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="~/fckeditor/" runat="server"></FCKeditorV2:FCKeditor>
Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
3) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="../fckeditor/" runat="server"></FCKeditorV2:FCKeditor>
Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
4) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="../../fckeditor/" runat="server"></FCKeditorV2:FCKeditor>
Result: Resource Not found - Requested URL: /fckeditor/editor/fckeditor.html
5) <FCKeditorV2:FCKeditor ID="FCKeditor1" BasePath="~/fckeditor" runat="server"></FCKeditorV2:FCKeditor>
Result: Resource Not found - Requested URL: /fckeditoreditor/fckeditor.html
Any clue what I'm missing?
Re: HTTP Error 404 - Not Found.
$oFCKeditor = new FCKeditor('FCKeditor1');
$oFCKeditor->BasePath = '../fckeditor/';
$oFCKeditor->Value = $content;
$oFCKeditor->Create() ;
?>
Re: HTTP Error 404 - Not Found.
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath = "~/fckeditor/">
</FCKeditorV2:FCKeditor>
Many thanks for excellent solution.
lucyht
Re: HTTP Error 404 - Not Found.
i have tried this
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath = "~/fckeditor/">
</FCKeditorV2:FCKeditor>
but it still gives me the same error
Server Error in '/GDPAdmin' Application.
--------------------------------------------------------------------------------
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /GDPAdmin/fckeditoreditor/fckeditor.html
my application folder is C:\Inetpub\wwwroot\GDPAdmin
and i copied script files like this
C:\Inetpub\wwwroot\GDPAdmin\fckeditor\
i am wasting hrs and hrs.....
please help me.
Re: HTTP Error 404 - Not Found.