Suddenly errors in Razor views RRS feed

  • Question

  • Hi there,

    I have a strange behaviour in my Visual Studio since yesterday.

    From one minute to the other in every Razor view I open I receive the same errors:

    • At my model declaration ("@model"): "ASP.NET runtime error: Communication object System.ServiceModel.Channels.ServiceChannel cannot be used for communication because it's in faulted stated"
    • And at my ViewBag.Title: "At least one type needed for compiling dynamic expressions is missing. Missing a reference?"

    Does anybody know where these error may be coming from or could point in some direction!? I've already searched Google and found at least for the first error some similar issues. But nothing suggested there did help me in anyway. Of course did I restart my system. Also tried with deactivating all addons or removing and adding again the reference to C# library. Nothing!

    Would really appreciate if someone could help me out here. IntelliSense, syntax highlighting and solution itself are all working, but nevertheless am I still a bit worried if this may not impact my solution in any way.



    Saturday, May 9, 2015 7:50 AM


  • Hi Thomas,

    Please post your question at asp.net MVC forum for a better assistance on your errors, such issue are heavily discussed there, this forum is for C# code related issues.


    Fouad Roumieh

    • Proposed as answer by Just Karl Monday, May 11, 2015 8:09 PM
    • Marked as answer by Just Karl Monday, May 18, 2015 7:13 PM
    Saturday, May 9, 2015 12:18 PM