.ashx 图像在干净的 sitecore xpress 安装中不显示
我刚刚安装了 sitecore xpress 的干净版本,加载网站后,没有显示任何图像。当我登录桌面或内容编辑器或预览器时,所有图像仍然无法显示。
唯一显示的图像是登录页面上的一两个 png,这让我相信该网站无法检索任何 .ashx 文件。我到处都找过,但找不到为什么这些无法加载的答案。
我的设置是在 Windows Server 2008 上使用最新的 Sitecore Xpress(截至 2011 年 5 月 10 日)和 SQLLite。我没有编辑任何文件,我只是简单地安装了它。
预先感谢您的任何帮助。
I have just installed a clean version of sitecore xpress and upon loading the website, no images are showing. When I login to the desktop or content editor or previewer, all images still fail to show.
The only images that do show are the one or two png's on the login page, which leads me to believe the website is failing to retrieve any .ashx files. I have looked everywhere and I can't find an answer to why these aren't loading.
My setup is on Windows Server 2008 using the latest Sitecore Xpress (as of May 10th 2011) with SQLLite. I have not edited any files, I have just simply installed it.
Thanks in advance for any help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
ashx 可能不是允许的扩展,请检查您的 Web.config:
确认 ashx 是允许的扩展。您可以尝试的另一件事是将 Media.RequestExtension 设置为空白值,这允许图像加载到其正常扩展名中。
It's possible that ashx is not an allowed extension, check your Web.config at:
Confirm that ashx is an allowed extension. Another thing you can try is setting the Media.RequestExtension to a blank value, this allows images to load in their normal extension.
对我来说,我发现该问题与 IIS 有关。我从 IIS 看到,静态内容没有安装。因此,它无法加载图标等图像。安装后它解决了问题。
要解决此问题,请按照以下步骤操作:
希望它能解决图标和图像损坏的问题。 :)
For me, I see that the issue was related to IIS. I saw from the IIS, the Static Content was not installed. So, it failed to load the images like icons and others. After installing that it fixed the issues.
To solve this issue, please follow the following steps:
Hope, it will solve that broken icons and images problem. :)
还有一件事要尝试 - 检查 ashx 是否在 IIS 中处理
One more thing to try- check if ashx is handled in IIS