Application Error

An unexpected error has occured.

System.Data.SqlClient.SqlException (0x80131904): 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) ---> System.ComponentModel.Win32Exception (0x80004005): Access is denied
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.Open()
   at Microsoft.Practices.EnterpriseLibrary.Data.Database.GetNewOpenConnection()
   at Microsoft.Practices.EnterpriseLibrary.Data.Database.GetWrappedConnection()
   at Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteReader(DbCommand command)
   at funeralOne.WMS.Sql.CoreWebsiteHostname.<>c__DisplayClass90_0.<GetPreferredHostnameByWebsiteId>b__0() in C:\hi\git\f1connect-wms\funeralOne.WMS\Sql\CoreWebsiteHostname.cs:line 502
   at funeralOne.Cache.GetOrCreate(String key, Nullable`1 expirationTime, Func`1 createFn) in C:\hi\git\f1connect-wms\funeralOne\Cache.cs:line 188
   at funeralOne.Cache.GetOrCreate(String key, Func`1 createFn) in C:\hi\git\f1connect-wms\funeralOne\Cache.cs:line 168
   at funeralOne.WMS.Sql.CoreWebsiteHostname.GetPreferredHostnameByWebsiteId(Int32 websiteId) in C:\hi\git\f1connect-wms\funeralOne.WMS\Sql\CoreWebsiteHostname.cs:line 500
   at funeralOne.WMS.Sql.CoreWebsite.<InitializeFromDataReader>b__6_0() in C:\hi\git\f1connect-wms\funeralOne.WMS\Sql\CoreWebsite.cs:line 567
   at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Lazy`1.get_Value()
   at funeralOne.WMS.Web.WmsHttpModule.SetupRequest(ICoreWebsiteHostname hostname, IWmsProcessor wmsProcessor, Int32 branchId, String branchName) in C:\hi\git\f1connect-wms\funeralOne.WMS\Web\WmsHttpModule.cs:line 1383
   at funeralOne.WMS.Web.WmsHttpModule.SetupByHostname(Uri requestUrl) in C:\hi\git\f1connect-wms\funeralOne.WMS\Web\WmsHttpModule.cs:line 1105
   at funeralOne.WMS.Web.WmsHttpModule.context_BeginRequest(Object sender, EventArgs e) in C:\hi\git\f1connect-wms\funeralOne.WMS\Web\WmsHttpModule.cs:line 771
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
ClientConnectionId:a4751ca7-8884-4dbb-9c8d-882066589e07
Error Number:5,State:0,Class:20

- Please try refreshing the page and trying again.
- If the problem persists, please notify the website owner.
- The administrators of this website have been notified of this error.

Powered by the funeralOne F1Connect/2.265.0.0 Platform.