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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OutLook- Access Denied problem- Urgent

Status
Not open for further replies.

FoxLearner

Programmer
Aug 29, 2002
93
US
Hi all
Irun my App on Citrix server. When I use the command
loApp = CREATEOBJECTEX("outlook.Application",lcComputerName)

I am getting an error:
"OLE error code oX80070005: Access Denied"
Can some one tell me where look for and what may be the reason?

Thanks and Regards
FoxLearner
 
FoxLearner

Does the Citrix server actually have access back to the computer (you most likely have to map back to it, and I'm not sure Citrix can map back. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Maybe someone already has Outlook open on the server, and it can't launch multiple times?

Perhaps the logged user doesn't have access to all the directories that Outlook needs?

Perhaps there is a better, lighter weight method of sending emails, say SMTP, since you have control of the server and can easily specify the SMTP server. See
 
wgcs
I believe that Foxlearner is trying to launch Outlook while in the Citrix server [/b] but the Outlook is on one of the stations attached to the server [/b] otherwise he would have used CREATEOBJECT() instead of CREATEOBJECTEX(). Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Hi
Mike is right. I am trying to laucnh outlook on the client, ie the user's computer. lcComputername in the createobjectex is the name of the client machine.
It might be that the client machine is denying access to the Citrix server. Any idea how to resolve this?

Thanks and regards
FoxLearner
 
Ah.. I missed the "Ex" on the call... I have little experience with DCOM... I don't have any good suggestions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top