Server error when installing...

Topics: Installing Orchard
Apr 6, 2012 at 4:51 PM

I'm attempting to do the walk through example as described in 'Working with Orchard in WebMatrix" and I can't get past the 'Get Started' page.

Once I enter my details and click 'Finish Setup' I get the following yellow screen:

 

Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it has already been disposed.

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.ObjectDisposedException: Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it has already been disposed.

Source Error: 

Line 23: @if (Model.Messages != null) {
Line 24: <div id="messages">
Line 25:     @Display(Model.Messages)
Line 26: </div>
Line 27: }


Source File: c:\dev\BeckyFaces4\Themes\SafeMode\Views\Layout.cshtml    Line: 25 

 

I get this error whether I choose Sql Compact or Sql Express storage.

Apr 6, 2012 at 5:34 PM

I see from other comments here that this is a collision with my install of VS11...

Developer
Apr 7, 2012 at 8:16 PM

Yes, I am having the same issues. Running the site with full IIS (not IIS Express) works fine though.