Could not load file or assembly 'Microsoft.Web.Infrastructure

Discussion in 'ASP.NET / ASP.NET Core' started by julianmummery, Jan 4, 2013.

  1. Hi all,

    Just uploaded my asp.net website and when browsing it I am getting:

    Could not load file or assembly 'Microsoft.Web.Infrastructure

    Have I missed something in the discountasp.net control panel that I am supposed to be setting?

    It shouldn't need that assembly for a basic website.

    Kind Regards
    Julian
     
  2. I figured it out.

    I had to remove all references to:

    Microsoft.Web.Samples

    Re-compiled, ftp'd back up and all was good.

    Julian
     
  3. martino

    martino DiscountASP.NET Staff

    Thanks for posting your findings and how you fixed it :)
     

Share This Page