AppHarbor NopCommerce 运行问题 [英] AppHarbor NopCommerce running issue

查看:59
本文介绍了AppHarbor NopCommerce 运行问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 nopcommerce 解决方案上传到 appharbor(使用此方法 无法在appharbor) 和解决方案成功构建,但我收到 403 错误 - 禁止:尝试打开页面时拒绝访问(允许对文件系统的写访问权限设置为 true).

I uploaded nopcommerce solution to appharbor (using this method Can't build notcommerce project under appharbor) and solution succesfully builded, but I receiving 403 error - Forbidden: Access is denied when trying to open page(Allow write-access to file system is set to true).

感谢并希望得到您的帮助

Thanks and hope for your help

推荐答案

问题是标准的 NopCommerce 解决方案包含两个 Web 项目.AppHarbor 只为每个应用部署一个 web 项目,在这种情况下,我们碰巧部署了 Nop.Admin 这不是你想要的.

The problem is that the standard NopCommerce solution contains two Web Projects. AppHarbor only deploys one web project per application, and in this case, we happen to deploy Nop.Admin which is not what you want.

要解决此问题,您应该利用 AppHarbor 解决方案文件约定 并创建一个仅引用 Nop.Web 项目的 AppHarbor.sln 解决方案文件.

To resolve this, you should take advantage of the AppHarbor solution file convention and create an AppHarbor.sln solution file that only references the Nop.Web project.

这篇关于AppHarbor NopCommerce 运行问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆