Note : Cet article a été publié à l’origine en 2008. Certaines étapes, commandes ou versions de logiciels ont pu changer. Consultez la documentation actuelle de General pour les informations les plus récentes.
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.Sécurité.SécuritéException: Request for the permission of type ‘System.Sécurité.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=something ’ failed. | ||||
| at System.Sécurité.CodeAccessSécuritéEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) | ||||
| at System.Sécurité.CodeAccessPermission.Demand() | ||||
| at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySécurité dirSécurité) | ||||
| at System.IO.Directory.CreateDirectory(String path, DirectorySécurité directorySécurité) | ||||
| 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.Sécurité.Permissions.FileIOPermission | ||||
| The Zone of the assembly that failed was: | ||||
| MyComputer |
Résumé
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.