Now, I know this to be correct:
$$\begin{align*} \lim_{n \rightarrow\infty} \left(\frac 1{n^2}+\frac 2{n^2}+\ldots+\frac n{n^2}\right)&=\lim_{n \rightarrow\infty} \left[\frac 1{n^2} \left(\frac n2\right)(1+n)\right]\\ &=\lim_{n \rightarrow\infty} \frac {1+n}{2n}\\ &=\frac 12\;. \end{align*}$$
But what is wrong with the following reasoning?
$$\begin{align*} \lim_{n \rightarrow\infty} \left(\frac 1{n^2}+\frac 2{n^2}+\ldots+\frac n{n^2}\right)&=\lim_{n \rightarrow\infty} \frac 1{n^2} + \displaystyle \lim_{n \rightarrow\infty} \frac 2{n^2} +...+ \displaystyle \lim_{n \rightarrow\infty} \frac n{n^2}\\\\ &=0+0+\ldots+0\\\\ &=0\;? \end{align*}$$
The error is that in your reasoning $$ \lim_{n \rightarrow\infty} (\frac 1{n^2}+\frac 2{n^2}+...+\frac n{n^2}) $$
$$=\lim_{n \rightarrow\infty} \frac 1{n^2} + \displaystyle \lim_{n \rightarrow\infty} \frac 2{n^2} +...+ \displaystyle \lim_{n \rightarrow\infty} \frac n{n^2} $$
you have a finite addition instead of the infinite. Now, to be precise, formal and serious - if you have the series $\sum\limits_{k=1}^n a_k(n)$ then $$ \lim\limits_n\sum\limits_{k=1}^n a_k(n)\neq \sum\limits_{k=1}^n \lim\limits_n a_k(n), $$ the most simple reason being that the LHS does not depend on $n$ while RHS does - which is a consequence of taking the limit under the sum, where the sum bounds themselves depend on $n$.