Hi,
I have gone through the process of installing fckeditor in my application,after a fight for a week atlast i found it running in my system.
steps to be followed for installing:---
1.There is a wiki site for this one. In asp.net page there are steps for installation in that.
This is the link for that:
http://wiki.fckeditor.net/Developer%27s ... on/ASP.Net
Go through that and make sure that you would complete all the steps in that.
2.just define the custom config settings in the web.config.
<appSettings>
<add key="FCKeditor:UserFilesPath" value="~/UserFiles/" />
<add key="BasePath" value="http://www.mysite.com/cms/FCKEditor/"/>
<add key="BaseHref" value="http://www.mysite.com/cms/"/>
</appsettings>
if you are using .net 1.1, you may change the userfiles path to "/UserFiles/".
I had given the server url as mysite.com, you can give your site here.cms is my application name or the name for virtual dir.
If you are working in localhost then it should look like this
In asp.net1.1
<add key="BasePath" value="http://localhost/cms/FCKEditor/"/>
In asp.net 2.0
First check the localhost number by running in the site. you can see it in the url of browser.
For my Visual web developer it looks like this
<add key="BasePath" value="http://localhost:4379/cms/FCKEditor/"/>
change the same to the Basepath also.
3. Now you can place the fckeditor on the page as described in the above link.
Now give these setting to the fckeditor in the page load event of the page on which u placed the editor.
like:
FCKeditor1.BasePath = ConfigurationManager.AppSettings["BasePath"].ToString();
FCKeditor1.BaseHref = ConfigurationManager.AppSettings["BaseHref"].ToString();
If every things is ok then you should have your fckeditor running.
If you getting a XML internal server error (500)
in image browsing.Then this is due to folder permissions settings. You have to give it as below.
Create a folder named UserFiles in the root of your site. Give all the permissions like read,write,modify to that folder.
I am sure if you follow this procedure. It will surely work out.
Post message if you have any issues.
Forgive me for any mistakes.
Thanks,
Navin
Sat, 06/03/2006 - 05:48
#1
RE: Adding FCKEditor to your ASP.NET-Steps