It sounds you have taken both commands from SJ rather than from SSC, which usually have the latest version.
Try:
ssc install ivreg2, replace
Nicola
At 02.33 02/02/2008 -0500, you wrote:
>Can anyone help with the following stata issues. I just installed stata/SE
>10 and the xtivreg2 and ivreg2 commands don't work anymore. error says "
>unrecognized command: < invalid command name
>Error - must have ivreg2 version 2.1.15 or greater installed
>r(601); t=0.06 14:59:48"
>
>which ivreg2,all
>c:\ado\personal\ivreg2.ado
>*! ivreg2 2.2.08 15oct2007
>*! authors cfb & mes
>*! see end of file for version comments
>r; t=0.05 15:28:20
>
>which xtivreg2,all
>c:\ado\personal\xtivreg2.ado
>*! xtivreg2 1.0.08 4Nov2007
>*! author mes
>r; t=0.02 15:28:47
>
>
>
>Thanks for your anticipated assistance.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/