gpt4 book ai didi

c# - LogParser 访问被拒绝错误

转载 作者:行者123 更新时间:2023-11-30 18:37:46 24 4
gpt4 key购买 nike

我使用 Logparser 解析 IIS 日志并在网页上显示信息。在我的开发环境中一切正常,但是一旦我将应用程序发布到服务器,我就会收到以下错误:

Retrieving the COM class factory for component with CLSID {8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

这个错误是什么意思,我该如何解决?

最佳答案

您可能需要授予在服务器 DCOM 下运行它的用户运行它的权限。DCOM 配置位于组件服务中,您可以看到每个条目的 GUID,因此您应该能够识别相关条目。

然后为其编辑安全权限,并赋予相关用户Launch and Activation权限和Access权限。

关于c# - LogParser 访问被拒绝错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12263235/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com