Link to home
Start Free TrialLog in
Avatar of natrat22
natrat22

asked on

Outlook 2007 /Exchange 2007 keeps popping up username/password box

hi all,

I am tearing my hair out after performing a Windows update on the SBS2008 box.  Now all Outlook 2007 clients keep popping up the username/password box every 2 minutes.  Outlook 2003 are unaffected.

I've been researching this for hours (including reading all the similar tickets here)  and it seems to be related to an autodiscover issue.  Outlook clients (within the LAN) when doing "Test Email Autoconfiguration..." simply say "autoconfiguration was unable to determine your settings" - thats it.  Nothing else appears.  No attempts to reach  https://server.domain/autodiscover/autodiscover.xml etc.

To try and fix this issue I have:

Updated the server's self signed certificate so the servers address (45maplest.blah.com.au) is exactly the same as what you use to access it from outside.
Updated the DNS (DNS is external managed by the email host) so 45maplest.blah.com.au points to the servers public IP address.  Internal DNS on the SBS2008 box was automaitcally set up with 45maplest.blah.com.au as part of the internet address wizard.
Turned off "Connect to Exchange  using HTTP" on the Outlook clients on the internal LAN.  The issue remains whether this is used or not
Imported the SBS2008 certificate via the Public Downloads section and also via IE connecting to https://45maplest.blah.com.au
When doing https://server.domain/autodiscover/autodiscover.xml from IE the authentication box pops up again.  Putting in a users credentials also keeps popping up the logon box until eventually it says you do not have permission to view this directory or page.

When i look in internal DNS on the SBS box there is no record relating to autodiscover.  Is this normal?  I have checked another SBS2008 install which does not have the issue and it also doesnt have autodiscover listed in internal DNS on SBS2008 so i suspect thats ok.

I think my first aim is to get the Test Email Autoconfiguration working so at least it can run the test.  Can anyone help?  This is pretty critical.  

thanks
nathan
Avatar of Burns2007
Burns2007

Yes, Autodiscover is a royal pain if not setup correctly from scratch...I've lost much hair over it too ;)

Try following through this article: http://www.shudnow.net/2007/08/10/outlook-2007-certificate-error/
Sepcifically the commands around setting the internal and external URLs etc.
ASKER CERTIFIED SOLUTION
Avatar of Rob Williams
Rob Williams
Flag of Canada 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
As you said IE keeps prompting for credentials check the below settings in IIS7 , make sure autodiscover virtual directory has Basic and windows authentication no annonyous.

Try to open Autodiscover URL from server it self and make sure yo can login and get error 600.

Do you get certificate warning when browsing https://server.domain/autodiscover/autodiscover.xml ? if yes then install certificate manuaaly on the client machines.

try to open OWA on client machnes and see i yo get certificate warning if yes that means the self signed certificate is not installed on the machine ... install i manually.

For internal purpose check this article and set the URLs correctly.
http://support.microsoft.com/kb/940726

The domain name in Urls should be something that is present in Self SSL.

For external users also check Autodiscovery external URL and make sure it is set correctly.
Get-AutodiscoverVirtualDirectory |fl

Avatar of natrat22

ASKER

thanks guys i will run through these suggestions tomorrow.
You might also try this:

1. Register an important send/receive library file.  Go to Start > Run and type regsvr32 inetcomm.dll

2. Check if antivirus email check is slowing sending and receiving.  Disable it. Check if other programs running in the background is interfering. Disable one at a time the Firewall, antispyware, antispam, and all Norton programs.

3. In the account settings, Advanced settings, change the server timeout time from 1 min to 5 min

4. Create a new Outlook profile.
http://www.outlook-tips.net/howto/profile.htm

5.  Check with email provider Tech Support to determine if server is having trouble.                
Perfect this did the trick.
The reinstall of rollup 9 fixed the issue.  Sorry for the delay getting back on this one, customer has been closed for a few weeks.  Thanks heaps for all responses.
Thanks natrat22. Glad to hear you were able to resolve.
Cheers!
--Rob
Hello everyone.
Yestarday I gained several grey hair over this issue.
I tried everything, including disabling enryption in security tab for outlook 2007.
Done disable loopback registry entry on server but still without success.

Finally I encoutered on this post and man am I glad for experts-exchange!
Installing exchange 2007 update rollup 9 fixed the issue!

Thanks again guys.
Primoz
Good to hear Primoz. It is a pretty common problem lately.
--Rob
Ya I totally spent about three hours on this issue and this post solved my issue. Thanks!

-K