“G2S”应用程序中的服务器错误

2023-05-03 20:32:35   第一文档网     [ 字体: ] [ 阅读: ] [ 文档下载 ]
说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。下载word有问题请添加QQ:admin处理,感谢您的支持与谅解。点击这里给我发消息

#第一文档网# 导语】以下是®第一文档网的小编为您整理的《“G2S”应用程序中的服务器错误》,欢迎阅读!
应用程序,错误,服务器,G2S

“/G2S”应用程序中的服务器错误。



拒绝访问。 (异常来自 HRESULT:0x (E_ACCESSDENIED))

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: horizedAccessException: 拒绝访问。 (异常来自 HRESULT:0x (E_ACCESSDENIED))

未被授权访问所请求的资源。请考虑授予 请求标识访问此资源的权限。 有一个在应用程序没有模拟时使用的基进程标识(通常,在 IIS 5 上为 {MACHINE}\ASPNET,在 IIS 6 上为网络服务)。如果应用程序正在通过 impersonate="true"/> 模拟,则标识将为匿名用户(通常为 IUSR_MACHINENAME)或经过身份验证的请求用户。

To grant access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the account, and check the boxes for the desired access.

源错误:

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



堆栈跟踪:



[UnauthorizedAccessException: 拒绝访问。 (异常来自 HRESULT:0x (E_ACCESSDENIED))]

[FileLoadException: 未能加载文件或程序集“App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。拒绝访问。] bly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&

stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0

nalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416 nalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166 (String assemblyString) +35

.ssemblyHelper(String assemblyName, Boolean starDirective) +190

[ConfigurationErrorsException: 未能加载文件或程序集“App_Code,

Version=0.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。拒绝访问。]

.ssemblyHelper(String assemblyName, Boolean starDirective) + .llAssembliesFromAppDomainBinDirectory() +388 .ssembly(AssemblyInfo ai) +232 ._AssemblyInternal() +48

.peFromAssemblies(AssemblyCollection assembliesCollection, String typeName, Boolean ignoreCase) +166

.pe(String typeName, Boolean throwOnError, Boolean ignoreCase) +362


.pe(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +64

[ConfigurationErrorsException: 未能加载文件或程序集“App_Code,

Version=0.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。拒绝访问。]

.pe(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +

.n.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +78 .IntegratedModuleCollection(List`1 moduleList) +194 .duleCollection(IntPtr appContext) +1891

.terEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +166

.pecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +336

.ecialApplicationInstance(IntPtr appContext, HttpContext context) +350

.alizeApplication(IntPtr appContext) +382

[HttpException (0x): 未能加载文件或程序集“App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。拒绝访问。] .RequestInit(HttpContext context) +

.eFirstRequestInit(HttpContext context) +88

.ssRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +



版本信息: Microsoft .NET Framework 版本:2.0.50727.8000; 版本:2.0.50727.8001




本文来源:https://www.dywdw.cn/2a69cae2fbd6195f312b3169a45177232e60e4cf.html

相关推荐
推荐阅读