Last post Apr 06, 2017 01:47 PM by ldoodle
Jan 25, 2017 11:01 AM|ldoodle|LINK
I hope this is the right place.
We have a corporate intranet that people can upload documents too. XLSM files don't work - nothing happens.
Is there something built-in to .NET / IIS that prohibits this? If so, how do I allow these files?
Jan 25, 2017 11:33 AM|PatriceSc|LINK
What actually happens? It doesn't even show a message at the top telling that macro are disabled? Try perhaps
For now it seems an Office group might be better (my understanding is that you can download XLSM files from your site but that the macro doesn't run).
Or do you mean that this is uploading those files that doesn't work ???
Mar 01, 2017 02:51 PM|ldoodle|LINK
Sorry for the delay.
No, it's not actually the macros being enabled or disabled in the doc. We cannot even upload macro-enabled documents to our IIS webserver through our web application. All other document types are fine.
So anything with 'm' in the extension: docm, dotm, xlxm, xltm etc.
Mar 01, 2017 03:35 PM|PatriceSc|LINK
- if it happens, check the server side starting with seeing if you have file in the posted files collection
"doesn't work" or "nothing happens" is too vague. You have to see the exact behavior you have so that you can narrow down where the problem is and what it is exactly, making then your issue much easier to fix.
For now I'm trying to understand if the http upload query happens or not at all (ie if this is rather a client side or server side issue).
Apr 06, 2017 01:47 PM|ldoodle|LINK
Wow, sorry for the delay, again!
I have sorted this. I have a lookup table for the mime type. I didn't have an entry for xlsm or docm so the insert wasn't completing because it couldn't find an entry in the application lookup table.
What a cowboy! Sorry!