However need to take into account that only members of the sysadmin fixed server role have permissions to execute sp_oacreate. Not to mention it is not database which should perform this kind of task. Hint - use higher layer component instead...