IIS 5.1 或 IIS7 Express 未选取 Sitecore 图像(ASHX 扩展) - 而是获取 404
目前我还没有拾取图像,这是完全默认的 Sitecore Xpress安装。
我认为这个版本基于 6.0 版本,
我已将其安装在 XP 计算机上(无图像),然后尝试通过 WebMatrix 运行它,但仍然没有图像。
我真的很茫然,我已经有点抓住救命稻草了。
At the moment I have no images being picked up at the moment, and this is off a completely default Sitecore Xpress install.
I think this version is based on a 6.0 release
I have installed it on a XP machine (no images) and then tried running it through WebMatrix, still with no images.
I am at a loss really, and I have been grasping at straws a little.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是我对 Xpress 版本没有太多经验。
但一件事是您需要在网络服务器上设置 mime 类型才能使 .ashx 正常工作。
虽然这应该对最常见的类型执行,但通常不会对 .flv 文件执行此操作,因此它们不起作用。
web.config 文件中将会注册一些关于文件类型的内容(至少在非 Xpress 版本中),并且还会在 App_Config/Filetypes.config 中注册(尽管 web.config 中的内容将在 Filetypes.config 中被注释掉,应该保持这种状态)。
我希望这能有所帮助。
Unfortunately I don't have much expirience with the Xpress edition.
But one thing is that you need to have the mime-types setup on the webserver for the .ashx's to work properly.
Though this should be done for the most common kinds, it's usually not done for .flv files, so they wouldn't work.
There will be some stuff registered in the web.config file about files types (at least in non Xpress editions) and also in App_Config/Filetypes.config (though the ones in the web.config will be commented out in the Filetypes.config and should stay that way).
I hope this can help somewhat.