Trials and errors consist definitely of an important way to go further in science. We try something and it does not work. Then we learn from it and use it as a guidance to move forward, as you have explained nicely in this blog.
As an interesting fact, this also works for theoretical studies (in particle physics, but probably in science in general). For instance, failing in building a viable framework provides guidance on how a realistic viable theory should be, relative to data.