Search
in

This Blog

Syndication

News

(c)David Overton 2008


No warranties are expressed or implied. E&OE

Small Business Blogs

Useful Sponsored Links

David Overton's Blog

This blog is purely the personal opinions of David Overton. . If you can't find the information you were looking for e-mail me at admin@davidoverton.com. If you want to narrow down the content consider these links: VOTE FOR ME
  in
Company Blogs
Wikio - Top Blogs - Technology
More Info

How to get the Office Assistant (Office 2003) to work in Windows Vista, i.e. remove the "Not enough memory" error messages

[updated 31st July for x64 systems]
I have been asked this question several times and finally dug into the system to make it work.

The solution

The Office Assistant relies on some "agent" technologies.  To fix this we need to install the agent technologies and then copy a DLL across.  Since I was playing around it is possible that there is an extra step or two that is not actually needed, but since this is a small process and simple to do I don't think it will do any harm.  What is more, I was not about to rebuild a system, load Vista and Office 2003 just to see if I could remove a 10 second step :-)

  1. Download the MSAgent technology from http://www.microsoft.com/msagent - select the CORE files, so for me that was this item - Download the Microsoft Agent core components (395 KB exe)
  2. Run the download, accepting the UAC prompt (the security prompt)
  3. image - select the option "This program installed correctly"
  4. Open an elevated command prompt - have a look at How to start an administrative (or elevated) command prompt and tell if you got it right (in Vista) if you are unsure how to do this
  5. type the following commands into the prompt (each line will probably start with "c:\windows\system32>" - don't worry about this (if you are using a x64 system replace system32 with system)
    1. copy c:\windows\msagent\agentdpv.dll c:\windows\system32
      regsvr32 c:\windows\msagent\agentdpv.dll

    1. That is it.  If the last item failed then check you have a elevated command prompt

    How I diagnosed the problem and fixed it - only read if you want to know more - technical stuff!!

    This is a simple example of using the great tools provided by Microsoft.  The stages I took

    1. Download Process Monitor from http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/processmonitor.mspx
    2. image  Run Process Monitor and for every application on the list (except winword.exe), right click on it and select Exclude by Process Name
    3. Clear the history by pressing Ctrl+X
    4. Now do the "thing" that is causing the problem, so in my case, opening the gallery for the office assistant
    5. To stop the logging going on forever, stop the logging once you have reproduced the problem (Ctrl+E)
    6. Now go down the list and look for things that failed - if you see a number of retries, or in this case, an attempt to open a particular file in every directory on the path then you know you have your suspect
    7. Open an elevated command prompt and type the following:
      1. CD C:\
      2. DIR /S /A <filename> - so DIR /S /A agentdpv.dll
    8. You will see several hits, but ignore the ones in places like c:\windows\system32\winsxs or other strange locations - c:\windows\msagent seemed like a good option to me.
    9. We now need to register the file:
      1. regsvr32 <filename> - so regsvr32 c:\windows\msagent\agentdpv.dll
    10. Finally either add c:\windows\msagent to the path or you can try the trick I did of copying it to c:\windows\system32

     

    ttfn

    David

    Comments

     

    cruzin.carol@verizon.net said:

    Thank you so much for this fix.  I have looked everywhere for a solution.

    July 23, 2007 10:37 PM
     

    Bob Proffitt said:

    Thanks for the great work.  May this note brighten your day.

    July 26, 2007 12:58 AM
     

    Amarjeet Singh (India) said:

    Thank you David.  This is wonderful!

    July 28, 2007 7:49 PM
     

    Trond Ruud said:

    Hi,

    The "copy c:\windows\msagent\agentdpv.dll c:\windows\system32" didn't work, yet I located agentdpv.dll in  c:\windows\msagent\ , so I guess it was a question of system access rights? But I have administrator rights, so that doesn't sound quite right either When doing a manual copy-paste instead, I was prompted to confirm the action, so there are obviously some checks and hindrances for copying files to system32. The copy and  regsvr32 c:\windows\msagent\agentdpv.dll did not cure my "Not enough memory" error messages, though.

    July 29, 2007 4:21 PM
     

    Priscilla said:

    I tried your patch. I ran the file you said. Everything worked through the part "This program installed correctly".  I followed the command prompt instructions. My command prompt read: c:\Users\Priscilla>

    I copied your commands at the prompt and got the message: DII Register Server in c:\windows\msagent\agent succeeded. I went to MS Office to check, and I still get the same error message. Where did I go wrong?

    Thanks for your help.  I am running XP Office Professional in Windows Vista Home Premium.

    July 30, 2007 3:15 AM
     

    David Overton said:

    Trond,

    When you got the command prompt up, did it say "Administrator:Command Prompt" in the title, if not, then you need to look at the blog entry on how to get an adminastrative command prompt.

    If you can't find it, let me know

    David

    July 30, 2007 8:45 AM
     

    Trond Ruud said:

    Hi David,

    To summarize, my erroneous ways from the beginning:

    I put a shortcut to the command prompt on my desktop, and opened a window by right-clicking on it and choosing "Run as Administrator", and pasted in your copy command string ("copy c:\windows\msagent\agentdpv.dll c:\windows\system32) but got a message that the file could not be found, so I located it manually in Windows explorer  and did a copy and paste to system32 from there. Could the not found failure perhaps be a question of not having unmarked the "Hide protected operating system files" option, in Folder Options?

    But when I tried to repeat the copy operation in a "Run as Administrator"-command window right now, the file was found, so I don't know what happened the first time? This time I got the prompt:

    Overwrite c:\windows\system32\AgentDpv.dll? (Yes/No/All): y

    Access is denied.

           0 file(s) copied.

    A clue here, perhaps? I answered y(es) to the prompt, but still got an Access denied, error!

    The regsvr32 c:\windows\msagent\agentdpv.dll  gave a success message the first time, but as already reported, it did not cure my "Not enough memory" error messages.

    July 30, 2007 2:16 PM
     

    David Overton said:

    Trond,

    Did you load the msagent download I suggested?

    Anyway, if you have, could you fire up the process monitor tool in the blog entry, remove all processes (by right clicking on them and saying exclude) except the office application you are running (eg winword.exe) and then clear the log and start logging (if it was not started).  Then do what you need to do to show the out of memory error, then stop logging, save the log and e-mail me at doverton@microsoft.com

    thanks

    July 30, 2007 2:25 PM
     

    Trond Ruud said:

    If you by the question "Did you load the msagent download I suggested?" mean, did I download and install it, the answer is yes. And just to be sure, I ran the installer again now.

    July 30, 2007 8:14 PM
     

    Trond Ruud said:

    Sorry I missed on of your questions,

    You asked: "When you got the command prompt up, did it say "Administrator:Command Prompt" in the title"

    I checked it now by right clicking on the command prompt shortcut on my desktop and right-click choosing "Run  as Administrator", like I also did originally. And, yes: the command prompt up, says "Administrator:Command Prompt"

    Regards

    Trond

    July 30, 2007 9:16 PM
     

    Trond Ruud said:

    Geat!

    Thanks for bringing back that charming and wise mutt, "Rocky", David!

    Copying AgentDpv.dll to \windows\system, rather than to \system32 did the trick, right away.

    Best regards, from Norway

    Trond Ruud

    July 31, 2007 3:04 PM
     

    David Overton said:

    OK, I have updated the information for x64 machines (64-bit).  Instead of the line:

    copy c:\windows\msagent\agentdpv.dll c:\windows\system32

    with

    copy c:\windows\msagent\agentdpv.dll c:\windows\system

    that should do it.

    ttfn

    David

    July 31, 2007 3:09 PM
     

    Boyet Geres said:

    Mr. David Oberton your a genius.

    Your solution is very well explained and easy to understand and very very helpful.

    May you keep your goodwill.

    Thank you very much.

    July 31, 2007 4:51 PM
     

    Dax said:

    Hi David,

    Will this solution work for Office 2000?  I am having the same "Not enough memory" error message with the Office Assistant.

    Thanks, Dax

    August 8, 2007 7:37 PM
     

    David Overton said:

    This should also work with Office 2000 as it is almost certainly the same error with the Agent technology.

    thanks

    David

    August 9, 2007 7:58 PM
     

    Dax said:

    Hey David,

    It worked perfect!  Thanks

    Dax

    August 10, 2007 5:50 AM
     

    Corrigap said:

    Worked fine for me straight off. Good work - well done!

    August 11, 2007 9:55 AM
     

    Kevin Cobley said:

    Is that command prompt, 1 command prompt or a group of command prompts? I don't know whether to enter the whole lot or whether to enter 3 prompts, 1 for every c:/windows.

    August 11, 2007 7:26 PM
     

    David Overton said:

    you can enter it all into 1 command prompt.

    thanks

    August 11, 2007 10:57 PM
     

    Don Sinsai said:

    Dear David,

    Many thanks for this fix. It is only one week since I validated my copy of Office 2003 and I was already running a headache because I could not access the different office assistants. Now that I found  them, with your help, I will have a field day choosing one of the popular ones, especially the smart cat. Once more, thank you for the fix.  Don Sinsai

    August 14, 2007 11:15 PM
     

    Gene Sprain said:

    Thanks for the fix David. I also greatly appreciate the technical steps in discovering the fix. Maybe this will help me fix future problems (and I'm sure there will be more). Also thanks to Google for pointing me right to this page. God bless the Internet!

    August 17, 2007 5:48 AM
     

    Murnic said:

    Thanks for the fix!  Works great!

    Note that Microsoft has broken your main link but the actual download link does still work.

    I don't know if you can find the new location for the main Agent downloads or not.  I did some quick searching and could not locate it to post here.

    There was actually a MS Blog entry pointing over here too.

    Thank you for taking the time to write up the steps.

    August 19, 2007 10:17 PM
     

    David Overton said:

    Murnic,

    thanks for the link info - I have made it more generic.

    ttfn

    David

    August 19, 2007 10:26 PM
     

    Janet Brimhall said:

    Thanks for the information!  I found your site yesterday when searching for a way to get Links the Cat on my screen again!  Even a computer dunce like me can follow your great instructions...

    August 22, 2007 6:10 PM
     

    scotru said:

    Very helpful!  Thanks!

    August 24, 2007 4:53 AM
     

    Ken Bartash said:

    WOW GREAT FIX! Quick easy and of course Microsoft never gave this solution for Office because they want you to buy Office 2007. I don't think I could have lasted much longer without the fun busy Links Cat Assistant keeping me company. Now I can continue to use Office 2000 which Microsoft claims is fully compatible with Windows Vista anyway. I remember having MS Agent with Windows 2000/XP too. Why this agent technology is forgotten and not added to the Office service packs is a mystery to all lof us. Glad users have smart programmers like you to solve the problems that even Microsoft can't fathom :)

    September 5, 2007 4:55 AM
     

    David Overton said:

    Ken,

    I work for Microsoft, so perhaps they can fathom it :-)  Anyway, glad you like the fix.

    ttfn

    David

    September 5, 2007 7:17 AM
     

    Janie said:

    Thanks, worked great!

    September 7, 2007 4:12 PM
     

    Anamaria said:

    I love you! :)

    I was about to go where I get installed the MS Office... but I found your webpage

    BUT: I found the .dll file in c:\windows not inside \msagent carpet... this may happen to anyone else... I hope it helps.

    September 9, 2007 6:45 AM
     

    Jack Smith said:

    Thank you, thank you very much. The solution that you provided worked for my problem. I now have my little buddy back on the screen. Links the cat is my favorite. He is a great stress reliever.

    Jack

    September 19, 2007 2:28 AM
     

    Glyn Boucher said:

    Just perfect.

    September 23, 2007 10:14 AM
     

    Annie said:

    Thanks for this tip! It really helps. A big thank you to you! :)

    September 25, 2007 4:30 AM
     

    Marie said:

    This works great, although I have to select the office assistant at almost every instance. :)

    October 2, 2007 8:38 AM
     

    Janet said:

    Thank you, Thank you Thank you

    I love the office assistant. I had to replace an aging machine with a new Vista Machine

    which was great except the office assistant would not run. Long Live the Office Assistant

    October 8, 2007 11:49 PM
     

    Willy Jaun said:

    Thanks for this, worked first time and my customer is happy 'kitten'.

    October 11, 2007 2:31 PM
     

    Jo said:

    Do I copy the enitre thing or do i copy it section by section?  Anyways, both ways, my computer says : "This file does not have a program associated with it for performing this action. Create an association in the Set Associations control panel."

    I have no clue what to do, and I am sure it is running as an administrator

    October 11, 2007 10:38 PM
     

    David Overton said:

    Jo,

    At what stage are you seeing this?  Are you doing the file copy using the command prompt or are you trying to do this with Explorer.  It has to be done in an elevated command prompt.

    thanks

    David

    October 11, 2007 10:48 PM
     

    Robert said:

    Wow, wow, wow!  THANK YOU.  I really missed the little kitty-kat.

    You have made my day!  It worked perfect for me!  Now I will go and fix it on my mom's PC!

    October 15, 2007 1:54 AM
     

    zigster321 said:

    [Windows Vista 32-bit, Office 2003 w/all updates]

    Beautiful!!  Had a problem initially that the syntax of the command was incorrect.  I entered the entire string as one line/command, which didn't work.  What I found out was this:

    As it is displayed on your page, from the command prompt, I typed the first line...hit 'enter'.  I got asked to overwrite and typed 'y'...hit 'enter'.  A second command prompt displayed and I typed the SECOND line as it is displayed on your page...hit 'enter'.  BINGO!!  Got the little window that my efforts were successful --- went to MS Word and went through the entire library of Office Assistants.

    Thanks for your time and willingness to share.

    October 26, 2007 5:13 AM
     

    Anne Thorpe said:

    This page looks really useful, and thank you for sharing your expertise.  However, I am really frustrated because I can't get past step 2 of your instructions.  When I save the MSAgent core components, I can't get the panel to open to go on to step 3.  This is making me feel really dim, am I missing something that should be obvious?  

    November 2, 2007 11:18 PM
     

    julien said:

    thanks - it works and with additional download of the language file.

    November 5, 2007 3:18 PM
     

    Kevin said:

    Thanks David, I was getting fustrated with Vista on my laptop and that has at least cleared one issue. Worked great the first time. Had to retype one line when I did the wife's desktop, my error. Thanks so much.

    November 7, 2007 7:19 PM
     

    Rodrigo said:

    thanks for your solution it worked, there is not a solution posted in spanish so i had to search in english, thanks again

    November 11, 2007 5:04 PM
     

    Barb from IL, USA said:

    Thank you so much for helping me get little helpful cat back !!!!

    Everything you said I did and it worked great!

    November 13, 2007 2:45 AM
     

    Zaheer Sheikh said:

    I also had same problem with Microsoft Office 2003 in Vista. Based on the above information, I found an easy solution to this problem. Here is the simple solution to run all the Agents of MS Office 2000, XP, 2003 in Vista.

    1. Go to the following website and download the file

    [moderated - please do not publish links to dll files that can not be verified.  This is a great way to add mlaware to your PC.  Always download from a trusted source, such as Microsoft.com for MS files]

    2. Copy this file to C:\Windows\System32

    3. Open the Command Prompt as an administrator. To do this:

    Go to Start menu, Programs, Accessories, Right click on Command Prompt, and click on Run as Administrator

    4. Now, type following:

    regsvr32 c:\windows\msagent\agentdpv.dll

    That's it: Enjoy your favorite MS Agent!!!

    Zaheer Sheikh

    November 13, 2007 11:29 PM
     

    Dean said:

    David,

    Brill, thanks.

    It's sorted my machine and my dad's.  I didn't even know I had a problem, he was the one that noticed it.

    I wish there were more small and easy to find solutions to anoying small problem.

    Thanks again.

    November 17, 2007 3:55 PM
     

    andymackk said:

    This worked for me. thanks very much.

    Andy

    November 19, 2007 10:20 PM
     

    John FITCH said:

    David Overton , you are a star . First time I've tried anything this tekky and ........ It Worked . Have you noticed that all the previous posters , like me , wanted to get Links the Cat back into their Office .

    November 23, 2007 1:25 PM
     

    kpowell said:

    Worked like a charm. You da man!!!

    November 25, 2007 3:16 AM
     

    Laras4labd said:

    Hi everyone. I have tried this over and over again and I still can't get the assistants. Any suggestions, besides returning to windows xp?

    December 1, 2007 3:44 AM
     

    David Overton said:

    Laras,

    when you go through the process above, do you do it exactly as described?  Do you see any error messages?  Do you have Windows 64-bit?

    thanks

    David

    December 1, 2007 12:33 PM
     

    Doug said:

    Thanks for the fix. Got my Cat!

    December 1, 2007 7:01 PM
     

    anneb04 said:

    Thank you so much my little cat is back

    January 2, 2008 6:42 PM
     

    MinnahPage said:

    WOO HOOOOOO!!!!!!

    Thanks much!  My day was much poorer without that silly little cat!

    January 10, 2008 12:39 AM
     

    Dodge1571 said:

    David

    As we say in Australia your a bloody legend mate and a big thumbs up to you.

    I know have F1 the robot back thanks for the tip it worked nicely without a single hickup

    January 10, 2008 1:54 PM
     

    Joy said:

    It worked when I copied to system - so glad to get little Rocky back again...thank you David!

    January 13, 2008 9:22 PM
     

    David Walker said:

    Dear David,

    I am getting another error in Outlook 2003 SP3 that sounds similar to what has been described here and was wondering if this fix would do the same thing? Basically, if I try to save an email attachment to my PC I get a message saying "There are not enough resources to complete the operation. Save your work, close other programs, and then try again". Closing other programs makes no difference. I seem to have plenty of free RAM too. If I press "Ignore" about ten times it allows me to save it anyway. Any ideas? I am running Windows Vista business 32-bit.

    Thanks

    David Walker

    January 14, 2008 3:06 PM
     

    David Overton said:

    David,

    there are many things this could be, but I will plump for your anti-virus/anti-malware being at fault - who's is it and what version is it?

    thanks

    David

    January 15, 2008 8:02 PM
     

    Bill Malthouse said:

    Thanks a great deal for solving this annoyance! Who wants Office 2007 anyway with still more bloat!

    I will apply this fix to my wife's stupid Vista laptop as soon as I get back to my vacation home where the machine sits.   One real question though ... how come there is NO support information about this topic in the usual MSsoft KB?  I tried every possible combination of search terms and got NOWHERE fast (other than the same kind of stupidity vs Office 98 where the problem was no .act/acp files in the right dir