I got simple query I had created simple ActiveX DLL in VB6
to do all DB transactions like Execute StoreProc, open
recordset etc. I had registered this DLL on Application
server as Server Application. In properties - Identity I
have set interactive User.
I have install Application proxy for above application on
client machine. Everything works fine if I login as a same
user on Server and Client. But if I login with different
logins then I can do everything apart from executing store
procedure for that I get Error No. 70 - Permission denied.
I am using Oracle9i as a database so there is no issue of
user rights on StoreProc and all.
Can anyone tell, what's are with my settings or
application?
Many thanks in advance.
Regards,
Santosh
" interactive User" setting is used mostly for debugging. You should
set it to "this user" and specify the user identity which allows your
component to do its work.
At this point you may still experience security issues, so take a look
at the following article, which I think applies to your situation:
http://support.microsoft.com/default.aspx?scid=kb;en-us;266625
Slava Gurevich
I ran into a similar problem last week.
Check if this microsoft knowledge base article solves your
problem :26625
My guess is that your computers in question are not part
of a domain ?
It has to do with authentication levels/security etc...
The important thing is you need to tweak both the client
and the server.
Post back if the problems persist.
Cheers.,
MJS
>.
>
thanks for instance reply. I will try methods mentioned in
link which you provide and if I have any more queries I
will write back.
Many thanks for helping me out.
Regards,
Santosh
>.
>
Thanks a lot for your reply. This has solved my problem I
changed Security setting to None and used AppId registry
setttings.
But since I am new to this technology could you please
tell me what do you mean by following statement:
" interactive User" setting is used mostly for debugging.
You should set it to "this user" and specify the user
identity which allows your component to do its work.
Many thanks in advance.
Have a good weekend.
Regards,
Santosh
>.
>
Regards,
Santosh
>.
>
Basically if you set the COM+ identity to the "interactive user", The
COM+ application code will run under the security context of the
interactive user identity, which will change to whomever happens to be
logged on interactively at the moment ( if anyone). The COM+ process
will fail to start altogether when no user is logged on interactively
at the computer console. Imagine what happens when the server is
rebooted; it won't server any remote requests until someone logs in.
This is usually not what you'd want.
Take a look at the following article for more info:
PRB: Server Execution Failed When Calling MTS COM Component from ASP
http://support.microsoft.com/default.aspx?scid=kb;en-us;241057
Slava Gurevich
On Fri, 12 Dec 2003 11:33:25 -0800, "Santosh Sawant"
Does that mean same Admin account name password should
exists on all client PCs. Sorry for being such a
dumbo..... Also can you please recommend any COM+ book
which will give all this basic information rather than
advance one.
Many thanks in advance.
Regards,
Santosh
>.
>
Brian
For the caller to become authenticated as itself in a workgroup
environment, the matching pair account should both exist on the server
machine, and included in one of the COM+ roles allowed access.
Alternatively, you could try disabling COM+ Application security
(uncheck "Enforce access checks for this application").
Unfortunately this doesn't always work because the negotiated
authentication level between the server and the client is the highest
of the two. In practice, you may need to drop the authentication
level on the client by calling CoInitializeSecurity(), or
CoSetProxyBlanket() or similar APIs. ( Declarative change in the
default authentication level setting via dcomcnfg.exe is not a good
choice because it's machine-wide, and will likely break something else
if modified)
Slava Gurevich
On Mon, 15 Dec 2003 07:00:27 -0800, "Santosh Sawant"
Regards,
Santosh
>.
>
Regards,
Santosh
>.
>