gpt4 book ai didi

c# - Orchard部署问题404错误

转载 作者:太空宇宙 更新时间:2023-11-03 11:04:43 27 4
gpt4 key购买 nike

我喜欢 orchard,我是一名 .net 开发人员,希望将其用作 cms,遵循 orchard cms 书很棒,一切都非常好......现在我想的问题让我们看看我是否可以在我的 vps 上部署它。 .. 提出了很多错误的大问题。

所以我回到基础下载了 orchard 的新副本...并第一次运行设置并尝试部署它...我使用的是 visual studio 2012 我右键单击发布选择发布到文件系统然后ftp 到服务器...以二进制模式复制的应用程序数据文件夹更改了 settings.txt 以指向我的产品数据库。

Tried to open the website and just get a 404 error.. when I look in the app logs this is what i see.. 2013-05-02 11:40:52,439 [15] Orchard.FileSystems.AppData.AppDataFolder - Could not delete recipe execution folder C:\Websites\OrchardTestDeploy\src\Orchard.Web\App_Data\RecipeQueue\25fc7ed3855649e68c0435a7dcf412b3 under "App_Data" folder 2013-05-02 11:44:45,702 [6] Orchard.Environment.DefaultOrchardHost - A tenant could not be started: Default Autofac.Core.DependencyResolutionException: None of the constructors found with 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Orchard.Settings.CurrentSiteWorkContext' can be invoked with the available services and parameters: Cannot resolve parameter 'Orchard.Settings.ISiteService siteService' of constructor 'Void .ctor(Orchard.Settings.ISiteService)'. at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.b__0() at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 creator) at Autofac.Core.Resolving.InstanceLookup.Execute()

at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)

哪个比我的菊花网站更糟糕,有新模块和很多错误...我是不是做错了什么...必须有一个简单的方法,而不是这个网站上的安装指南,它说压缩整个项目并部署它。

最佳答案

You might have to set read/write permissions for the account that is configured as the identity for the IIS application pool on the following folders:

  • Modules
  • Themes
  • App_Data
  • Media

取自Orchard documentation - Manually installing Orchard .

关于c# - Orchard部署问题404错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16336593/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com