我有一个http://www.getpivot.com/是一个CXML文件的文件。 它已经在我们的Windows 2003服务器r2上保存为CXML。 它不显示,只是说
该请求不受支持。
如果我将扩展名更改为XML,则该文件起作用。 IIS是否阻止文件types?
您将需要MIMEtypes
File name extension: .cxml MIME type: text/xml
我尝试了我的Win 7机器上的Developer Info:Collection XML Schema中的HelloWorld.cxml示例,并且发生错误
ModuleName="StaticFileModule", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="404", HttpReason="Not Found", HttpSubStatus="3", ErrorCode="The request is not supported. (0x80070032)", ConfigExceptionInfo=""
我添加了上述文章中提到的mimetypes,并且.cxml文件可以正常工作。
File name extension: .cxml MIME type: text/xml