I've tried the following
SELECT ROW_NUMBER() OVER
ORDER BY [recid] desc
,REPLACE(REPLACE(text1, CHAR(13), '<br >'), CHAR(10), '<br >')
text1 is a text field, the error I'm getting is :
Msg 1038, Level 15, State 5, Procedure GetCustomersPageWise, Line 9
An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or  are not allowed. Change the alias to a valid name.