There are few solutions for this ,and I will tell you some . I'm not entirely sure if all of them are correct :
1) The map is protected.
2) The map contains invalid files which prevents you to opening it.
3) The map needs to be opened in JASS NewGen
4) The map contains empty notepad document, which can give error.