我将Nuget源代码部署到我公司的Web服务器,但是当导航到URL时,我收到以下错误(从服务器上的事件查看器中提取):
Event code: 4011
Event message: An unhandled access exception has occurred.
Event time: 11/6/2013 9:02:54 AM
Event time (UTC): 11/6/2013 3:02:54 PM
Event ID: 2f5d6f7e594e47259b6dc050f82fc57d
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT/Nuget-3-130282237713215393
Trust level: Full
Application Virtual Path: /Nuget
Application Path: E:\omitted\omitted\Nuget\
Machine name: SERVERNAME
Process information:
Process ID: 1420
Process name: w3wp.exe
Account name: DOMAIN\serviceAccount
Request information:
Request URL: http://subdomain.domain.net/nuget
Request path: /nuget
User host address: ***.**.***.**
User:
Is authenticated: False
Authentication Type:
Thread account name: DOMAIN\serviceAccount
Custom event details:
这将在我的本地计算机上运行正常,但不在Web服务器上运行。有没有人对问题可能是什么有任何想法?我所做的只是获取Nuget源代码,修改web.config中的数据库详细信息以指向我的数据库,并将其部署到Web服务器。
本地用户组需要修改权限才能通过此错误。解决。
我想澄清那些提出这个问题的人。需要在网站驻留在Windows资源管理器中的文件夹上更改权限。
我有这个确切的错误 - 唯一有效的解决方案是将应用程序池的Enable 32-bit Applications
高级设置设置为True
。
更新:由于我仍然遇到特定解决方案的问题,我发现在大多数情况下清除C:\WINDOWS\Microsoft.NET\Framework\v4.xxx.xx\Temporary ASP.NET Files\
可以解决问题。