Server Error in '/' Application.

The wait operation timed out

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ComponentModel.Win32Exception: The wait operation timed out

Source Error:


Line 58: 
Line 59:                 int mediaIdsubCategoryImage = subCat.GetPropertyValue<int>("subCategoryImage");
Line 60:                 var subCategoryImage = Umbraco.TypedMedia(mediaIdsubCategoryImage) != null ? Umbraco.TypedMedia(mediaIdsubCategoryImage) : Umbraco.TypedMedia(2123);
Line 61: 
Line 62:                 <div class="col-xs-12 col-sm-6 col-lg-4"><a style="background-image:url(@subCategoryImage.Url);" href="@subCat.Url"><div>@(!subCat.GetPropertyValue<bool>("hideName") ? @subCat.Name : "")</div></a></div>

Source File: d:\Sites\flauenskjold.dk\Views\ftCategory.cshtml    Line: 60

Stack Trace:


[Win32Exception (0x80004005): The wait operation timed out]

[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: TCP Provider, error: 0 - The wait operation timed out.)]
   Umbraco.Core.Cache.ObjectCacheRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles) +427
   Umbraco.Core.Cache.DeepCloneRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles) +173
   Umbraco.Core.Persistence.Repositories.DataTypeDefinitionRepository.GetCachedPreValueCollection(Int32 datetypeId) +327
   Umbraco.Core.Persistence.Repositories.DataTypeDefinitionRepository.GetPreValuesCollectionByDataTypeId(Int32 dataTypeId) +9
   Umbraco.Core.Services.DataTypeService.GetPreValuesCollectionByDataTypeId(Int32 id) +88
   Umbraco.Core.PropertyEditors.ValueConverters.ImageCropperValueConverter.MergePreValues(JObject currentValue, IDataTypeService dataTypeService, Int32 dataTypeId) +49
   Umbraco.Core.PropertyEditors.ValueConverters.ImageCropperValueConverter.ConvertDataToSource(PublishedPropertyType propertyType, Object source, Boolean preview) +178
   Umbraco.Web.PropertyEditors.ValueConverters.ImageCropperValueConverter.ConvertDataToSource(PublishedPropertyType propertyType, Object source, Boolean preview) +15
   Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedProperty.get_Value() +71
   Umbraco.Web.Models.PublishedContentBase.get_Url() +225
   ASP._Page_Views_ftCategory_cshtml.Execute() in d:\Sites\flauenskjold.dk\Views\ftCategory.cshtml:60
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107
   Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +194
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +88
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
   System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +188
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
   System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +68
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
   System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +43
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +68
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +602
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0