A bunch of our reports are failing today with the error “Failed to generate a file name for output.”
In addition, we have one user so far that gets this error when logging in. It seems like something on the server is misconfigured. I did put in a case.
Summary
Application Error
Exception caught in: Epicor.ServiceModel
Error Detail
============
Message: The type initializer for 'The type initializer for 'Ice.Hosting.ServerDataPath' threw an exception.' threw an exception.
Inner 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)
Program: Epicor.ServiceModel.dll
Method: CallWithCommunicationFailureRetry
Client Stack Trace
==================
at Ice.Cloud.ProxyBase`1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer)
at Ice.Cloud.ProxyBase`1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
at Erp.Proxy.BO.EmpBasicImpl.GetRows(String whereClauseEmpBasic, String whereClauseEmpBasicAttch, String whereClauseEmpLabExpRate, String whereClauseEmpCal, String whereClausePartner, String whereClauseResourceCal, String whereClauseEmpRole, String whereClauseEntityGLC, String whereClauseEmpRoleRt, Int32 pageSize, Int32 absolutePage, Boolean& morePages)
at Erp.Adapters.EmpBasicAdapter.OnGetRows(SearchOptions opts, Boolean& MorePages, String[] whereClauses)
at Ice.Lib.Framework.EpiBaseAdapter.GetRows(SearchOptions opts, Boolean& morePages)
at Ice.Lib.Searches.EpiSearchEngine.GetSearchResultsFromAdapterMethod(SearchOptions opts, SearchDataSetMode sdsMode)
at Ice.Lib.Searches.EpiSearchEngine.SearchUsingAdapterMethod(SearchOptions options)
at Ice.Lib.Searches.EpiSearchEngine.SearchIt(SearchOptions options, DataSet& results, Boolean& usedAdapter)
at Ice.Lib.Searches.EpiSearchEngine.SearchIt(SearchOptions options)
at Ice.Lib.Framework.EpiBaseAdapter.InvokeSearch(SearchOptions opts)
at Erp.Menu.Mes.Transaction.lookupEmployeeID(String employeeID)
Inner Exception
===============
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)