Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to host a .rdp file that will be publically available on the internet (without password, of course). IIS is not letting me use this file - I'm getting a 404 error saying it cannot find the file. It works fine if I change the file extension to .txt.

Any idea what I'm doing wrong?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

I recommend you try adding a .RDP MIME type to your website configuration in IIS

File name Extension: .rdp

MIME type: application/rdp

share|improve this answer
add comment

+1 with ChrisNZ's tip, and:

In case you run IIS 7.5:

  • Start the Internet Information Services (IIS)-Manager
  • Unfold [+]Servername and [+]Site and [+]Default Web Site and find the site you'd like to serve that file from and select that site
  • At the right pane, find the 'Request Filtering' icon in the IIS section and double-click it
  • Now you should see a list of file extensions and their allowance; by default all of them are set to 'false'
  • Right-click and select: 'Allow File Name Extension' -> Put .rdp in there.
share|improve this answer
    
This would not be necessary in the default config, since .rdp is not filtered. But worth checking nonetheless. –  the-wabbit Sep 3 '12 at 14:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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