Hi Steve, Upon reading your comments.... just for clarification... 1. A word instance was already running (as in I had an open Word instance) 2. In that same session, the COM interop bridge was able to create a new word instance and also fail with the above error (hence the confusion). So it doesn't appear to fall into permissions for launching and access. I'll dig around and see what happens...
From the 'random' nature of the problem... my guess is some form of
threading/concurrency problem.... perhaps I'm missing something here.... Thanks again for your help. Sorry for the comments... a fit of frustration... but you're right... knowing what you're doing helps a great deal. On 4/2/07, Steve Johnson <[EMAIL PROTECTED]> wrote:
On 4/2/07, Jason Nah <[EMAIL PROTECTED]> wrote: > > The thing that's exteremely confusing is that it happens only > sometimes!.... > So yes sometimes it works... other times... it doesn't! > > I'm starting to find this happens to be an extemely common thing with M$ > technologies!!!!! > Jason...MS technologies work when the developer knows what he/she is doing. Read up on dcomcnfg and the difference between launch and access permissions. I'll bet you a dollar that when it magically "works" it is because an instance of Word is running in the current user's logon session. I'll also bet a dollar that when it's mysteriously "busted" it is because Word is not running. The problem is likely that the user has access permissions, but not launch permissions. If this is not the problem, then I'm sure that we can find another perfectly logical explanation. Software does not auto-mutate. When it does not work, it is because there is some environmental or data configuration it does not "like". BTW, M$ is something that idiots and kiddies say. If you want to be treated like a pro, then act like one. -- Steve Johnson =================================== This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
-- Cheers, Jason =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com