- 29 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Blueprint Tracker Web Service Fails when testing the services using the Blueprint Server Configuration Tool
- Updated on 29 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Problem:
When running the Blueprint server configuration the tracker service test fails. The two errors below will be seen.
The error below is seen in the trackerService.log file
TrackerService] Unexpected error occurred when communicating with the BNI Layer while calling: GetSettings. Access is denied
The bleow error is seen in the taskmaster.log file.
[2016/06/07 01:30:02 P1E4 D001 T012 e TaskMaster] Exception...
1) Exception Information
=============================================
Exception Type: System.Web.Services.Protocols.SoapException
Code: http://schemas.xmlsoap.org/soap/envelope/:Server
Detail: System.Xml.XmlElement
SubCode: NULL
Message: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ComponentModel.Win32Exception: Access is denied
Server stack trace: (partial stack trace provided here)
at System.ServiceModel.Channels.AppContainerInfo.GetCurrentProcessToken()
at System.ServiceModel.Channels.AppContainerInfo.RunningInAppContainer()
at System.ServiceModel.Channels.AppContainerInfo.get_IsRunningInAppContainer()
at System.ServiceModel.Channels.PipeSharedMemory.BuildPipeName(String pipeGuid)
HelpLink: NULL
Source: System.Web.Services
HResult: -2146233087
Resolution:
By default there is no web.config file in the IIS wwwroot directory which is by default C:\inetpub\wwwroot.
This issue was resolved by renaming the web.config file to web.config.old and restarting IIS. The web.config file is not present by default when a server is installed. Some may contain an "Impersonate" TAG value which changes the permissions of how things work. After making this change the Blueprint Tracker Web Service passed as expected.