How do you download a MS database?

  • Thread starter Thread starter Mark Sandfox
  • Start date Start date
M

Mark Sandfox

I have a need to allow an extrenal IT department to download 1 specific
database. I have treid direct link and webclient methods but both get
permission errors.

This type of page is not served.
Description: The type of page you have requested is not served because it
has been explicitly forbidden.

Thank you in advance for your help.
 
If you using Win2003 you must specifically add mdb file as a MIME type in
IIS management console. I assume you are using MS Access for database.


George.
 
That is always a solution but the idea is to let them have the database on
demand.
 
Ok, I just checked and MDB extension is specifically prohibited in extension
mapping.
You need to go to IIS Management console, on right click on your application
(or the whole Website) node.
Then go to tab Home Directory. click button "configuration", Mapping tab.
Remove association of mdb file with isapi.dll

You do need to keep MDB as an allowable MIME type on win2003. Otherwise IIS
would give 404 error.


George.
 
If the db is in use you can not download it.
At least my stream for downloading had this issue (we are not using direct
links but streams, solves your mime stuff as well).
First we make a copy to a temp, then download via stream, not link.
(Then delete the temp)
 
Back
Top