Hi,
As the attach file says, I build the orchard with Azure. Then this is the 
result after I run the last command:
Windows(R) Azure(TM) Desktop Execution Tool version 1.3.0.0
for Microsoft(R) .NET Framework 3.5
Copyright (c) Microsoft Corporation. All rights reserved.

Using session id 1
Created: deployment(2)
Started: deployment(2)
Deployment input endpoint HttpIn of role Orchard.Azure.Web at 
http://127.0.0.1:81/.

Now, the site comes out with the following crash info, and is there something 
lost by me? Or something else I missed? Thanks for your help.


Server Error in '/' Application.
--------------------------------------------------------------------------------

None of the constructors found with policy 
'Autofac.Core.Activators.Reflection.BindingFlagsConstructorFinder' on type 
'Orchard.Environment.DefaultOrchardShell' can be invoked with the available 
services and parameters:
Constructor 'Void 
.ctor(System.Func`1[Autofac.Features.OwnedInstances.Owned`1[Orchard.Environment.IOrchardShellEvents]],
 System.Collections.Generic.IEnumerable`1[Orchard.Mvc.Routes.IRouteProvider], 
Orchard.Mvc.Routes.IRoutePublisher, 
System.Collections.Generic.IEnumerable`1[Orchard.Mvc.ModelBinders.IModelBinderProvider],
 Orchard.Mvc.ModelBinders.IModelBinderPublisher)' parameter resolution failed 
at parameter 'Orchard.Mvc.Routes.IRoutePublisher routePublisher'. 
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: Autofac.Core.DependencyResolutionException: None of the 
constructors found with policy 
'Autofac.Core.Activators.Reflection.BindingFlagsConstructorFinder' on type 
'Orchard.Environment.DefaultOrchardShell' can be invoked with the available 
services and parameters:
Constructor 'Void 
.ctor(System.Func`1[Autofac.Features.OwnedInstances.Owned`1[Orchard.Environment.IOrchardShellEvents]],
 System.Collections.Generic.IEnumerable`1[Orchard.Mvc.Routes.IRouteProvider], 
Orchard.Mvc.Routes.IRoutePublisher, 
System.Collections.Generic.IEnumerable`1[Orchard.Mvc.ModelBinders.IModelBinderProvider],
 Orchard.Mvc.ModelBinders.IModelBinderPublisher)' parameter resolution failed 
at parameter 'Orchard.Mvc.Routes.IRoutePublisher routePublisher'.

Source Error: 


Line 110:            var shellScope = 
_shellContainerFactory.CreateContainer(settings, blueprint);
Line 111:
Line 112:            return new ShellContext {
Line 113:                Settings = settings,
Line 114:                Descriptor = descriptor,
 

Source File: 
c:\Orchard\src\Orchard\Environment\ShellBuilders\ShellContextFactory.cs    
Line: 112 

Stack Trace: 


[DependencyResolutionException: None of the constructors found with policy 
'Autofac.Core.Activators.Reflection.BindingFlagsConstructorFinder' on type 
'Orchard.Environment.DefaultOrchardShell' can be invoked with the available 
services and parameters:
Constructor 'Void 
.ctor(System.Func`1[Autofac.Features.OwnedInstances.Owned`1[Orchard.Environment.IOrchardShellEvents]],
 System.Collections.Generic.IEnumerable`1[Orchard.Mvc.Routes.IRouteProvider], 
Orchard.Mvc.Routes.IRoutePublisher, 
System.Collections.Generic.IEnumerable`1[Orchard.Mvc.ModelBinders.IModelBinderProvider],
 Orchard.Mvc.ModelBinders.IModelBinderPublisher)' parameter resolution failed 
at parameter 'Orchard.Mvc.Routes.IRoutePublisher routePublisher'.]
   
Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext
 context, IEnumerable`1 parameters) +578
   Autofac.Core.Resolving.ComponentActivation.Activate(IEnumerable`1 
parameters) +89
   Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 
creator) +122
   Autofac.Core.Resolving.ComponentActivation.Execute(IEnumerable`1 parameters) 
+255
   Autofac.Core.Resolving.ResolveOperation.Resolve(ISharingLifetimeScope 
activationScope, IComponentRegistration registration, IEnumerable`1 parameters) 
+246
   Autofac.Builder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, 
IEnumerable`1 p) +15
   
Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext
 context, IEnumerable`1 parameters) +74
   Autofac.Core.Resolving.ComponentActivation.Activate(IEnumerable`1 
parameters) +89
   Autofac.Core.Resolving.ComponentActivation.Execute(IEnumerable`1 parameters) 
+141
   Autofac.Core.Resolving.ResolveOperation.Resolve(ISharingLifetimeScope 
activationScope, IComponentRegistration registration, IEnumerable`1 parameters) 
+246
   Autofac.Core.Lifetime.LifetimeScope.Resolve(IComponentRegistration 
registration, IEnumerable`1 parameters) +276
   Autofac.ResolutionExtensions.Resolve(IComponentContext context, Service 
service, IEnumerable`1 parameters) +221
   Autofac.ResolutionExtensions.Resolve(IComponentContext context, 
IEnumerable`1 parameters) +117
   
Orchard.Environment.ShellBuilders.ShellContextFactory.CreateSetupContext(ShellSettings
 settings) in 
c:\Orchard\src\Orchard\Environment\ShellBuilders\ShellContextFactory.cs:112
   Orchard.Environment.DefaultOrchardHost.BuildCurrent() in 
c:\Orchard\src\Orchard\Environment\DefaultOrchardHost.cs:88

[HttpException (0x80004005): None of the constructors found with policy 
'Autofac.Core.Activators.Reflection.BindingFlagsConstructorFinder' on type 
'Orchard.Environment.DefaultOrchardShell' can be invoked with the available 
services and parameters:
Constructor 'Void 
.ctor(System.Func`1[Autofac.Features.OwnedInstances.Owned`1[Orchard.Environment.IOrchardShellEvents]],
 System.Collections.Generic.IEnumerable`1[Orchard.Mvc.Routes.IRouteProvider], 
Orchard.Mvc.Routes.IRoutePublisher, 
System.Collections.Generic.IEnumerable`1[Orchard.Mvc.ModelBinders.IModelBinderProvider],
 Orchard.Mvc.ModelBinders.IModelBinderPublisher)' parameter resolution failed 
at parameter 'Orchard.Mvc.Routes.IRoutePublisher routePublisher'.]
   
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext
 context, HttpApplication app) +3985477
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr 
appContext, HttpContext context, MethodInfo[] handlers) +191
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, 
MethodInfo[] handlers, IntPtr appContext, HttpContext context) +325
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr 
appContext, HttpContext context) +407
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) 
+375

[HttpException (0x80004005): None of the constructors found with policy 
'Autofac.Core.Activators.Reflection.BindingFlagsConstructorFinder' on type 
'Orchard.Environment.DefaultOrchardShell' can be invoked with the available 
services and parameters:
Constructor 'Void 
.ctor(System.Func`1[Autofac.Features.OwnedInstances.Owned`1[Orchard.Environment.IOrchardShellEvents]],
 System.Collections.Generic.IEnumerable`1[Orchard.Mvc.Routes.IRouteProvider], 
Orchard.Mvc.Routes.IRoutePublisher, 
System.Collections.Generic.IEnumerable`1[Orchard.Mvc.ModelBinders.IModelBinderProvider],
 Orchard.Mvc.ModelBinders.IModelBinderPublisher)' parameter resolution failed 
at parameter 'Orchard.Mvc.Routes.IRoutePublisher routePublisher'.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11524352
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest 
wr, HttpContext context) +4782309


Attachment: AzureSupport.docx
Description: AzureSupport.docx

---
You are currently subscribed to orchard-discuss as: [email protected].
To unsubscribe send a blank email to 
[email protected]

Reply via email to