I am getting an error "creation feature not enabled" when I am trying to create a text box at runtime.

How can I solve it ?