Hello,
Fckeditor doesn't seem to be working in medium trust. On my local machine its working peachy at full trust but on my shared hosting which is running at medium trust i get the XML request error when browsing the server. Is anybody having the same problem with medium trust and is there a fix for it?
Friendly greetings
Fckeditor doesn't seem to be working in medium trust. On my local machine its working peachy at full trust but on my shared hosting which is running at medium trust i get the XML request error when browsing the server. Is anybody having the same problem with medium trust and is there a fix for it?
Friendly greetings
RE: Asp.Net 2.0 medium trust XML request error...
Thanks
RE: Asp.Net 2.0 medium trust XML request erro
I've been having the same problem for a few months. From what I've gathered, the problem is that ASP.net (even 1.1) automatically attempts to validate all user input to protect from code hacks performed by users writing code within an input element. Unfortunately, FCKEditor's HTML never seems to pass snuff, so you get an error message.
There's a quick and (very) dirty workaround to this problem:
Add "validateRequest='false'" to a <%@ %> tage at the top of every page (you can place that within the same tag that specifies page language, codebehind, and inheritance)
'spagbol' suggested a method of encoding the text via javascript a while back, you can read it at: http://sourceforge.net/forum/message.php?msg_id=3389178
I haven't yet tried this approach, as its not very well suited to my particular setup, but maybe it can help you.
Anybody else run across any solutions out there about this?
RE: Asp.Net 2.0 medium trust XML request error...
My hosting tech support said:
"The issue at hand is due to ASP.NET 2.0 being configured to run in Medium trust.
Medium trust applications cannot read/write outside the applications root directory. In this case i believe the exception is being raised because FCKeditor is not properly configured, i could be wrong since i've never seen this application before.
In particular the variable FCKeditor:UserFilesPath in the web.config you may need to set it to a folder in your space.
You may also try contacting the developers of the application about this issue."
....Not too much of a help...maybe someone else has solved this....
RE: Asp.Net 2.0 medium trust XML request error...
<system.web>
<trust level="Full" originUrl=""/>
</system.web>
to your web.config file. The next question is, will your hosting server allow you to override the trust level? Because mine doesn't - I'm trying to get them to let me.
RE: Asp.Net 2.0 medium trust XML request erro
Thanks for the replies.