Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

RE: OWA "loading" & Event id:1040 error

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2003] >> Outlook Web Access >> RE: OWA "loading" & Event id:1040 error Page: <<   < prev  1 2 [3] 4   next >   >>
Login
Message << Older Topic   Newer Topic >>
Limited time MSExchange.org offer! -- 1.Sep.2008 1:00:00 PM
TechGenix and SolarWinds have partnered to provide free copies of SolarWinds Exchange Monitor to all visitors who join the MSExchange.org Forums. SolarWinds Exchange Monitor is a handy desktop dashboard that continuously monitors Microsoft Exchange to deliver real-time insight into Exchange services, mail queue sizes, and host server health. Learn more about Exchange Monitor and the free offer!
RE: OWA "loading" & Event id:1040 error - 14.May2007 12:33:17 AM   
Sunny.C

 

Posts: 186
Joined: 5.Apr.2005
From: sydney
Status: offline
No errors in the logs both on server & clients.
Store: 6.5.7638.2

(in reply to ismail.mohammed)
Post #: 41
RE: OWA "loading" & Event id:1040 error - 14.May2007 12:52:29 AM   
ismail.mohammed

 

Posts: 2333
Joined: 9.May2007
From: India
Status: offline
Hi Sunny,

Can i know what sort of topology you have i believe it might be FE and BE type. Inorder to access OWA, exchweb should be configured properly i.e IIS. Did u made any changes in IIS? Have you tried restarting the www,IIS, and then SA. Reason i stressing on this point by restarting the www, IIS and Sa is that we can get some sort of warning in the applicaiton log.
Please let me the following
1. How many Exchange servers in your environment? Is FE-BE scenario applied?
2. Are there any software (except Exchange) installed which correspond to IIS?
3. Did the issue occur when accessing OWA from internal or external network?

(in reply to Sunny.C)
Post #: 42
RE: OWA "loading" & Event id:1040 error - 14.May2007 1:08:05 AM   
ismail.mohammed

 

Posts: 2333
Joined: 9.May2007
From: India
Status: offline
Hi Sunny,

1) Restart the www. IIS and SA...and check for any errors in the application log and monitor it  if this also not resolving the issue
then
1) Expand IIS => locate to EXCHWEB virtual directory properties
2) Select Directory Access tab and edit "authentication and accesscontrol
3) check anonymous and basic authenitcation, then try to connect to OWA
If Owa is functioning properly this suggests that the user account is failing to auntheticate,
then uncheck "Anonynmous and Basic Authentication"
Please let me know the status.....

(in reply to Sunny.C)
Post #: 43
RE: OWA "loading" & Event id:1040 error - 14.May2007 1:13:38 AM   
ismail.mohammed

 

Posts: 2333
Joined: 9.May2007
From: India
Status: offline
1. How many Exchange servers in your environment? Is FE-BE scenario applied?
what is the version of exchweb...
2. Are there any software (except Exchange) installed which correspond to IIS?
3. Did the issue occur when accessing OWA from internal or external network?

(in reply to Sunny.C)
Post #: 44
RE: OWA "loading" & Event id:1040 error - 14.May2007 1:52:43 AM   
Sunny.C

 

Posts: 186
Joined: 5.Apr.2005
From: sydney
Status: offline
1. Only 1 stand alone exchange.
2. Just Anti virus/filtering software.(they are configured properly)
3. Both.

If i tick basic authentication in EXCHWEB it will start to work but when i untick then same problem.

< Message edited by Sunny.C -- 14.May2007 1:55:07 AM >

(in reply to ismail.mohammed)
Post #: 45
RE: OWA "loading" & Event id:1040 error - 14.May2007 2:41:29 AM   
ismail.mohammed

 

Posts: 2333
Joined: 9.May2007
From: India
Status: offline
So you mean to say that when you provide check mark on "Anonymous and Basic Authentication" It is working fine and when you uncheck the same your OWA is not working. This is because as I said to that user account is failing to authenitcate.
Right now next step is we need to know the password of the account and reset the password. Inorder to do this... follow this step:
1) In c:\inetpub\adminscripts make a backup copy of ADSUTIL.VBS
2) Open ADSUTIL.VBS in notepad and search for "IsSecureProperty = True" without the quotes and change "True" to "False"
Note : This change allows adsutil.vbs to expose the actual passwords contained in the metabase - rather than displaying asterisks and the file should be deleted at the end of troubleshooting.
3) From Cmd Prompt go to inetpub\adminscripts directory and run the following command
cscripts adsutil.vbs get w3svc/anonymoususername (note the user name)
cscripts adsutil.vbs get w3svc/anonymoususerpass (note the password)
4) Delete the modified copy of ADSUTIL.VBS and rename the old copy of ADSUTIL to ADSUTIL.VBS
5) Open the Active Directory Users and Computers Console and search the anonymous user account as reported by ADSUTIL.VBS.
6) Right click the user account and select "Reset Password" and enter the password as reported by ADSUTIL.VBS.
7) Finally Stop and Start the WWW Service then IIS and SA.
I hope this should work....
Best of luck

(in reply to Sunny.C)
Post #: 46
RE: OWA "loading" & Event id:1040 error - 14.May2007 3:17:13 AM   
a.grogan

 

Posts: 1887
Joined: 12.Apr.2005
From: London
Status: offline
Hiya Sunny, thanks for that, I am trying to narrow down some services.
When it next happen would you be willing to restart the MSExchangeIS - then check - if no difference restart the IIS instance.

Thanks

A

_____________________________

Andy Grogan
MSExchange.org Forums Moderator
For my general ramblings about Exchange please visit my blog:
W: http://telnetport25.wordpress.com/
M: manifoldmaster@gmail.com

(in reply to Sunny.C)
Post #: 47
RE: OWA "loading" & Event id:1040 error - 14.May2007 8:05:29 AM   
Sunny.C

 

Posts: 186
Joined: 5.Apr.2005
From: sydney
Status: offline
quote:

ORIGINAL: a.grogan

Hiya Sunny, thanks for that, I am trying to narrow down some services.
When it next happen would you be willing to restart the MSExchangeIS - then check - if no difference restart the IIS instance.

Thanks

A


Dont think that will make a diffence since restarting SA also restarts IS but
i did it anyway and no good.

(in reply to a.grogan)
Post #: 48
RE: OWA "loading" & Event id:1040 error - 14.May2007 8:27:41 AM   
Sunny.C

 

Posts: 186
Joined: 5.Apr.2005
From: sydney
Status: offline
quote:

ORIGINAL: ismail.mohammed

So you mean to say that when you provide check mark on "Anonymous and Basic Authentication" It is working fine and when you uncheck the same your OWA is not working. This is because as I said to that user account is failing to authenitcate.
Right now next step is we need to know the password of the account and reset the password. Inorder to do this... follow this step:
1) In c:\inetpub\adminscripts make a backup copy of ADSUTIL.VBS
2) Open ADSUTIL.VBS in notepad and search for "IsSecureProperty = True" without the quotes and change "True" to "False"
Note : This change allows adsutil.vbs to expose the actual passwords contained in the metabase - rather than displaying asterisks and the file should be deleted at the end of troubleshooting.
3) From Cmd Prompt go to inetpub\adminscripts directory and run the following command
cscripts adsutil.vbs get w3svc/anonymoususername (note the user name)
cscripts adsutil.vbs get w3svc/anonymoususerpass (note the password)
4) Delete the modified copy of ADSUTIL.VBS and rename the old copy of ADSUTIL to ADSUTIL.VBS
5) Open the Active Directory Users and Computers Console and search the anonymous user account as reported by ADSUTIL.VBS.
6) Right click the user account and select "Reset Password" and enter the password as reported by ADSUTIL.VBS.
7) Finally Stop and Start the WWW Service then IIS and SA.
I hope this should work....
Best of luck


But IIS is using local USR account how will creating a domain account make it work?
Are you saying i should be using a domain account on IIS?

(in reply to ismail.mohammed)
Post #: 49
RE: OWA "loading" & Event id:1040 error - 14.May2007 8:27:54 AM   
a.grogan

 

Posts: 1887
Joined: 12.Apr.2005
From: London
Status: offline
Hiya, very good point (it was early in the morning here - doh!) - anyway does restarting the IIS instance work.

Also I noticed a number of posts which deal with permissions - is the issue still that after an Hour or so icons go missing - is that the only issue?

Sorry for the Q's

A

_____________________________

Andy Grogan
MSExchange.org Forums Moderator
For my general ramblings about Exchange please visit my blog:
W: http://telnetport25.wordpress.com/
M: manifoldmaster@gmail.com

(in reply to Sunny.C)
Post #: 50
RE: OWA "loading" & Event id:1040 error - 14.May2007 8:34:46 AM   
Sunny.C

 

Posts: 186
Joined: 5.Apr.2005
From: sydney
Status: offline
Restarting IIS does not fix it but restarting the server works.
Yes the icons are missing after about 30mins -1 hour.
I think it's account or password related.

(in reply to a.grogan)
Post #: 51
RE: OWA "loading" & Event id:1040 error - 14.May2007 3:29:49 PM   
a.grogan

 

Posts: 1887
Joined: 12.Apr.2005
From: London
Status: offline
Hiya Sunny, I have had a look through the configuration of my FES and BES (Which are 2003 SP2) and documented it for you. You can have a look at the examples and see if there is change after there is an issue.

http://domain564941.sites.fasthosts.com/msex/FES-BES-PERMS.pdf

I can't see what the account problem would be - on occasion I have seen accounts with "special characters" cause this issue - for example if you had an account with the samAccountName of #myadmin, then when logging into OWA I would see this issue, but, for all accounts and only after an hour or so - very odd.

Just out of curiosity - does a GPO policy (or local account policy) enforce anything on your server - if so have you thought of taking it out?

One final note (I think that you may have already answered this - both the FES and BES are exactly the same version of Exchange - including patches?)

Let me know how you get on,

Cheers,
A

_____________________________

Andy Grogan
MSExchange.org Forums Moderator
For my general ramblings about Exchange please visit my blog:
W: http://telnetport25.wordpress.com/
M: manifoldmaster@gmail.com

(in reply to Sunny.C)
Post #: 52
RE: OWA "loading" & Event id:1040 error - 14.May2007 7:54:21 PM   
Sunny.C

 

Posts: 186
Joined: 5.Apr.2005
From: sydney
Status: offline
quote:

ORIGINAL: a.grogan

Hiya Sunny, I have had a look through the configuration of my FES and BES (Which are 2003 SP2) and documented it for you. You can have a look at the examples and see if there is change after there is an issue.

http://domain564941.sites.fasthosts.com/msex/FES-BES-PERMS.pdf

I can't see what the account problem would be - on occasion I have seen accounts with "special characters" cause this issue - for example if you had an account with the samAccountName of #myadmin, then when logging into OWA I would see this issue, but, for all accounts and only after an hour or so - very odd.

Just out of curiosity - does a GPO policy (or local account policy) enforce anything on your server - if so have you thought of taking it out?

One final note (I think that you may have already answered this - both the FES and BES are exactly the same version of Exchange - including patches?)

Let me know how you get on,

Cheers,
A


I only have 1 stand alone exchange server, no back or front end.
Yes i have group policy in place but it is just hardening up the server by stopping some services.

(in reply to a.grogan)
Post #: 53
RE: OWA "loading" & Event id:1040 error - 14.May2007 10:24:57 PM   
ismail.mohammed

 

Posts: 2333
Joined: 9.May2007
From: India
Status: offline
Hi sunny, have you tired this step
) In c:\inetpub\adminscripts make a backup copy of ADSUTIL.VBS
2) Open ADSUTIL.VBS in notepad and search for "IsSecureProperty = True" without the quotes and change "True" to "False"
Note : This change allows adsutil.vbs to expose the actual passwords contained in the metabase - rather than displaying asterisks and the file should be deleted at the end of troubleshooting.
3) From Cmd Prompt go to inetpub\adminscripts directory and run the following command
cscripts adsutil.vbs get w3svc/anonymoususername (note the user name)
cscripts adsutil.vbs get w3svc/anonymoususerpass (note the password)
4) Delete the modified copy of ADSUTIL.VBS and rename the old copy of ADSUTIL to ADSUTIL.VBS
5) Open the Active Directory Users and Computers Console and search the anonymous user account as reported by ADSUTIL.VBS.
6) Right click the user account and select "Reset Password" and enter the password as reported by ADSUTIL.VBS.
7) Finally Stop and Start the WWW Service then IIS and SA.
I hope this should work....

(in reply to Sunny.C)
Post #: 54
RE: OWA "loading" & Event id:1040 error - 15.May2007 12:11:10 AM   
Sunny.C

 

Posts: 186
Joined: 5.Apr.2005
From: sydney
Status: offline
Yes i have but i dont see how it will work because that is a domain account and
IIS is running a local pc account.
How will that work? DO i need to use a domain account on IIS?

(in reply to ismail.mohammed)
Post #: 55
RE: OWA "loading" & Event id:1040 error - 15.May2007 12:24:46 AM   
ismail.mohammed

 

Posts: 2333
Joined: 9.May2007
From: India
Status: offline
Hi Sunny,

IIS should be running by local account only
http://www.microsoft.com/technet/prodtechnol/sms/smssp2/spsecurity/81bd4dfa-0644-4bc2-afa5-1eadc86016ae.mspx?mfr=true

When you ran cscripts for getting the username what is the account info does it produced is it a local or domain account and are u able to trace the pwd for it.

If it is local cross check the password means try reseting it from the ADUC

(in reply to Sunny.C)
Post #: 56
RE: OWA "loading" & Event id:1040 error - 15.May2007 4:14:30 AM   
a.grogan

 

Posts: 1887
Joined: 12.Apr.2005
From: London
Status: offline
Hiya Sunny in the document I provided to you in my last post there was a section on "Back end" permissions - this can apply to your environment - can you check it at let us know.

Thanks

A

_____________________________

Andy Grogan
MSExchange.org Forums Moderator
For my general ramblings about Exchange please visit my blog:
W: http://telnetport25.wordpress.com/
M: manifoldmaster@gmail.com

(in reply to Sunny.C)
Post #: 57
RE: OWA "loading" & Event id:1040 error - 15.May2007 8:26:27 PM   
Sunny.C

 

Posts: 186
Joined: 5.Apr.2005
From: sydney
Status: offline
quote:

IIS should be running by local account only

It is but for some reason i could not find the account in AD,
so i created it and reset to correct password.

quote:

When you ran cscripts for getting the username what is the account info does it produced is it a local or domain account and are u able to trace the pwd for it.

You mean cscript command?
I get IUSR_EX001

quote:

If it is local cross check the password means try reseting it from the ADUC

What do you mean?

(in reply to ismail.mohammed)
Post #: 58
RE: OWA "loading" & Event id:1040 error - 15.May2007 8:30:10 PM   
Sunny.C

 

Posts: 186
Joined: 5.Apr.2005
From: sydney
Status: offline
quote:

ORIGINAL: a.grogan

Hiya Sunny in the document I provided to you in my last post there was a section on "Back end" permissions - this can apply to your environment - can you check it at let us know.

Thanks

A

Permission all seem fine.
After reseting the password for IUSR account it seems to be working longer locally (servername/exchange) but if i try and go to the external domain name from the internal network does not load correctly(mail.domain.com/exchange). I think this may be related to our ISA firewall. 

(in reply to a.grogan)
Post #: 59
RE: OWA "loading" & Event id:1040 error - 17.May2007 9:48:18 AM   
Sunny.C

 

Posts: 186
Joined: 5.Apr.2005
From: sydney
Status: offline
Still no good.
If i use SSL will it problem go?

(in reply to Sunny.C)
Post #: 60

Page:   <<   < prev  1 2 [3] 4   next >   >> << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2003] >> Outlook Web Access >> RE: OWA "loading" & Event id:1040 error Page: <<   < prev  1 2 [3] 4   next >   >>
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts