Com error

Hello,
I have written  a VB.net app to call Solid Works andopen adocument and print it out. I am also using a Windows servicetocall this app. When the service tries to open SW I will getanerror stating "Retrieving the COM class factory for componentwithCLSID {325C722A-1882-4657-AEF8-824F6FFC2751} failed due tothefollowing error: 80080005." If I run this app normally, byjustclicking on the exe, it runs okay.

Has anyone come across this error?
Thanks,
JimSolidworksApi macros