IIS服务器在asp.net中的问题 [英] problem with IIS server in asp.net

查看:62
本文介绍了IIS服务器在asp.net中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IIS服务器中,MS单词文件未读取,显示空值.我也在服务器中安装了MS Word,但未读取Word文档,但正在读取的单词文档(txt文件,图像文件)除外.问题是什么可以帮助任何人.

In IIS server the MS word files are not reading it is showing null values.I installed MS word in server also but it is not reading the word document other than word documents are reading(txt file,image file). whats the problem can any one help.

推荐答案

首先检查它是否在IIS中正确创建了用于读取,写入和浏览的目录.
其次,您是否已将权限分配给存储文件的虚拟文件夹

请确保这是出于两个原因
first check it have you create directory properly in IIS for reading,writing and browsing.
second have you assign the rights to your virtual folder where you store the file

please make sure this think,it happend becuase of this two reason


尝试将其放入您的applicationHost.config

try placing this in your applicationHost.config

<mimemap fileextension=".docx" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />


应该可以.


It should work.


这篇关于IIS服务器在asp.net中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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