ASP获取错误onload

时间:2017-02-01 04:51:19

标签: c# asp.net

我正在使用GoDaddy和ASP版本4.6.2构建一个ASP站点。我正在使用ASP 4.5.1构建。我的安全政策是

 <system.web>
<securityPolicy>
  <trustLevel name="Full" policyFile="internal" />
</securityPolicy> </system.web>
  

应用程序尝试执行不允许的操作   安全政策。授予此应用程序所需的权限   请联系您的系统管理员或更改应用程序   配置文件中的信任级别。 [SecurityException:Request   失败。]
  System.Security.CodeAccessSecurityEngine.ThrowSecurityException(RuntimeAssembly   asm,PermissionSet被授予,PermissionSet被拒绝,   RuntimeMethodHandleInternal rmh,SecurityAction动作,对象需求,   IPermission permThatFailed)+166
  System.Security.CodeAccessSecurityEngine.ThrowSecurityException(对象   assemblyOrString,PermissionSet被授予,PermissionSet被拒绝,   RuntimeMethodHandleInternal rmh,SecurityAction动作,对象需求,   IPermission permThatFailed)+100
  System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet中   授予,PermissionSet拒绝,PermissionSet要求,   RuntimeMethodHandleInternal rmh,Object assemblyOrString,   SecurityAction动作,Boolean throwException)+272
  System.Security.CodeAccessSecurityEngine.CheckSetHelper(CompressedStack   cs,PermissionSet授予,PermissionSet被拒绝,PermissionSet   需求,RuntimeMethodHandleInternal rmh,RuntimeAssembly asm,   SecurityAction行动)+55
  System.RuntimeTypeHandle.GetTypeByName(String name,Boolean   throwOnError,Boolean ignoreCase,Boolean reflectionOnly,   StackCrawlMarkHandle stackMark,IntPtr pPrivHostBinder,Boolean   loadTypeFromPartialName,ObjectHandleOnStack type)+0
  System.RuntimeTypeHandle.GetTypeByName(String name,Boolean   throwOnError,Boolean ignoreCase,Boolean reflectionOnly,   StackCrawlMark&安培; stackMark,IntPtr pPrivHostBinder,Boolean   loadTypeFromPartialName)+70 System.RuntimeType.GetType(String   typeName,Boolean throwOnError,Boolean ignoreCase,Boolean   reflectionOnly,StackCrawlMark&amp; stackMark)+39
  System.Type.GetType(String typeName)+32
  System.CodeDom.Compiler.CompilerInfo.get_IsCodeDomProviderTypeValid()   +10 System.Web.Compilation.CompilationUtil.GetRecompilationHash(CompilationSection   ps)+2085
  System.Web.Configuration.CompilationSection.get_RecompilationHash()   +107 System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDateInternal(Int64   cachedHash)+465
  System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(Int64的   cachedHash)+51
  System.Web.Compilation.BuildManager.ExecutePreAppStart()+132
  System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager   appManager,IApplicationHost appHost,IConfigMapPathFactory   configMapPathFactory,HostingEnvironmentParameters hostingParameters,   PolicyLevel policyLevel,Exception appDomainCreationException)+521

我有什么可以看的,因为我不确定错误消息指向的位置。或者我需要联系GoDaddy吗?

感谢。

0 个答案:

没有答案