IIS driving me nuts

pts.
Tags:
Management
Microsoft Windows
OS
Security
Servers
SQL Server
Dear All I hope you can help me because this is driving me mad. I have a server on the net running IIS, on it is a simple site which essentially is a list of tests and links to results. The files linked to are a combination of txt, pdf, xda and dat files. However the links to the xda and dat files do not work, they always report the file missing. I have checked the links and they all point to the right location. I even changed one of the files to a .txt file, which opened perfectly. The same site on an Apache server works perfectly So it seems that IIS is somehow preventing me from opening these two file types (dat and xda), any ideas on how I can configure IIS to allow access to these file types? Thanks John

Answer Wiki

Thanks. We'll let you know when a new response is added.

I think I would verify or try registering the file extensions. Go to Windows Explorer-Tools-Folder Options and register file extensions.

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • MSGHALEB
    Hallo, Could you please tell me which IIS you are using?, also could you try accessing your dat or xda files and post the last few lines in the IIS log? Thank you.
    0 pointsBadges:
    report
  • Fugazi68
    Thanks for the feedback guys, sorry to be slow in getting back to you, I had the day of yesterday. I'm using IIS 6, once I can talk to our backoffice guys I'll have a look into the log filr. I have had partial success. I managed to get the .dat files working by adding .* to the MIME settings in IIS, no sure why that didnt work for the XDA's though. I have added XDA to the recognised files formats and that does not seem to have helped so far, though It may just be taking time to flush through the system. John
    0 pointsBadges:
    report
  • Vdinenna
    Maybe you need to check the permissions on the IIS server. Are you trying to execute these files from the web site? These files could potentially be seen as harmful by IIS if executed.
    60 pointsBadges:
    report
  • Fugazi68
    Hi I'm not trying to execute these files, just save them to the local machine via a shortcut. XDA files are basically XML files with the first tag stripped out. We strip the first tag out because otherwise it opens in IE rather than it's native application, which is a real pain. John
    0 pointsBadges:
    report
  • Wolffie
    Did you say your XDA is a shortcut to an XDA or is this an XDA file itself? Possibly XDA needs a parser, not sure with XDA or XML formats, not my area of interest, although possibly needed if it were in perl, if it were in perl, it will need a parser. However, clarify the shortcut you speak of John, if it were a shortcut file it will indeed alert that it's missing. If you cannot find a way to possibly load XDA, possibly you could use Microsoft's XML parser for IE such as: var xmlDoc=new ActiveXObject("Microsoft.XMLDOM") But honestly never heard of XDA, and w3schools.com certainly haven't as they have tutorials on every web language, including XML.
    0 pointsBadges:
    report
  • Fugazi68
    Ok after a bit of wailing and Gnashing of teeth I have sorted it. I did add a catch all into the MIME settings, which logically should have sorted the problem for .xda and .dat files. I've now added .xda in as well and it seems to have worked. The usual logically illogical MS product :) Thanks for all your thoughts and help. John.
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following