Ticket #415 (closed Bug: fixed)
.NET Connector could not run in medium trust.
| Reported by: | RobertSirre | Owned by: | fredck |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor.Net 2.5 |
| Component: | Server : ASP.Net | Version: | |
| Keywords: | Confirmed | Cc: |
Description
Dear Fred,
Is had an issue of the .Net connector not being able to run in medium trust in my .Net 2.0 environment. There for I downloaded your sourcefiles in order to be able to debug my situation.
I also converted the project to VS2005/.NET 2.0.
I made a minor change to FileWorkerBase.UserFilesDirectory() (one Configuration import, and hostingenvironment.Mappath)
And a major change to Util.CreateDirectory(path) You created the directory by recursively searching for a parent directory and then creating the child directories one by one by using an imported (Com?) dell. I circumvented this method and just called the createdirectory method, of which I know it can create nested directories at a time), and now it works.
Maybe I made your code less generic, but now it works on my host. Hope I've been a bit of help,
best regards,
Robert Sirre