msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Getting error 70 when attempting to access a DCOM component

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise
Author Message
Rod



Joined: 04 Oct 2007
Posts: 2

PostPosted: Wed Oct 11, 2006 4:13 pm    Post subject: Getting error 70 when attempting to access a DCOM component Reply with quote

I had thought that I had this issue fixed, but unfortunately I don't. Here
is what we've got, and what's happening.



We've got several DLLs written in VB6, which resign on some Windows 2003
Servers, and are accessed, through COM+. Now, both Windows 2003 Servers
have service pack 1 installed on them. I previously learned that after
putting SP1 onto the Windows 2003 Servers that it may be necessary to modify
the COM+ security on the server to allow account under which the COM+
applications run on the server to be able to launch on the server. We have
two servers, a production server and a test server, and I've edited the
Launch and Activation Permissions to allow the network account to launch
remotely and locally, on both servers, in the same way for the same network
ID.



Our client machines are all Windows XP Professional machines with SP2.



The application is also written in VB6. Here is what happens:



Everyone can run the application, pointing the proxies to the test server to
run the middle-tier COM+ components off of that server, just fine. No
problems at all.



If the COM+ proxies on the client machines are pointing to the production
server, then only users who are members of the domain Administrators group,
can run the application. All other users will get a, "Permission denied"
error (error number 70), when attempting to instantiate an object.



As I said previously, the production and test servers are both Windows 2003
Servers with SP1 installed. The only thing I can think of, which is
different between the two of them, is the test server has SQL Server 2005
installed on it, and the production server has SQL Server 2000 installed on
it.



So, why is it that everyone can run the application, if the middle-tier
components being pointed to in the client machine's Component Services is on
the test server, but only Administrators can run the application if those
same middle-tier components are being pointed to the production server?





Rod

Archived from group: microsoft>public>vb>com
Back to top
View user's profile Send private message
Rod



Joined: 04 Oct 2007
Posts: 2

PostPosted: Thu Oct 12, 2006 2:42 pm    Post subject: Re: Getting error 70 when attempting to access a DCOM compon Reply with quote

I received an answer to this problem, and thought I would share it with you.

*******************************

WINDOWS SERVER 2003 SP1

Applying SP1 to Windows Server 2003 changes the security setting for DCOM so
only administrators can start a DCOM session from a remote location
(workstation). In effect, regular domain users are unable to run NPL, using
NPLSecure type security, after an update to SP1. The result is an NPL Secure
DCOM "access is denied" error.

Applying Service Pack 1 for Windows Server 2003 creates a new local security
group called "Distributed COM Users." Adding the domain users group to this
local group should allow NPL Secure to function properly again.

********************************

"Rod" wrote in message
news:%23o3J1JW7GHA.3412@TK2MSFTNGP04.phx.gbl...
>I had thought that I had this issue fixed, but unfortunately I don't. Here
>is what we've got, and what's happening.
>
>
>
> We've got several DLLs written in VB6, which resign on some Windows 2003
> Servers, and are accessed, through COM+. Now, both Windows 2003 Servers
> have service pack 1 installed on them. I previously learned that after
> putting SP1 onto the Windows 2003 Servers that it may be necessary to
> modify the COM+ security on the server to allow account under which the
> COM+ applications run on the server to be able to launch on the server.
> We have two servers, a production server and a test server, and I've
> edited the Launch and Activation Permissions to allow the network account
> to launch remotely and locally, on both servers, in the same way for the
> same network ID.
>
>
>
> Our client machines are all Windows XP Professional machines with SP2.
>
>
>
> The application is also written in VB6. Here is what happens:
>
>
>
> Everyone can run the application, pointing the proxies to the test server
> to run the middle-tier COM+ components off of that server, just fine. No
> problems at all.
>
>
>
> If the COM+ proxies on the client machines are pointing to the production
> server, then only users who are members of the domain Administrators
> group, can run the application. All other users will get a, "Permission
> denied" error (error number 70), when attempting to instantiate an object.
>
>
>
> As I said previously, the production and test servers are both Windows
> 2003 Servers with SP1 installed. The only thing I can think of, which is
> different between the two of them, is the test server has SQL Server 2005
> installed on it, and the production server has SQL Server 2000 installed
> on it.
>
>
>
> So, why is it that everyone can run the application, if the middle-tier
> components being pointed to in the client machine's Component Services is
> on the test server, but only Administrators can run the application if
> those same middle-tier components are being pointed to the production
> server?
>
>
>
>
>
> Rod
>
>
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
DCOM Error 458 (again) Hi, I posted a few days ago and got a few replies which I thank respondents for. Problem still here, but I would like to re-phrase the problem in the hope that presenting it differently might spark some new ideas. So... I have a DCOM executable running on

COM+ and VB6: User cannot access a COM+ component, after put This morning one of our users installed service pack 2 for Windows XP, "just because it was there telling me to install it". Now, he cannot access one of our VB6 COM+ components. However, he CAN access all of the others. He is getting a "Permission Den

Error "No creatable public component detected" I get the error "No creatable public component detected" when trying to compile a new VB application I am starting. When I press F1 for more information, the error is listed as "No creatable public class module detected". What is causing this error and h

I get error "License information for this component not foun I get error "License information for this component not found" when I try to make an exe file. Is there a log to tell me what component VB has a problem ?? I unzipped VB6CLI in a directory called vb6cli and RAN VB6Cli.exe AND RETURNED MESSAGE Enterpris

Getting "SQL Server does not exist or access denied" error m For some reason, this week we started to get "SQL Server does not exist or access denied" error messages when attempting to connect to our SQL Server databases. This only affects people who dial into our network. But this seems to be a rather complicated
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group