An error occuring when you trying to open project task list in Project Web App 2019

In this brief article we will investigate one of reasons that can be root cause of error when you trying to open project task list in Project Web App 2019. In my case problem was in stopped service. It may be different reason for error when you trying to open project task list in you case. Explanations and details will be below.

Environment description

Operatioing system: Windows Server 2019 Datacenter.

Version of SharePoint: Share Point 2019 (build 16.0.10352.20000).

Error example

To reproduce issue we must go to the Project Web App site page. In my case it was link below:


Next go to the page with list of projects:

In list of projects find out related project. For example “Test”.

In normal behaviour you should see list of project tasks and Gant diagramm. But you not see. All than you can see is error “An error occurred while opening your project. Give us a few minutes and try again. If this happens again, contact your administrator”:

Root cause

If you analyze ULS logs that you can find error abount connection failure to service Cal Service:

Failed to connect to Calc Service instance on serverId 0f861a87-586f-446d-aac6-c9797e5a5f52 with uri net.tcp://srv-proj01:16001/: System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://srv-proj01:16001/. The connection attempt lasted for a time span of 00:00:02.0359926. TCP error code 10061: No connection could be made because the target machine actively refused it  ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it    
 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)    
 at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)    
 at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)     -
 -- End of inner exception stack trace ---    Server stack trace:     
 at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)    
 at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)    
 at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)    
 at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)    
 at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    
 at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)    
 at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    Exception rethrown
 at [0]:     
 at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)    
 at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)    
 at System.ServiceModel.ICommunicationObject.Open()    
 at Microsoft.Office.Project.Server.Services.ServiceWCFUtility.<>c__DisplayClass7`1.<GetClientChannelForService>b__4()    
 at Microsoft.Office.Project.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)    
 at Microsoft.Office.Project.Server.Services.ServiceWCFUtility.GetClientChannelForService[TServiceInterface](String serviceLoggingName, IChannelFactory`1 channelFactory, EndpointIdentity serviceEndpointIdentity, Int32 tcpPort, Nullable`1 requestedServerId)

Text from error above very clear explain what happened. Project Web App cannot connect to Calc Service.


You should start Microsoft Project Server Calculation Service 2016″ service:

Comandlet for those who prefer PowerShell:

Start-Service -Name ProjectCalcService16

After minure or even faster problem go away when you try to open porject tasl list:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *