Symptoms

Windows Provisioning Engine tasks fails with the following error message:

    SOAP Error: Client, HTTP Error: 500 Internal Server Error: .

In the Event Viewer log on the Windows Provisioning Engine host the following message appears:

Event code: 3005 
Event message: An unhandled exception has occurred. 
Exception information: 
    Exception type: HttpException 
    Exception message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

The network path was not found

Cause

The issue is caused by the connectivity issues between Windows Provisioning Engine host and Windows Provisioning Engine database host.

Resolution

Make sure that firewall configuration corresponds to our firewall guide.

If firewall is configured properly, need to performed steps from WPE documentation:

    WPEConfig.exe SETWINAUTH -server <WPEDB IP address> -db <WPE database name>

Internal content