Urgent: Intermittent Runtime Error 70 (Client on XP and Server on NT)

Posted on 2004-08-05
Medium Priority
Last Modified: 2012-06-22
I am currently working on an apllication written in Visual Basic 6.0. The server part of the application (VB6, DCOM) is installed on Windows NT and the clients are installed on Windows XP. To make it more complicated, the NT servers  and the XP clients are on different domains (say NTD and XPD).

The system is in Production and normally works fine but intermittently the client fails to start "Runtime error 70 - Permission denied". It doesn't seem anything in the code but more to do with the way security on DCOM is setup or the way two domains interact with each other.

It's quite a critical problem and any help would be highly appreciated.

Question by:AnupamDG
  • 2
LVL 26

Expert Comment

ID: 11725002
Try the following

1. run your server as a specific user by using Dcomcnfg.
2. you may want to trust your domain from each other
3. read this
LVL 26

Expert Comment

ID: 11726322

If Computer A is not part of the same domain as Computer B, then Computer B needs an identical user account (that is, an identical login and password) or set the Default Authentication Level to None.


Accepted Solution

modulo earned 0 total points
ID: 12503517
PAQed - no points refunded (of 500)

Community Support Moderator

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question