Ticket #2153 (closed New Feature: wontfix)
add web.config to avoid errors in themed aspnet pages
| Reported by: | MihaiDrebot | 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
comment:1 Changed 5 years ago by w.olchawa
- Status changed from new to closed
- Keywords styleSheetTheme removed
- Resolution set to invalid
comment:2 Changed 5 years ago by alfonsoml
- Status changed from closed to reopened
- Keywords Discussion HasPatch added
- Type changed from Bug to New Feature
- Resolution invalid deleted
- Summary changed from themed aspnet pages to add web.config to avoid errors in themed aspnet pages
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 in reply to: ↑ description ; follow-up: ↓ 4 Changed 5 years ago by deap82
- 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 in reply to: ↑ 3 Changed 4 years ago by skorozsi
- 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>

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.