账号通
    

账号  

密码  

7338

查看

6

回复
主题:科讯.net文件上传服务器后提示“无法获取所需的权限” [收藏主题] 转到:  
cdlijie1987 当前离线

61

主题

20

广播

3

粉丝
添加关注
级别:学前班

用户积分:669 分
登录次数:182 次
注册时间:2009/7/6
最后登录:2016/9/4
cdlijie1987 发表于:2013/5/18 10:56:14   | 显示全部帖子 查看该作者主题 楼主 
科汛在线考试系统(NET)
“/”应用程序中的服务器错误。
无法获取所需的权限。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Security.Policy.PolicyException: 无法获取所需的权限。

源错误:

 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:

 [PolicyException: 无法获取所需的权限。]   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +7608563   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +57[FileLoadException: 未能加载文件或程序集“Kesion.Lucene, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。未能授予最小权限请求。 (异常来自 HRESULT:0x80131417)]   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142   System.Reflection.Assembly.Load(String assemblyString) +28   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46[ConfigurationErrorsException: 未能加载文件或程序集“Kesion.Lucene, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。未能授予最小权限请求。 (异常来自 HRESULT:0x80131417)]   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178   System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54   System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +227   System.Web.Compilation.BuildManager.CompileGlobalAsax() +52   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +337[HttpException (0x80004005): 未能加载文件或程序集“Kesion.Lucene, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。未能授予最小权限请求。 (异常来自 HRESULT:0x80131417)]   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +729[HttpException (0x80004005): 未能加载文件或程序集“Kesion.Lucene, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。未能授予最小权限请求。 (异常来自 HRESULT:0x80131417)]   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8907951   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.07520秒 powered by KesionCMS 9.0