If you are having problems with .dll files in IIS,

Set the 'Execute Permissions' attribute on the 'Directory' tab

of the parent folder's Properties sheet, to 'Scripts only'.

 

When this attribute is set to 'Scripts and Executables', because 

.dll is an executable, the system attempts to execute it instead of

downloading it.