I'm hosted and my ISP's (GoDaddy) upgraded me to IIS7 and lifted and shifted both the DNN and database (I'm on DNN4.8.4, IIS7 and SqlServer 2005) to a new server. DNN works in most non admin functions after I updated the WEB.CONFIG with the correct/new database server name, but certain functions, host functions like editing a portal definition, just fail with a public key token error like this ...
An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> 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.Reflection.Assembly.VerifyCodeBaseDiscovery(String codeBase) at System.Reflection.Assembly.get_CodeBase() at System.Web.Handlers.ScriptResourceHandler.GetCodeBaseWithAssert(Assembly assembly) at System.Web.Handlers.ScriptResourceHandler.GetLastWriteTime(Assembly assembly) at System.Web.Handlers.ScriptResourceHandler.GetAssemblyInfoInternal(Assembly assembly) at System.Web.Handlers.ScriptResourceHandler.GetAssemblyInfo(Assembly assembly) at System.Web.Handlers.ScriptResourceHandler.RuntimeScriptResourceHandler.System.Web.Handlers.IScriptResourceHandler.GetScriptResourceUrl(Assembly assembly, String resourceName, CultureInfo culture, Boolean zip, Boolean notifyScriptLoaded) at System.Web.Handlers.ScriptResourceHandler.GetScriptResourceUrl(Assembly assembly, String resourceName, CultureInfo culture, Boolean zip, Boolean notifyScriptLoaded) at System.Web.UI.ScriptManager.GetScriptResourceUrl(String resourceName, Assembly
... if I've been subjected to a lift and shift do I need to rebuild anything or could this be an issue with the new servers security policy?
Regards
Mark