Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active X exe permissions issues

Status
Not open for further replies.

bbolte

Programmer
Sep 30, 2002
113
US
i have built an activex exe. it is on my machine, win2k pro. i have a small test app built that calls it. i get the "error 70, permission denied" error whenever anyone trys to use the test app on their machine (unless they are an administrator). i have gone through tons of msdn articles, tried everything i can find. the IT guys have set all kinds of permissions and users, etc and we still get this. what's up??
 
If the EXE server uses connection points or some other callback mechanism it means that the server machine needs to have priviliges at the client machine as well. In this case you must configure DCOM on the client machines as follows: Default properties->Default authentication level-> [None] (probably now is Connect).

I still do not know exactly why this is necessary but I read this somewhere on the Microsoft site a while ago when I was having the same problems you have.
 
thanks for the reply. i'm not using connection points or callback, it is a pretty basic com with only 1 class and 1 function. it simply takes in 2 strings and sends an array of double values back. it also launches another application and does some processing - this is where the doubles come from. not very many lines of code - maybe 50.

i will look into your recommendation. thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top