> Greetings...
>
[quoted text clipped - 19 lines]
>
> Any insight is greatly appreciated!
I have a program called server.exe which is linked to a service. The
service runs server.exe. Server.exe references a vb.net dll via com
interop.
If the service is stopped and I just double click on server.exe, I
check my log files and see that it is able to dim and set the vb.net
class referenced in the dll. Basically, it can create the object.
If I start the service, my log files show that the program cannot set
the vb.net object and I get error 429... activex component cannot
create object.
I hope that makes sense...
I don't think threading is an issue because I am not trying to start
the service and manually run the program at the same time. Permissions
may be an issue and I am looking in to that, although I haven't had any
luck yet. .NET service support would be great, except that this is a
legacy app and would require a complete rewrite, which would take a
very long time.
Some additional information... I was able to get everything working on
my development PC, which further leads me towards security as the
culprit. I am continuing to test but if anyone can provide additional
assitance I would greatly appreciate it!
Steven
> Are you running them both on the same machine?
>
[quoted text clipped - 30 lines]
> >
> > Any insight is greatly appreciated!
TDC - 11 Aug 2006 18:25 GMT
Well, you could have the service layer written in .NET and then just
use COM Interop to create your VB6/COM object that contains all of your
business logic. No need to rewrite any of that.
But in any case, if this works on your dev amchine it tells me you
didn't register your assembly on the production machine. That would
yeild the error you described.
Tom
> I have a program called server.exe which is linked to a service. The
> service runs server.exe. Server.exe references a vb.net dll via com
[quoted text clipped - 58 lines]
> > >
> > > Any insight is greatly appreciated!