views:

70

answers:

1

This question might be better asked over on ServerFault, but since this is related to a programming project, I'll ask here.

Simply put, how do I configure IIS to let me download an Access (.MDB) file the same way it lets me download .HTML, .EXE, etc. files?

I've tried taking MDB out of the mime types, changing the extension to .DAT, telling my local directories to treat .MDB files like binary/octet-stream files, yet nothing works. I still get a "(401) Unauthorized" access.

What am I doing wrong?

EDIT: Figures that as soon as I ask, I figure it out. I had not given "Everyone" read permission on the file. Did that and removed the .MDB Application Mapping, and it wored.

+1  A: 

I don't think this is purely a server-side issue. I think different browsers may handle it different ways as well.

How about zipping up the access database and letting users download the zip file? I'd say that most users out there have the ability to do this.

David Stratton
Zipping would work, I'll have to see about that in the next version. Thanks.
AndyB