So I have a diesel car will gasoline work instead? I hope you don't try that!
Just because the batteries share similar connections and the voltages are the same the current it offers as well as what it takes to charge is not the same. The 17" battery is more powerful than the 15" as such it can overload the logic board logic.
Please you the correct battery for the system, at this point the logic board likely needs repairs in addition.