我将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 服务器上。