Is this error caused by the restriction of a medium trust environment not allowing the core to modify the web.config file? I am attemping to install a module through DNN and get this failure notice. Researching the information I think this is a security permission error of not allowing the Network Services Account (win2k3 Server) of the hosting company have access to the web.config file. What can be done to remove this error in medium trust? Also, what is the core writing to the web.config file for? The module I am installing does not write to the web.config file, so what is (my guess is the core)?
Failure ExceptionSystem.UnauthorizedAccessException: Access to the path 'd:\hosting\mytestsite\web.config' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.IO.File.OpenFile(String path, FileAccess access, SafeFileHandle& handle) at System.IO.File.SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc) at System.IO.File.SetLastWriteTime(String path, DateTime lastWriteTime) at DotNetNuke.Common.Utilities.Config.Touch() at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstaller_V3.UpgradeModule(DesktopModuleInfo ModuleInfo) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.RegisterModules(PaFolder Folder, ArrayList Modules, ArrayList Controls) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.Install(PaFolderCollection folders) at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install()
Any help wins you 15 bonus points and two tickets.
TIA.