Orchard CMS - 刚刚通过 WPI 安装,给出错误 500

发布于 2024-10-08 01:01:14 字数 784 浏览 1 评论 0原文

正如标题所说,我遵循了 orchard 项目网站上的说明,使用网络平台安装程序安装 v0.9。
没有任何错误,直到我尝试使用浏览器访问它,当我刚刚收到错误 500.19 时,

我在查找安装的问题时遇到问题,因为 IIS/ASPX 错误消息不够明确(至少与 apache/PHP 相比),并且启用错误日志记录会导致创建 200+ kb XML 文件,在这些文件中我似乎找不到任何可以为我指明排除故障的正确方向的

内容 有什么想法可以开始查找问题所在吗?更好的是,orchard 0.9 有任何已知的安装程序问题吗?

编辑:

给出的错误是:

Compiler Error Message: CS0234: The type or namespace name 'WebData' does not
exist in the namespace 'WebMatrix' (are you missing an assembly reference?)

Line 25:     using WebMatrix.WebData;

所以它缺少程序集 - 如果上一行是 using WebMatrix.Data 并且它没有给出错误,那么它怎么可能缺少 Webmatrix.Webdata那里?

Pretty much what the title says really, I followed the instructions on the orchard project website to install v0.9 with the web platform installer.
No error whatsoever until I tried to access it with my browser, when I just got an error 500.19

I have issues finding what's wrong with my install as IIS/ASPX error messages are less than explicative (at least compared to apache/PHP), and enabling error logging leads to the creation of 200+ kb XML files where I can't seem to find anything that points me in the right direction for troubleshooting

Any ideas where I might start looking for what's wrong? Even better, any known installer issues with orchard 0.9?

EDIT:

Error given is:

Compiler Error Message: CS0234: The type or namespace name 'WebData' does not
exist in the namespace 'WebMatrix' (are you missing an assembly reference?)

Line 25:     using WebMatrix.WebData;

So it's missing an assembly - how can it be that it's missing Webmatrix.Webdata if the previous line is using WebMatrix.Data and it gives no error there?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

不再让梦枯萎 2024-10-15 01:01:15

在 Windows 8.1 Pro 上安装 Orchard 1.8 后,我也出现了同样的症状。我使用 Web 平台安装程序添加 IIS 推荐配置以及 IIS ASP.Net 和 IIS ASP。 ASP.Net 可扩展性。其中一个或多个修复了它。我知道我应该一次尝试一个,但那时我已经很恼火了。我正在使用 IIS Express 7.5。

当我在 IIS 6 上安装时,它在另一台运行 Windows Server 2008 的计算机上运行,​​它第一次运行。我认为 IIS 安装已被分解为更小的部分,您现在无法全部获取它们。

I had the same symptoms after installing Orchard 1.8 on Windows 8.1 Pro. I used the web platform installer to add IIS recomended configuration and IIS ASP.Net and IIS ASP. ASP.Net Extensibility. One or more of those fixed it. I know I should have tried one at a time but by then I was getting annoyed. I'm using IIS Express 7.5.

When I installed on IIS 6 it worked on another machine running Windows Server 2008, it worked first time. I think IIS installation has been broken down into smaller pieces and you don't get them all now.

盛夏已如深秋| 2024-10-15 01:01:14

获得准确的错误消息和堆栈跟踪将有所帮助。根据您提供的少量信息,我猜测您的 MVC 或 ASP.NET 网页版本与此版本的 Orchard 所需的内容不兼容。您可以卸载这些并让 Orchard 加载其 bin 目录中的版本或安装最新版本。
否则,请在 CodePlex 上提交错误,并提供有关您的配置和您所遇到的错误的尽可能多的详细信息

It would help to have the exact error message and stack trace. From what little information you gave, I'd guess you have a version of MVC or ASP.NET Web Pages that is incompatible with what this version of Orchard needs. You can either uninstall these and let Orchard load the version it has in its bin directory or install the latest.
Otherwise, please file a bug on CodePlex giving as many details as possible about your configuration and the error you're se

匿名。 2024-10-15 01:01:14

500.19 内部服务器错误几乎可以肯定是配置错误。

如果您查看错误页面,您可以找到错误本身的确切引用。

该错误出现在 Web 配置文件中,因为 xml 的某处格式不正确。我已经经历过这个错误好几次了,但我不记得到底是哪里出错了......

HTH

The 500.19 Internal Server Error is almost for sure a configuration error.

If you have a look at the error page you can find the exact reference of the error itself.

The error is in the web config file because the xml is not well formed somewhere. I have experienced this error a couple of times but I can't remeber exactly where it was sorry...

HTH

清旖 2024-10-15 01:01:14

我通过 Web Plattform Installer (3) 安装 MVC 3 Releae Candidate 2 解决了我的计算机上的问题。希望也能解决您的问题。

此致,
法比安·雷兹

I solved the Problem on my machine by installing the MVC 3 Releae Candidate 2 via the Web Plattform Installer (3). Hope that solve your problem too.

Best Regards,
Fabian Raetz

前事休说 2024-10-15 01:01:14

从他们的网站获取 Orchard ZIP 文件,解压它并在 Visual Studio 2010 或 WebMatrix 或 VS Express 中打开解决方案并尝试运行它。您还可以使用 IIS Express 直接从解压缩到的文件夹中运行它。

通过 Web Platform Installer 进行的安装已损坏并且无法运行。

Windows 平台安装程序在 Orchard 安装过程中失败

Get the Orchard ZIP file from their site, extract it and open the solution in Visual Studio 2010 or WebMatrix or VS Express and try to run it. You can also run it directly from the folder you extracted it to by using IIS Express.

The installation through Web Platform Installer is broken and it won't work.

Windows Platform Installer fails during Orchard installation

活泼老夫 2024-10-15 01:01:14

我也有同样的问题。我通过将 IUSR 和 IIS_IUSR 添加到资源管理器属性 -> 安全 -> 编辑 -> 添加中文件夹的允许用户列表来解决此问题。我为两个用户使用了默认设置(读取和执行、列表、读取)。在 IIS 中重新启动网站。

我现在可以看到我的网站,一切似乎都正常。手指交叉...

顺便说一句:我做了一个 WPI 并使用了 Web Matrix >运行以处理初始配置。

如果要添加主题或模块,则需要授予 IIS_IUSR 对主题和模块文件夹的写入权限。完成更改后,请确保将权限恢复为更受限制的设置。

I had the same problem. I solved it by adding IUSR and IIS_IUSR to the list of allowed users for the folders in Explorer Properties->Security->Edit->Add. I used the default settings (Read & Execute, List, Read) for both users. Restart the web site in IIS.

I can now see my site and everything appears to be working. Fingers crossed...

BTW: I did a WPI and used Web Matrix > Run to handle the inital configuration.

If you want to add a theme or module, you'll need to give IIS_IUSR write permissions on the Themes and Modules folders. After you've finished you changes, make sure you restore the permissions to the more limited settings.

错々过的事 2024-10-15 01:01:14

我今天遇到了同样的错误。

我通过 3 个简单的步骤解决了这个问题:

第 1 步。添加可部署依赖项

在此处输入图像描述

< strong>步骤 2. 找到 _bin_deployableAssemblies 文件夹

在此处输入图像描述

步骤 3. 从 _bin_deployableAssemblies 复制文件到您的目标 BIN 文件夹。

在此处输入图像描述

(以防万一您可以复制您拥有的所有文件到你的目标 BIN 文件夹。)

就是这样!

I got today the same error.

I resolved it in 3 simple steps:

STEP 1. Add Deployable Dependencies

enter image description here

STEP 2. Find _bin_deployableAssemblies folder

enter image description here

STEP 3. Copy files from _bin_deployableAssemblies to your target BIN folder.

enter image description here

(Just in case u can copy ALL files u have got there to your target BIN folder.)

That's it!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文