asp.net - 如何在server 2008上添加ASPNET帐户?

标签 asp.net

我有一个这样的错误:

Retrieving the COM class factory for component with CLSID {65EB3876-89FF-459F-BF24-02E8DD7F2DB2} failed due to the following

error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

页面上说要这样做:

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

而且...问题就在那里!我看不到 ASPNET 用户。我尝试重新安装框架 4.0 但 ASPNET 用户未在 IIS 7.5 上创建。解决办法是什么?

最佳答案

在 IIS7 中,默认用户不再是 ASPNET,而是 NETWORK SERVICE。

请参阅上一个问题:https://serverfault.com/questions/83194/asp-net-user-account-permissions-in-iis-7-on-windows-2008-server

我猜您收到的错误已经过时了。

关于asp.net - 如何在server 2008上添加ASPNET帐户?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6927936/

相关文章:

asp.net - ASP 文件上传静默失败

c# - Server.Transfer 后 IE 和 Firefox 的不同回发行为

asp.net - 如何停止 ASP.NET Webforms 页面缓存不同版本

c# - 当页面呈现超时时会发生什么?

c# - 使用 LINQ to SQL 进行更新的最有效方式

asp.net - 可以在 Webforms 项目中托管 ASP.NET MVC Controller + View ...?

c# - 在 asp.net 中检索视频文件信息

c# - Directory.GetCurrentDirectory() 不再指向 bin 文件夹

c# - 将特定数据从 1 个数据表传输到另一个错误

c# - 如何在 Web 表单上输入值并将其作为数字存储在 SQL Server 中