Sitecore / autohaus

An open source demo site for Sitecore 7
47 stars 18 forks source link

Microsoft.Web.Infrastructure.dll required #2

Closed ccreaney closed 11 years ago

ccreaney commented 11 years ago

Installed with MVC disabled as specified but received the error Could not load file or assembly Microsoft.Web.Infrastructure. Fixed by including this dll in website bin.

alexshyba commented 11 years ago

Weird. Not sure what to do, actually. I don't have this DLL on my sandbox. Maybe some strange things oData requires.

garnerp commented 11 years ago

I had the same problem. I also copied the dll into the website/bin folder and reinstalled the update package.

I think that this DLL is maybe in your GAC. It wasn't on my server.

alexshyba commented 11 years ago

Ok, thanks! I will take another look later this week. — Sent from Mailbox for iPhone

On Wed, Jun 12, 2013 at 1:11 AM, garnerp notifications@github.com wrote:

I had the same problem. I also copied the dll into the website/bin folder and reinstalled the update package.

I think that this DLL is maybe in your GAC. It wasn't on my server.

Reply to this email directly or view it on GitHub: https://github.com/Sitecore/autohaus/issues/2#issuecomment-19307188

garnerp commented 11 years ago

A co-worker didn't have this problem, but he also had Visual Studio Web Edition installed on the VM where he installed Autohaus. I think the Microsoft dev tools are adding this into the GAC.

If this helps: Sitecore 7 vanilla install worked fine. It only failed on Autohaus install. It was going through the UpdateInstallationWizard.aspx, did a bunch of steps that I believe were creating Sitecore items, then right when it was about to running what I said were the post-installation steps (like unzipping files, building index etc), it through the error about the Microsoft.Web.Infrastructure assembly missing.

alexshyba commented 11 years ago

Thanks, guys.

Looks like there are two solutions:

  1. Add Microsoft.Web.Infrastructure.dll as a project reference and to the package.
  2. Install MVC4 via Web Platform Installer.

My gut says that option 2 is the right way to go. I will update the install instructions.