IIS 5.1或IIS7 Express无法拾取Sitecore图像(ASHX扩展名)-获取404代替 [英] Sitecore Images (ASHX extensions) not being picked up by IIS 5.1 or IIS7 Express- Getting 404 Instead

查看:121
本文介绍了IIS 5.1或IIS7 Express无法拾取Sitecore图像(ASHX扩展名)-获取404代替的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此刻,我没有图像被拾取,这是完全默认的 Sitecore Xpress 安装.

At the moment I have no images being picked up at the moment, and this is off a completely default Sitecore Xpress install.

我认为此版本基于6.0版本

I think this version is based on a 6.0 release

我已将其安装在XP机器上(没有图像),然后尝试通过WebMatrix运行它,但仍然没有图像.

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.

推荐答案

不幸的是,我对Xpress版本没有太多经验.

Unfortunately I don't have much expirience with the Xpress edition.

但是有一件事是,您需要在网络服务器上设置mime-types才能使.ashx正常工作.

But one thing is that you need to have the mime-types setup on the webserver for the .ashx's to work properly.

尽管应该对大多数常见类型执行此操作,但通常不会对.flv文件执行此操作,因此它们将无法工作.

Though this should be done for the most common kinds, it's usually not done for .flv files, so they wouldn't work.

在web.config文件中将注册一些有关文件类型的内容(至少在非Xpress版本中)以及App_Config/Filetypes.config中(尽管web.config中的内容将在文件类型中被注释掉) .config,应该保持这种状态.

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.

这篇关于IIS 5.1或IIS7 Express无法拾取Sitecore图像(ASHX扩展名)-获取404代替的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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