Dear sir and madam:
First, Thank you for your attention,I am a new user for FCKeditor, Now ,I have some puzzle in how to browse and upload, My implement for writing programme is "Microsoft Visual Studio .NET 2003" ,I download "FCKeditor_2.6.3" and "FCKeditor.Net_2.6.3" ,and I did some configuration as follows:
Step 1. I refer "CKeditor.Net_2.6.3\bin\Debug\1.1\FredCK.FCKeditorV2.dll" to my project named "WebTest";
Step 2. I copy "fckeditor" to my project;
Step 3. I create a folder named "Files" as upload file to save files(include some subfolder like "image","file","flash","media");
Step 4. I modify some configurations in "fckconfig.js":
Modify :
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php
To:
var _FileBrowserLanguage = 'aspx' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'aspx' ; // asp | aspx | cfm | lasso | php
Step 5. I modify in "editor/filemanager/connectors/aspx/config.aspx" below:
(1).private bool CheckAuthentication()
{
return true; //befor modification the return value is false
}
(2).UserFilesPath = "/Files/";
Step 6. For belows is my project structure:
WebTest //project name
|__fckeditor //"FCKeditor.Net_2.6.3"
|__FCKeditorTest.aspx //test page
|__Files // I want to browse or upload files form
|__File //folder save "files"
|__Image //folder save "images"
|__Flash //folder save "flashes
|__Media //folder save "Medias"
My problem is that errors had happen when I browse or upload files :
the first error is : XML request error: internal server Error(500) when I browse,the error information is as below:
http://127.0.0.1/WebTest/fckeditor/edit ... ascx(44,23): error CS0115: “ASP.config_ascx.SetConfig()” : not find appropriate method to rewrite.
the second error is :when I attempt to upload image or other type of files,it is hang up..... a long time ,unless I end the project.
This is my situation , I try to solve this problem till two days ,but failed ,so I have to look after help , I will appreciate it if anyone can help me!
Ultimately, I need to thank for all !
PS: I am sorry for my bad English, if my words puzzle you , I'm so sorry!
Sun, 08/10/2008 - 14:03
#1
Re: Error for browsing and uploading!!
Step 7.
<appSettings>
<add key="FCKeditor:BasePath" value="~/fckeditor/"/>
<add key="FCKeditor:UserFilesPath" value="/WebTest/Files/" />
</appSettings>
Re: Error for browsing and uploading!!