19 Nov 2008 @ 1:45 PM 

There was a problem with a client PC today using Windows XP and Office 2007.

Outlook 2007 was reporting the Exchange server as Offline and would not reconnect to the Exchange server.  Looking through the Eventlog, there was a Userenv error of 1517.  This probably had a part in causing the system to not connect correctly to the Exchange server.

If you have a system that is experiencing a Userenv 1517 error:

Windows saved user <user name> registry while an application or service was still using the registry during log off. The memory used by the user’s registry has not been freed. The registry will be unloaded when it is no longer in use. This is often caused by services running as a user account, try configuring the services to run in either the LocalService or NetworkService account.

The resolution I found for this was to:

  1. Open the “Active Directory Users and Computers”
  2. Locate the “Computer” object and reset it.
  3. Remove the PC from the domain.
  4. Add the PC back into the domain.

This seemed to fix the Userenv error.

Once this was fixed, there was still the Outlook Connection Error on the same account with different PCs.  With the following error:

Cannot open your default email-folders. You must connect to Microsoft Exchange with the current profile before you can synchronize your folder with your offline folder files.

The steps I took to resolve this were:

  1. Deleting the account from the Control Panel > Mail area .
  2. Open the folder where the OST/PST files are stored and remove all files but the PSTs.  (You can move the OST file to another location if you do not want to delete it quite yet).
  3. I am not sure if this helped but I also ran the command  “outlook.exe /cleanprofile” (For 2007)
  4. Then I opened the dysfunctional account in the Webmail system.
  5. (The trickiest part?) Refresh the webmail and let it talk to the Exchange server for a bit.  In my case it was about 5 minutes. Right after logging into webmail and then trying to run Outlook again still generated the same error.
  6. After waiting for a short while, restarting Outlook worked again and the user could access mail again.

Why I had to log into webmail and wait I really don’t know.  But it seemed to fix whatever connection/sync problems the user was having.

Hope this helps anyone that might encounter the same problem.

Tags Tags: , , ,
Categories: Computers, Technology, Windows
Posted By: Matt
Last Edit: 19 Nov 2008 @ 01 45 PM

E-mailPermalinkComments (0)
\/ More Options ...
Change Theme...
  • Users » 71
  • Posts/Pages » 90
  • Comments » 18
Change Theme...
  • VoidVoid
  • LifeLife « Default
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LiteLight
  • No Child Pages.
  • No Child Pages.
  • No Child Pages.