System.Web.AspNetHostingPermission Failed

Recently whilst upgrading a DotNetNuke website I encountered the error: System.Security.SecurityException: Request for the permission of type ‘System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral,  failed. The issue is caused in Windows 2008 Server by the permissions on an extracted zip file. When using the built-in Windows file unzip the permissions are retained relevant to the original user. Thus […]

Read More… from System.Web.AspNetHostingPermission Failed

Error File Upload is Unavailable Cannot Access a Closed File

DotNetNuke version 3 can give an error relating to a file upload, indicating that it can’t be completed. The issue being a closed file: Error: File Upload is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Cannot access a closed file. —> System.ObjectDisposedException: Cannot access a closed file. at System.IO.__Error.FileNotOpen() at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin) at System.Web.HttpRawUploadedContent.TempFile.GetBytes(Int32 offset, Int32 length, […]

Read More… from Error File Upload is Unavailable Cannot Access a Closed File

Runat Attribute Must Have the Value Server

Following Microsoft’s updates for August 2007 I received the following error on a DotNetNuke website: Error: Edit Text/HTML is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: The Runat attribute must have the value Server. —> System.Exception: The Runat attribute must have the value Server. —> System.Web.HttpParseException: The Runat attribute must have the value Server. —> System.Exception: The Runat attribute […]

Read More… from Runat Attribute Must Have the Value Server