I have a file for http://www.getpivot.com/ that is a CXML file. It has been saved as a CXML on our windows 2003 server r2. It doesn't display, and just says

The request is not supported.

If I change the extension to XML, the file works. Is IIS blocking the filetype?

link|improve this question

78% accept rate
feedback

1 Answer

up vote 1 down vote accepted

You will need the MIME-type

File name extension: .cxml
MIME type: text/xml

I tried the HelloWorld.cxml example from Developer Info : Collection XML Schema on my Win 7 machine and it did failed with the error

ModuleName="StaticFileModule", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="404", HttpReason="Not Found", HttpSubStatus="3", ErrorCode="The request is not supported.  (0x80070032)", ConfigExceptionInfo=""

I added a mime-type as mentioned in the above article and the .cxml file does works.

File name extension: .cxml
MIME type: text/xml
link|improve this answer
I think your link is corrupted. So the solution is... IIS6 > right mouse on website > HTTP Headers > Mime Types > New > @Extension = CXML @MimeType = text/xml. – digiguru May 24 '10 at 14:26
1  
Yes, you will need the MIME type. I also corrected the link. – Vivek Kumbhar May 24 '10 at 15:01
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.