Cant put up a metal door?

I built a metal door and i cant put it up? Why?

Did you destroy a wooden door first? It takes a while for the doorframe to reset.