Hello everyone.
I have my DNN hosted at Godaddy, and I upgraded from 4.9 to 5.4.4 (This took several upgrades). I also moved to IIS7 fro IIS6.
Somewhere across these upgrades, my Repository stopped working. I'm sorry to say I dont know which one exactly, I did not test every module after each upgrade.
No on my Page the module just shows:
|
|
|
|
A critical error has occurred.
Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. |
Repository
|
|
|
The Event view show the following:
AssemblyVersion: 5.4.4
PortalID: 0
PortalName: Maritime Air Charters
UserID: 1
UserName: host
ActiveTabID: 67
ActiveTabName: Flight Documents
RawURL: /mac/FlightDocuments/tabid/67/Default.aspx
AbsoluteURL: /mac/Default.aspx
AbsoluteURLReferrer: http://www.maritimeaircharters.com/mac/Admin/LogViewer/tabid/48/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 59c107ac-f2aa-4b76-aaef-6a0c6767082f
InnerException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Security.CodeAccessSecurityEngine.Check
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ---> System.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.CreateDirectory(String path, DirectorySecurity directorySecurity) at DotNetNuke.Modules.Repository.RepositoryBL.SetRepositoryFolders(Int32 ModuleId) at DotNetNuke.Modules.Repository.RepositoryDashboard.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 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 --- End of inner exception stack trace ---
Source:
Server Name: P3NW8SH146
This is the ONLY module affected. Everything else is working fine.
I'm not sure what is going on. Any ideas?