事件消息:发生未处理的访问异常(IIS 7.5,无法加载网站)

问题描述:

我将Nuget源代码部署到公司的Web服务器上,但是导航到URL时,出现以下错误(从服务器上的事件查看器中拉出):

I deployed the Nuget source code to my company's web server, but when navigate to the URL, I get the following error (pulled from Event Viewer on the server):

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服务器.

This will run just fine on my local machine, but not on the web server. Does anyone have any ideas as to what the problem might be? All I did was take the Nuget source code, modify the database details in the web.config to point to my database, and deploy it to the web server.

本地用户组需要修改权限才能克服此错误.解决.

The local users group needed modify permissions to get past this error. Resolved.