Re: VB6 COM service help



Our web developer uses this com object to get file and directory lists (and
to move files) on a remote server. All machines are our local network
domain. All this works on the win2k box that it's on now (sorry, I thought
it was an XP box but it's not). However, this Win2k box is going to be
replaced with the win2003 box.

Security scenarios I've tried:
Configure the COM app as interactive user. In this case I can't create the
object via my box.
Configure it as local service account. I can create the object on my box now
but I get back a zero length array (this is supposed to represent a list of
sub folders on another box on the network).
Configure it to run as the Local Network account. Same results as the Local
Service account.

If I try to create this COM application, via Component Services, using just
the .dll, I get an error (error occured reading the application file).
That's why I exported it from the other server (actually a win 2k box not
XP) as a server application. Installed it on the Win2003 box via the Install
pre-built app option and from here I'm trying to configure it using the
above methods.

I hope I'm explaining this better now?
Thanks for your help too. I appreciate it

S


"Brian Muth" <bmuth@xxxxxxxx> wrote in message
news:uft4RFpNHHA.4172@xxxxxxxxxxxxxxxxxxxxxxx

"SAL" <SAL_@xxxxxxxx> wrote in message
news:%23qMzF7oNHHA.4172@xxxxxxxxxxxxxxxxxxxxxxx
Brian,
thanks for your reply. The only way I seem to be able to do it "Install
pre-built application" is by using the exported server application from
the
XP box.
This is an .msi. I then configure the application with the remote server
as
the win2003 box and export again, as an application proxy and install it
locally on my development box

Are you sure you want to do this as an application proxy? You didn't
describe your requirements in the initial post. When a client tries to
instantiate an object on your development do you want the object to be
created on the win2003 box?

when I try to create the object in vb6, I get the error that the
Identity is configured incorrectly (if I use a specific user name and
password).

Describe the security layout. Are the two boxes in the same domain? Are
you using a domain account or a local account?

However, if I configure it to use the local services account, I
can create the object locally but then the server doesn't seem to be able
to
access any other machines on the network.

Of course. The local services account has no networking privileges.

I have tried installing it using both myself as the user and using the
Interactive user and still get the Identity configured incorrectly error.

What to do?

You need to describe in greater detail what you are trying to do. Do you
want an application proxy or not? How many objects in in the original COM+
application? Why can't you install this manually instead of exporting an
msi?

Brian





.


Loading