Ecco il dettaglio dell'errore.
-----------------------------------------
System.SystemException non è stata gestita
Message=Impossibile creare AppDomain.
Source=System.Web
StackTrace:
in System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
in System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
in System.Web.Hosting.ApplicationManager.GetAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
in System.Web.Hosting.ApplicationManager.CreateObjectInternal(String appId, Type type, IApplicationHost appHost, Boolean failIfExists, HostingEnvironmentParameters hostingParameters)
in System.Web.Hosting.ApplicationManager.CreateObject(String appId, Type type, String virtualPath, String physicalPath, Boolean failIfExists, Boolean throwOnError)
in System.Web.Hosting.ApplicationManager.CreateObject(String appId, Type type, String virtualPath, String physicalPath, Boolean failIfExists)
in Microsoft.VisualStudio.WebHost.Server.GetHost()
in Microsoft.VisualStudio.WebHost.Server.OnSocketAccept(Object acceptedSocket)
in System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
in System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
in System.Threading.ThreadPoolWorkQueue.Dispatch()
in System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
InnerException: System.Runtime.InteropServices.SEHException
Message=Eccezione lanciata da un componente esterno.
Source=mscorlib
ErrorCode=-2147467259
StackTrace:
in System.Security.Policy.PEFileEvidenceFactory.GetLocationEvidence(SafePEFileHandle peFile, SecurityZone& zone, StringHandleOnStack retUrl)
in System.Security.Policy.PEFileEvidenceFactory.GenerateLocationEvidence()
in System.Security.Policy.PEFileEvidenceFactory.GenerateEvidence(Type evidenceType)
in System.Security.Policy.AssemblyEvidenceFactory.GenerateEvidence(Type evidenceType)
in System.Security.Policy.Evidence.GenerateHostEvidence(Type type, Boolean hostCanGenerate)
in System.Security.Policy.Evidence.GetHostEvidenceNoLock(Type type)
in System.Security.Policy.Evidence.GetHostEvidence(Type type, Boolean markDelayEvaluatedEvidenceUsed)
in System.Security.Policy.AppDomainEvidenceFactory.GenerateEvidence(Type evidenceType)
in System.Security.Policy.Evidence.GenerateHostEvidence(Type type, Boolean hostCanGenerate)
in System.Security.Policy.Evidence.GetHostEvidenceNoLock(Type type)
in System.Security.Policy.Evidence.GetHostEvidence(Type type, Boolean markDelayEvaluatedEvidenceUsed)
in System.Security.Policy.Evidence.GetHostEvidence[T]()
in System.Web.Hosting.ApplicationManager.GetDefaultDomainIdentity()
in System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
InnerException:
-------------------------------------------------------
Grazie per l'attenzione