Sitecore Images (ASHX extensions) not being picked up by IIS 5.1 or IIS7 Express- Getting 404 Instead

ぐ巨炮叔叔 提交于 2019-12-24 07:32:46

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/3742779/sitecore-images-ashx-extensions-not-being-picked-up-by-iis-5-1-or-iis7-express

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!