Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Nik 1517 posts 6705 karma points MVP 5x c-trib
    Apr 27, 2016 @ 09:24

    Bizarre IIS Error suddenly happened on production environment.


    • Umbraco Version: 7.3.4
    • SQL : MSSQL 2014
    • Server OS: Windows Server 2012 R2

    Last night, at about 10:30pm (BST) our Umbraco site went down. When visiting the site we would be presented with a YSOD with the following exception:

    Exception type: InvalidCastException 
        Exception message: Specified cast is not valid.
       at Umbraco.Core.Persistence.Database.PocoData.<GetConverter>b__3b(Object src)
       at petapoco_factory_48(IDataReader )
       at Umbraco.Core.Persistence.Database.<Query>d__7`1.MoveNext()
       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
       at Umbraco.Core.Persistence.Repositories.LanguageRepository.PerformGetAll(Int32[] ids)
       at Umbraco.Core.Persistence.Repositories.RepositoryBase`2.GetAll(TId[] ids)
       at Umbraco.Core.Services.LocalizationService.GetAllLanguages()
       at Umbraco.Web.Routing.PublishedContentRequestEngine.FindDomain()
       at Umbraco.Web.Routing.PublishedContentRequestEngine.PrepareRequest()
       at Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Although I have resolved the issue by rebooting the server I have no idea why it happened. Or if there was another way to resolve the issue. There were no content changes and the site had been stable prior to this.

    Has anyone seen this error before? and if so, any ideas on what could have caused it?



  • Jan Skovgaard 11264 posts 23592 karma points MVP 9x admin c-trib
    Apr 27, 2016 @ 14:41
    Jan Skovgaard

    Hi Nik

    This is a longshot...but since you're running 2012 R2 it might be worth checking if you're perhaps affected by this issue?


  • Arjan H. 177 posts 332 karma points c-trib
    Mar 30, 2022 @ 13:04
    Arjan H.

    Hi Nik, I'm experiencing similar issues on a 7.15.7 installation. Did you ever find out what was causing the issue?

Please Sign in or register to post replies

Write your reply to: