Then how can i proceed? I need a button in document library. On clicking that button, i need to navigate to another page.
– SurenMay 1 '13 at 14:17

What was the custom action supposed to do? You could write some javascript, placed in a content editor webpart on the display page, that inserts a button to the ribbon with an onclick event calling another javascript function that does what your custom action was supposed to do :)
– Robert LindgrenMay 1 '13 at 14:21

I need the button in ribbon. So only i choose custom actions.
– SurenMay 1 '13 at 14:23