medium trust

Dec 20, 2009 at 8:15 PM
Edited Dec 20, 2009 at 8:19 PM

Hello 

I looked through these discussions and found a number of posts related to running in medium trust and it sounded like medium trust support was added in earlier versions.  My host only supports medium trust and when I attempt to load the module, I am getting the following error. (latest version of nb-store)  am running dnn version 4.9.5

StartJob Creating files
Failure ExceptionSystem.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 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 DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateModuleFile(PaFile File, PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFiles(PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.Install(PaFolderCollection folders) at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install() 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: Intranet

Is this a trust issue on install?

Thanks

Coordinator
Dec 20, 2009 at 9:12 PM

That looks like a permissions issue to me. Try re-applying the correct DNN permissions for Network_Service to the file system and let's see what happens.

Rob