Opened 18 years ago
Closed 15 years ago
#2153 closed New Feature (wontfix)
add web.config to avoid errors in themed aspnet pages
| Reported by: | Mihai Drebot | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Server : ASP.Net | Version: | |
| Keywords: | Discussion HasPatch | Cc: | dan82pettersson@…, skorozsi@… |
Description
If you are greeted with the following error when trying to upload files using the file manager:
Using themed css files requires a header control on the page. (e.g. <head runat="server" />).
You don't need aspnet themes within the fckeditor folder, so simply add a web.config file in the folder, with the following content:
<configuration>
<system.web>
<pages styleSheetTheme=""> </pages>
</system.web>
</configuration>
Change History (6)
comment:1 Changed 18 years ago by
| Keywords: | styleSheetTheme removed |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
comment:2 Changed 18 years ago by
| Keywords: | Discussion HasPatch added |
|---|---|
| Resolution: | invalid |
| Status: | closed → reopened |
| Summary: | themed aspnet pages → add web.config to avoid errors in themed aspnet pages |
| Type: | Bug → New Feature |
I think that this is a suggestion to add such a file to the default installation, just like it's done with the .htaccess to avoid some common problems.
comment:3 follow-up: 4 Changed 17 years ago by
| Cc: | dan82pettersson@… added |
|---|
Replying to MihaiDrebot:
If you are greeted with the following error when trying to upload files using the file manager:
Using themed css files requires a header control on the page. (e.g. <head runat="server" />).
You don't need aspnet themes within the fckeditor folder, so simply add a web.config file in the folder, with the following content:
<configuration>
<system.web>
<pages styleSheetTheme=""> </pages>
</system.web>
</configuration>
I have tried to add this in a web.config in the fckeditor root folder as well as in the fckeditor/editor and the fckeditor/editor/filemanager/browser/default folder. But I still get the error message. Where am I supposed to put it?
comment:4 Changed 17 years ago by
| Cc: | skorozsi@… added |
|---|
I have tried to add this in a web.config in the fckeditor root folder as well as in the fckeditor/editor and the fckeditor/editor/filemanager/browser/default folder. But I still get the error message. Where am I supposed to put it?
Hi, a found a solution to this problem: instead of styleSheetTheme="", use theme="". Actually I use both, now it works. <configuration>
<system.web>
<pages styleSheetTheme="" theme=""/>
</system.web>
</configuration>
comment:6 Changed 15 years ago by
| Resolution: | → wontfix |
|---|---|
| Status: | reopened → closed |
The file browser is now distributed as an external application: CKFinder, the built-in filemanager is no longer maintained.

I'm not an ASP.NET expert but this seems to me more like an instruction which should be added to
http://docs.fckeditor.net
rather than a bug.