IBM Support

'Access is denied' on file 'c:\inetpub\wwwroot\web.config' causing 'An error occurred while trying to access server' when launching Controller

Troubleshooting


Problem

User launches Controller. User receives error message. All users affected - no users can logon.

Symptom

Screen:
An error occurred while trying to access server

Errors from the Event Viewer:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 7/13/2009
Time: 11:31:57 AM
User: N/A
Computer: servername
Description:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 7/13/2009 11:31:57 AM
Event time (UTC): 7/13/2009 6:31:57 PM
Event ID: 2c84b6a7a9d54deda9e26d210ae591bb
Event sequence: 1
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/Cognos8/ControllerServer-16-128919835169960800
Trust level: Full
Application Virtual Path: /Cognos8/ControllerServer
Application Path: C:\Program Files\cognos\c8\ControllerProxyServer\
Machine name: machine name

Process information:
Process ID: 5604
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: ConfigurationErrorsException
Exception message: An error occurred loading a configuration file: Failed to start monitoring changes to 'c:\inetpub\wwwroot\web.config' because access is denied. (c:\inetpub\wwwroot\web.config)

Request information:
Request URL: http://servername/cognos8/controllerserver/ccrws.asmx
Request path: /cognos8/controllerserver/ccrws.asmx
User host address: 172.16.1.11
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)


Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.4","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Cognos Controller

Software version:
8.4

Operating system(s):
Windows

Document number:
394129

Modified date:
08 May 2025

UID

swg21395843

Manage My Notification Subscriptions