Implementing DNN has been a real struggle. I am getting this message and can't find a solution to fix this. There are references to alter the web trust; how is this done.
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityEx
ception: Request for the permission of type 'System.Security.Permissio
ns.FileIOP
ermission,
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c56193
4e089' failed.
Source Error:
[No relevant source lines]
Source File: FileBasedCachingProvider.v
b Line: 280
Stack Trace:
[SecurityException: Request for the permission of type 'System.Security.Permissio
ns.FileIOP
ermission,
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c56193
4e089' failed.]
System.Security.CodeAccess
SecurityEn
gine.Check
(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccess
Permission
.Demand() +59
System.IO.Path.GetFullPath
(String path) +98
DotNetNuke.Services.Cache.
FileBasedC
achingProv
ider.FBCac
hingProvid
er.GetFile
Name(Strin
g FileName) in FileBasedCachingProvider.v
b:280
DotNetNuke.Services.Cache.
FileBasedC
achingProv
ider.FBCac
hingProvid
er.Insert(
String CacheKey, Object objObject, Boolean PersistAppRestart) in FileBasedCachingProvider.v
b:116
DotNetNuke.Common.Utilitie
s.DataCach
e.SetCache
(String CacheKey, Object objObject, Boolean PersistAppRestart) in DataCache.vb:217
DotNetNuke.Common.Utilitie
s.DataCach
e.SetCache
(String CacheKey, Object objObject) in DataCache.vb:213
DotNetNuke.Entities.Host.H
ostSetting
s.GetHostS
ettings() in HostSettings.vb:62
DotNetNuke.Common.Globals.
get_HostSe
ttings() in Globals.vb:233
DotNetNuke.Common.Globals.
GetHostPor
talSetting
s() in Globals.vb:725
DotNetNuke.Common.Globals.
GetPortalS
ettings() in Globals.vb:779
DotNetNuke.Authentication.
ActiveDire
ctory.Http
Modules.Au
thenticati
onModule.I
nit(HttpAp
plication application) +198
System.Web.HttpApplication
.InitModul
esCommon()
+66
System.Web.HttpApplication
.InitInter
nal(HttpCo
ntext context, HttpApplicationState state, MethodInfo[] handlers) +1006
System.Web.HttpApplication
Factory.Ge
tNormalApp
licationIn
stance(Htt
pContext context) +259
System.Web.HttpApplication
Factory.Ge
tApplicati
onInstance
(HttpConte
xt context) +114
System.Web.HttpRuntime.Pro
cessReques
tInternal(
HttpWorker
Request wr) +350