Note: This article was originally published in 2008. Some steps, commands, or software versions may have changed. Check the current General documentation for the latest information.
If you’re encountering this issue, this troubleshooting guide will help you identify the root cause and apply the appropriate fix.
Here is the error message I get:
| UnknownError | 11-04-2008, 07:39 AM | 245 | ||
|---|---|---|---|---|
| User Agent: | ||||
| Path: as HTTP | ||||
| Referrer: | ||||
| Message: Error occurred while running background task MultipleFileUploadCleanupJob | ||||
| System.Security.SecurityException: Request for the permission of type ‘System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=something ’ failed. | ||||
| at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) | ||||
| at System.Security.CodeAccessPermission.Demand() | ||||
| at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) | ||||
| at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) | ||||
| at CommunityServer.Components.FileSystemFileStorageProvider.GetBaseFolder() | ||||
| at CommunityServer.Components.FileSystemFileStorageProvider.GetPaths() | ||||
| at CommunityServer.Components.MultipleUploadFileManager.ExpireUploadContexts(Int32 afterHours) | ||||
| at CommunityServer.Components.MultipleFileUploadCleanupJob.Execute(XmlNode node) | ||||
| at Telligent.Tasks.Task.ᐁ() | ||||
| The action that failed was: | ||||
| Demand | ||||
| The type of the first permission that failed was: | ||||
| System.Security.Permissions.FileIOPermission | ||||
| The Zone of the assembly that failed was: | ||||
| MyComputer |
Summary
This guide covered the common causes and solutions for this General issue. If the problem persists, check the official documentation or system logs for additional diagnostic information.