Your credentials are obviously not being passed from AAA -> BBB. You need to look up 'delegation' in BOL - there's a good article entitled 'Security Account Delegation' (you can find it from the index under 'security accounts, delegation'). This article explains all the conditions needed for delegation to work.
If you can't get all these conditions set up then you'll need to create a SQL login on sever BBB and map your windows login to that SQL login (see 'linked servers, login' in BOL).
hth
Phil
|