2

Closed

1.5.1 Setup Crashing

description

Remember that setup error a few saw in 1.4.x? I'm seeing it for 1.5.1 (latest Source Code version), but I'm only running VS2010, .Net 4.0, and MVC 3.

Any Ideas why I'm seeing this?

It's the same error screen as this post (http://orchard.codeplex.com/discussions/346877/), except I have a fresh box, never installed VS11 or .Net4.5 or MVC 4 Beta.

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: }
Closed Sep 14, 2012 at 1:37 AM by BertrandLeRoy

comments

bdenisenko wrote Aug 7, 2012 at 6:44 PM

I have the same issue when I try to setup that version of Orchard on the shared hosting

sebastienros wrote Aug 8, 2012 at 7:59 PM

Could you provide some repro steps ? Like IIS version, and app pool settings.

Ed5145 wrote Sep 13, 2012 at 4:56 PM

Has anyone found a for this? I'm getting the same error: My setup is VS2010, .net 4.0, MVC3, IIS 7.5 on Win7, SQL 2008, using the web version.

BertrandLeRoy wrote Sep 13, 2012 at 6:26 PM

Could you provide some repro steps? Like IIS version, and app pool settings.

Ed5145 wrote Sep 13, 2012 at 6:44 PM

Yes, see my previous comment. IIS 7.5 running on Win7, apppool is running in 4.0, integrated.

chrisriesgo wrote Sep 13, 2012 at 6:53 PM

The solution for me was to give the "IIS_IUSRS" group Full Control of the directory where i had Orchard installed. That and make sure your Orchard.Web\App_Data folder is writeable.

BertrandLeRoy wrote Sep 13, 2012 at 7:08 PM

Glad you found the cause. Shall I close this then?

chrisriesgo wrote Sep 13, 2012 at 7:37 PM

Yes, please go ahead and close this issue. Hopefully the resolution works for Ed5145 too.