Link to home
Start Free TrialLog in
Avatar of nubee
nubee

asked on

Error: A program is trying to access email addresses you have stored in outlook. Do you want to allow this?

I am using Outlook 2000 SR-1
I have created a form that reads Outlook address book using MAPI. Whenever I open that Form I get a message
" A program is trying to access email addresses you have stored in outlook. Do you want to allow this? Then I Have some choices: I can deny or I can allow for 1,2,5,10minutes. If I dont select 1 minute, I am not able to do anything with the form. Only if I did select the check box "Allow for 1 0r 2 minutes" then only I am able to get the program to work.
MOST IMPORTANT I am only person who has ever seen this kind of message, everybody else who is using this form in our office is not getting any errors. Please help me. Let me know if I can provide you with any other information

Set olemSession = Application.CreateObject("MAPI.Session")
ReturnCode = olemSession.Logon( Application.GetNameSpace("MAPI").CurrentUser, "", False, False, 0 )
Set user = olemSession.CurrentUser
Set UserFrom = Item.UserProperties.Find("ReqEmail")

 
SOLUTION
Avatar of Member_2_193590
Member_2_193590

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of stefri
stefri
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Member_2_193590
Member_2_193590

You might also want to consider this utility as a workaround:
http://www.express-soft.com/mailmate/clickyes.html
Avatar of nubee

ASKER

Thank you traval and stefri. Sorry for the late reply.

I did not develop the code myself. There is a problem with already developed vb program(when the send button was clicked outlook crashes, obviously with out sending the emails) I was assigned to fix that problem . And as soon as I start working on it I am encountered with this Message box :"A program is trying to access........." I am able to send emails with out any crash of outlook. But, People who are not receiving the above Message box: "A program is trying to access" complain that their outlook crashes if they send emails.

STEFRI**********, I have a question, are you saying if I install redemption software to bypass the security settings, everyone who is using the form must install redemption software eventhough they never complained about this kind of error? If that is so its not feasible, because that form is used by hundreds of people.

The project has 12 forms, the user will chose one of them, fill out the form and sends the form to Manager for approval by clicking the send button. User's and Manager's address are retrieved from the Address book. If I don't select the checkbox "Allow access for 1 minute" I am not able to see the list of the forms that are available and not even other information.

So I just need to fix the problem crash of outlook. I need an easier way to supress the annoying message with out needing to write extra code.

TRAVAL**********, do you think the problem of mine would be solved if I reinstall office with out applying the update(eventhough thats a painfull process)

guys please let me know, thanks again

nubee
I'd recommend trying this process from the link to slipstick above.  Just rename these files and that way you can rename them back to undo the change.  If this doesn't work, then the office reinstall will.


quoted from www.slipstick.com:
******************************
Interestingly, several people on the newsgroups have reported good results from just replacing two Outlook application files with the corresponding files from the original Office CD or Office 2000 SR-1. (SR-1 probably would be better -- you could copy them before you run the SP2 update.) The two files are Outllib.dll from the Office folder and Outllibr.dll from the Office\1033 folder. This is an unsupported method and probably does not fix all the aspects of the patch, however. It may also cause other problems on your system. Implement at your own risk.
******************************
<<<< I have a question, are you saying if I install redemption software to bypass the security settings, everyone who is using the form must install redemption software eventhough they never complained about this kind of error?

Yes, as the code would include CreateObject("Redempntion.object").

You wont be able to bypas those new security settings with the version you are using.

Registering Redemption would be to detect if Redemption Object has successfully been created. If no, display a message giving a path where to download it with instructions or reroute the code to the code you are currenly using.
I did this in my Company and worked nicely: some computer-impaired users complained a little bit but they finally accepted to download and double click the executable to install redemption.

Stefri
Avatar of nubee

ASKER


Stefri********** I might be dumb to ask , Did you ever have to experience problem with running "script debugger" with version above Outlook 2000 9.0.0.4201. Because ever since I started to work on this I never ran the program using script debugger. 1. I select the form 2.Goto Form -->Run this Form. 3. when the form appears in run mode, I click on Tools -->Forms --->Script Debugger(enabled not disabled). Nothing happens. The "script debugger in design mode is always disabled" . My Outlook version is Microsoft 2000 version 9.0.0.5414. I am able to see the code when I click on View Code. I think may be its because of the "Security Update" thing my script debugger is not working.

Traval************I spoke to my system adminstrator about reinstalling Office 2000, she said she would do that on thursday, So I will keep you posted. Meanwhile I will try with what Stefri is suggesting me to do.

Thanks both of you, Stefri please answer my question.
Did you set some breakpoints in your code? ScriptDebugger, as far as i understood, cant be used by itself: you have to set BP where you want in your code and then from the form do the corresponding action to access your BP.

I am running XP and OL2002 with SC (http://microsoft.com/downloads/details.aspx?FamilyId=2F465BE0-94FD-4569-B3C4-DFFDF19CCD99&displaylang=en) without any problem. I will try from office tomorrow with ol2000 and W2k.
Stefr
<<<<<I think may be its because of the "Security Update" thing my script debugger is not working: if you click yes, the Security settings would feel happy and would let you use SC.
Avatar of nubee

ASKER

I downloaded the script debugger from the link you provided and now I can run the program using script debugger. Thanks a lot stefri
Avatar of nubee

ASKER

Hi traval,

I had both microft office 2000 standard version,professional version in my computer. My admin took off " professional addition" . Even if I asked her to remove entire office 2000 standard. She just removed OUtlook from the standard and resintalled it. And surprisingly when I opened the form I didnot get the previous error "A program is trying to access email address....." .It opened good.
The problem is, I have a button in my form if clicked, it allows us to select an email address from the address book. But nothing fires up when I do that(which worked fine before). Is it because I did not remove entire office and reinstall it? you have any ideas? because its driving me crazy, Now I am not able to access the Script debugger either which I installed before, it says "Microsoft Outlook can not use webscripting. This is not installed in your computer. Do you want to install now?"
I don't think this is related to not uninstalling the entire Office suite, but I'm not sure what you have going on when you click that button.  

Go to TOOLS->OPTIONS->OTHER->ADVANCED->ADD-IN MANAGER.  What is listed here, and indicate whether it is checked or unchecked.

Also try installing the Visual Basic Scripting Engine.

For Windows 2000, go to:
http://download.microsoft.com/download/winscript56/Install/5.6/NT5/EN-US/scripten.exe

For Windows 98, Me and NT 4.0:
http://download.microsoft.com/download/winscript56/Install/5.6/W9XNT4Me/EN-US/scr56en.exe.
The same message occurs if the client has the Cloudmark SpamNet program loaded for spam reduction in Outlook 2000/2002 and is running XP SP3. There is an update to the SpamNet program to fix this: http://www.cloudmark.com/support/spamnet/kb/article.php?id=74
Uninstall your "hotbar" or any other third party clown utilites integrated with your outlook. Or disable as travel suggested within add-in-mgr.
To Remedy this problem you need ADMPACK.EXE . This pack allows you to customize Outlook security features. Included in the pack is a readme file that explains how to use the security features. No reboot is required. On my system it took 2 hours for the changes to affect my users. You can ADMPACK.EXE here:

http://www.microsoft.com/resources/documentation/office/xp/all/reskit/en-us/appa11.mspx

The readme file tells you to make a registry change in HKCU\SOFTWARE\Policies\Microsoft\Security, but I found it works better in HKLM\SOFTWARE\Policies\Microsoft\Security on a Terminal Server.
ADMPACK.EXE works with Outlook 2000, XP, and 2002
When ever i click on "new Message" tab  i get a popup saying
"A program is trying to access email addresses you have stored in outlook. Do you want to allow this"

I tried to change to the setting in Tools->options->mail format  unchecked the "use microsoft word as email editor" option and it worked.

but then what if user want to use this option.

i am looking for a exact cause of this problem  Please Help
I, too, started having problems in Outlook XP Pro.  First I noticed the pop up telling me another app is trying to access etc.  But then it evolved that I can no longer send, reply or forward messages out of Outlook.  I can receive and file away my messages, but I cannot send anything out without seeing a myriad of apparently random errors.  I pull two email accounts into Outlook, one POP3, one IMAP.  I run Win2KPro.  I've uninstalled and reinstalled Office several times, archived to reduce my data file size.  Each time, everything works until I bring my data back in.

Could corrupted data be the problem?  Any ideas on how to diagnose and fix?
I'm having that very same problem.  I'd like to be able to look and see what "other program" is attempting to access Office.

I've noticed that whenever I get an error, the Outlook Processes window comes up and the number of "Tasks" to complete has increased exponentially, even if I'm only sending out one message.  I have PC-Cillin 2004 installed and updated on my personal workstation, and we have Norton on our server.  The "Tasks" effect will not stop until I move the message from the outbox to the drafts folder.

Yesterday I sent a document to another department and was returned with a multitude of abstract "errors", all stating in the return post that the receiver's "Mailbox was full".  I telephoned the deaprtment this morning and was told that they received 14 copies of my original Email! This sounds suspiciously like a virus that is going undetected by Ad-Aware, PC-Cillin, and Norton....

I'd be interested in hearing any other comments on this problem, or how to see what "other program" is trying to access my Outlook folders.
Larry T -

Your probelm sounds like the Netsky Virus. You can download the netsky removal tool here.

http://securityresponse.symantec.com/avcenter/venc/data/w32.netsky@mm.removal.tool.html

Hope this works.


Well, I ran the fix tool and I'm clean for Netsky.  All virus checks have come up clean and definitions and sensitivities are up to date and at highest level.
I'm getting suspicious that the Blackberry sync software somehow fouled my address book and that has corrupted the entire Outlook.pst.  Has anyone had any problem with Blackberries fouling Outlook data?
GFletcher1309-

OK, did that, ran the Norton tool (twice, once after reboot) and did a HouseCall with PC-Cillin as a final measure.  All procedures found nothing.

Still having the problem....
HaysyCutshall -

Try deleting and re-configuring your outlook profile. When you reinstall outlook sometimes your profile still hangs around on your hard dirve. Here is how to kill it.

Delete a user profile
Click Start, point to Settings, and then click Control Panel.


Double-click the Mail icon .


On the Services tab, click Show Profiles.


On the General tab, click the profile you want to delete in the Profiles box.


Click Remove.

Hope this works.

If you reinstall Blackberry sync and you get the same message, install ADMPACK
LarryT -

Do you have Office 2003? I had a client with the same problem recently. It happened to her when she sent an e-mail with a large file attached to multiple recipiants. The e-mail would send to the first 3 recipiants, and then time out. The message would remain in the outbox and then try to send the same message again, and again, and again... I jsut went into the mail settings and gave the message more time to send before it timed out.

Does this sound like what is happening to you?
to see what program is trying to access your Outlook. You can use task manager and start ending tasks until you stop getting the message, or watch for the task that appears when you get that message. Also you can go in to msconfig (if you have winXP) and see what programs and services are starting up when you start your computer.

I deleted my profile and now have to import my data.  I tried to send out a test message before bringing in my data to see if the program itself would work and when I hit send I got the "Unable to complete the operation. A fatal error has occured in Outlook" message.  Then the message came up "Microsoft Outlook has encountered a problem and needs to close. We are sorry etc...."  Then I sent the error report.  This happens all the time if I try to send, reply or forward out of Outlook.  I can receive new messages via both my POP3 and IMAP accounts and file those messages successfully, but I cannot send out without getting these and other ubiquitous, screwball messages.  I run Win2KPro and Office XP with Multilingual User Pack etc.  I had no problems with Outlook until I "upgraded" to XP.  I'm about to strip it out and go back to Office 2K and a clean data set.
GFletcher1309-

Yes, it does sound like the problem. I've looked around but I can't find where to go to adjust that?  I'm using OfficeXP here.

If the TaskList seems to increment every time a "send" task is queued, is that part of it too?  I remember sending out an attachment, and watching the Task Notification remark "there are " 2, 5, 9, 15, 22 "tasks have completed....."

Thanks
I've not seen much change in the task manager through this.  Sometimes I can get a message into the Outbook but it won't send and then the whole program locks up.  The only way to stop it is via Task Manager but that shows the program running normally.  I'm at a loss.
...that's "Outbox"...
LarryT-

I do not have OutlookXP, but in Outlook 2003 you go to Tools, Options, E-mail Options, Advanced.

Use your cute littel office assistane to help you find if that doesnt work.

Garrett
I find it hard to believe that there is not a place in Outlook or office settings that you can go to turn off the "another program is trying to access" warning. I can't bring myself to believe 3rd party software is needed.
I'm having similar problems to the ones mentioned in this thread.  I started having this problem when I installed Outlook XP SP3.  For some people it happens when they use Word as their e-mail editor, and for some it happens when they're syncing their PDAs.

It's really been a pain in my (*).  I can't believe Microsoft didn't allow some security setting to be altered to allow certain applications authorization.  Oh wait, maybe I can believe it.

Has anyone found a better solution?  I would think that Microsoft is getting several complaints about this.

Any help would be appreciated.
Nope. The 3rd party software is necessary. I'm using Clickyes as described and linked above. It's purpose is to literally click the Yes button as soon as that screen comes up. The downside is that you would get no warning if a real malware of some sort was trying to access the email.
Microsoft has a fix for this! It is an Outlook add-in that allows you to customize the Outlook security settings. It is called ADMPACK. This is not 3rd party software. It is simply a patch that allows you to controll the security settings in Outlook. You can ADMPACK.EXE here:

http://www.microsoft.com/resources/documentation/office/xp/all/reskit/en-us/appa11.mspx

The readme file tells you to make a registry change in HKCU\SOFTWARE\Policies\Microsoft\Security, but I found it works better in HKLM\SOFTWARE\Policies\Microsoft\Security on a Terminal Server.

This works with OL 2000, 2002, and 2003
I saw the ADMPACK add-in, but when I read the description on Microsoft's website it looked like it was only for server side policies for Exchange Server.  I'm not running and Exchange Server, I'm just connecting to a POP3 server.

Does this make a difference?
What if i call redemption from my vb.Net code, but the problem is: CreateObject(outlook.application).   I think because it's vb.Net coding. So some security setting problems:  outlook automation failed.
Exception for changing settings on the machine, is there any way i could made change to my code? thanks a lot!
Has anyone got a definitive fix for this message yet?
I'm using Outlook 2002 sp3. This message has started appearing over the last few weeks on different machines on our network, but not since we loaded sp3, as that was some time ago. We have sophos anti-virus loaded. and I've checked each machine showing this message with Spybot as well, but nothing shows up. The suggestions about making a registry change to the policies\ -checkadminsettings and addins/pdfmoutlook loadbehaviour don't apply as these settings aren't there on our machines. The suggestion to load admpack also doen't aply as we don't have Exchange - we use pop3 clients to an Inty mail box.
So is this a real message telling us something is trying to access the address list (and if so, what and how do I find it?) or is it a bug in Outlook?
This was caused by a security update to MS Office. If you are using 2000, XP, or 2002 there is an update that stops other programs from hijacking office. However, it also stops valid programs from accessing Outlook. You need to download a tool that will allow you to configure the security features manually. The tool is called ADMPACK. This is not 3rd party software. It is simply a patch that allows you to controll the security settings in Outlook. I think you will need to be running an Exchange server to configure this, but I am not sure. The ReadMe file has all the info you need. You can ADMPACK.EXE here:

http://www.microsoft.com/resources/documentation/office/xp/all/reskit/en-us/appa11.mspx

The readme file tells you to make a registry change in HKCU\SOFTWARE\Policies\Microsoft\Security, but I found it works better in HKLM\SOFTWARE\Policies\Microsoft\Security on a Terminal Server.

This works with OL 2000, 2002, and 2003
hi, i have a program that will rid that issue. give me your email and i'll send it to you. i dont have a link to the site. it has to do with your software incompatibility. the new adobe 7.0 and outlook 2000 and 2002 has problems with it.
I'd be curious to look at it.  My e-mail is dallen@paytech-inc.com
I'd like to look at that to, please -email alant@severnhospice.org.uk
I am looking for ADMPACK.exe referenced in the above postings. Unfortunately, the link does not work anymore. Do you have a new address I can download this from? I've tried on MS site and am having no luck. Thanks.
I found the fix!!!   This usually occurs if you have loaded software that includes and "Com add-in" for Outlook or Office.  In my case it was Acrobat 6.0.  The fix is to install this free software from MapiLabs.
http://www.mapilab.com/outlook/security/
Once installed, close Outlook, reopen, and then try reply to message or what every triggered teh security prompt.  The newly installed software will ask you to allow or deny access.  Say yes if you trust the source and the problem should be resolved.