Well I've fixed it, although I'm not sure how!!
The default namespace for my Business Object Project is:
WS.SAFISNET.Business
If I take out this line:
Namespace WS.SAFISNET.Main.Business (and End Namespace)
from the business object definition program, it all works.
Simon