OWA Quit working
I had a user call me today and say that they were unable to access the OWA page. Upon connecting to it i also get the following error
Server Error in '/owa' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for
this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file
located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration
tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Anyone have any idea what could be going on?
I just updated to Exchange 2010 SP1 Rollup 3v3 and this didn't help anything.
June 2nd, 2011 2:56am
Single CAS server? Going through NLB or HLB? Redirecting the Default Website? Same for both internal and external access? Tried to reboot server? Tim Harrington | MVP: Exchange | MCITP: EMA 2007/2010, MCITP: Lync 2010, MCITP: Server 2008, MCTS: OCS | Blog: http://HowDoUC.blogspot.com | Twitter: @twharrington
Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2011 3:07am
Single CAS server? Going through NLB or HLB? Redirecting the Default Website? Same for both internal and external access? Tried to reboot server?
Tim Harrington | MVP: Exchange | MCITP: EMA 2007/2010, MCITP: Lync 2010, MCITP: Server 2008, MCTS: OCS | Blog: http://HowDoUC.blogspot.com | Twitter: @twharrington
1. yes, single server for everything
2. Not sure what this is, so probably not
3. I have it re-directing our mail.muskogeeonline.org to mail.muskogeeonline.org/owa
4. same happens both internally and externally
5. i've rebooted the server, and then installed update rollup 3v3 and rebooted again still same issue.
June 2nd, 2011 3:29am
thanks for the info...can you verify your rediection settings using this article:
http://briandesmond.com/blog/redirecting-owa-urls-in-exchange-2010/Tim Harrington | MVP: Exchange | MCITP: EMA 2007/2010, MCITP: Lync 2010, MCITP: Server 2008, MCTS: OCS | Blog: http://HowDoUC.blogspot.com | Twitter: @twharrington
Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2011 3:56am
thanks for the info...can you verify your rediection settings using this article:
http://briandesmond.com/blog/redirecting-owa-urls-in-exchange-2010/
Tim Harrington | MVP: Exchange | MCITP: EMA 2007/2010, MCITP: Lync 2010, MCITP: Server 2008, MCTS: OCS | Blog: http://HowDoUC.blogspot.com | Twitter: @twharrington
Yes, the redirect was setup just as it is here, still no go.
June 2nd, 2011 4:13pm
OK now we are getting this error in the error log
Event code: 3008
Event message: A configuration error has occurred.
Event time: 6/2/2011 9:15:38 AM
Event time (UTC): 6/2/2011 2:15:38 PM
Event ID: 77dfa31a0b604529bb0dd480da986127
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/owa-1-129514977381168145
Trust level: Full
Application Virtual Path: /owa
Application Path: C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa\
Machine name: EXCHANGE
Process information:
Process ID: 5176
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: HttpException
Exception message: Could not load file or assembly 'Microsoft.Exchange.Data.Directory, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (C:\Program Files\Microsoft\Exchange
Server\V14\ClientAccess\owa\web.config line 57)
Request information:
Request URL: http://mail.muskogeeonline.org/owa/
Request path: /owa/
User host address: 192.168.54.77
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
Custom event details:
Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2011 5:16pm
Today I tried uninstalling ASP.net and re-installing it, and this did nothing. Re-installing the CA role isn't really an option since this is a live production system.
I really would appreciate any and all help with this! Thank you.
June 3rd, 2011 1:41am
Hi,
I have ever come across the issue twice.
I fixed the issue with the following method:
Method 1:
Restart IIS, then try to log in OWA again, the issue fixed.
Method 2:
1. Open the file:web.config.
You could find it via the following directory:
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\OWA\config
2. Follow the error message to
modify customErrors mode to RemoteOnly
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
3. Restart IIS
4. Try to log in OWA again, and it will remind you some .dll files are corrupted.
5. According to the reminds, recover the .dll files
6. Restart IIS, OWA works fine.
According to my experience, I think the third method will fix the issue, although I have never try.
Method 3:
Recover the folder: C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\OWA
And restart IIS.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2011 8:31am
OK, we restored the OWA directory from backup 2 weeks ago. Now we get the login screen, but after you put in your username/password we go to this immediately
An unexpected error occurred and your request couldn't be handled.
Request
Url:http://mail.muskogeeonline.org:80/owa/auth.owa
User host address:192.168.66.52
OWA version:14.1.218.13
Exception
Exception type:System.MissingMethodException
Exception message:Method not found: 'Void Microsoft.Exchange.Common.SecureArray`1.set_ArrayValue(!0[])'.
Call stack
Microsoft.Exchange.Clients.Owa.Core.SecureHtmlFormReader.TryReadSecureFormData(SecureNameValueCollection& formCollection)
Microsoft.Exchange.Clients.Owa.Core.FBASingleSignOnFilterChain.SimulateBasicAuthenticationHeader(HttpContext httpContext)
Microsoft.Exchange.Clients.Owa.Core.FBASingleSignOnFilterChain.FilterRequest(Object source, EventArgs e, RequestEventType eventType)
Microsoft.Exchange.Clients.Owa.Core.RequestFilterChain.ExecuteRequestFilterChain(Object source, EventArgs e, RequestEventType eventType)
Microsoft.Exchange.Clients.Owa.Core.OwaRequestEventInspector.OnBeginRequest(Object sender, EventArgs e, Boolean& stopExecution)
Microsoft.Exchange.Clients.Owa.Core.OwaModule.OnBeginRequest(Object sender, EventArgs e)
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
June 6th, 2011 8:40pm
Hi,
>>Request
>>Url:http://mail.muskogeeonline.org:80/owa/auth.owa
>>User host address:192.168.66.52
>>OWA version:14.1.218.13
Why the URL is “HTTP” not “HTTPS”?
Of course, it seems something wrong else.
Are you able to open the virtual directory on CAS with this URL:
https://localhost/exchange
If you can, I think TWHarrington is correct. You had better verify your redirection settings.
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2011 6:01am
even with https i get this
Request
Url: https://mail.muskogeeonline.org:443/owa/auth.owa
User host address: 74.197.148.216
OWA version: 14.1.218.13
Exception
Exception type: System.MissingMethodException
Exception message: Method
not found: 'Void Microsoft.Exchange.Common.SecureArray`1.set_ArrayValue(!0[])'.
Call stack
Microsoft.Exchange.Clients.Owa.Core.SecureHtmlFormReader.TryReadSecureFormData(SecureNameValueCollection& formCollection)
Microsoft.Exchange.Clients.Owa.Core.FBASingleSignOnFilterChain.SimulateBasicAuthenticationHeader(HttpContext httpContext)
Microsoft.Exchange.Clients.Owa.Core.FBASingleSignOnFilterChain.FilterRequest(Object source, EventArgs e, RequestEventType eventType)
Microsoft.Exchange.Clients.Owa.Core.RequestFilterChain.ExecuteRequestFilterChain(Object source, EventArgs e, RequestEventType eventType)
Microsoft.Exchange.Clients.Owa.Core.OwaRequestEventInspector.OnBeginRequest(Object sender, EventArgs e, Boolean& stopExecution)
Microsoft.Exchange.Clients.Owa.Core.OwaModule.OnBeginRequest(Object sender, EventArgs e)
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
and i tried https://mail.muskogeeonline.org/exchange from home and it just times out. I will try it again in the morning on the local machine at work.
June 7th, 2011 6:30am
If you can’t log in OWA on CAS, I would like to restart IIS and try again.
If it doesn’t work , I would like to run the below commands one by one:
1.
Remove-OwaVirtualDirectory
2.
New-OwaVirtualDirectory
3.
Test-OwaConnectivityPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2011 10:45am
I tried the above commands, the first two worked fine, but when i do the test i get this
WARNING: Test user 'extest_a832a2fe29664' isn't accessible, so this cmdlet won't be able to test Client Access server
connectivity.
Could not find or sign in with user muskogeeonline.org\extest_a832a2fe29664. If this task is being run without credenti
als, sign in as a Domain Administrator, and then run Scripts\new-TestCasConnectivityUser.ps1 to verify that the user ex
ists on Mailbox server EXCHANGE.muskogeeonline.org
+ CategoryInfo : ObjectNotFound: (:) [Test-OwaConnectivity], CasHealthCouldN...edInfoException
+ FullyQualifiedErrorId : 35C9FB3B,Microsoft.Exchange.Monitoring.TestOwaConnectivity
WARNING: No Client Access servers were tested.
June 7th, 2011 4:19pm
Just bumping this to hopefully get some more help.
Free Windows Admin Tool Kit Click here and download it now
June 8th, 2011 4:23pm
Please ignore it temporary.
After you create OWA virtual, did you configure internal URL for the virtual directory.
For example,
Internal URL:
https://mail.muskogeeonlien.org/owa
then try to log in OWA via the following URLs on CAS.
https://localhost/owa
https://mail.muskogeeonlien.org/owa
Are you able to log in OWA?
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
June 10th, 2011 5:10am
No, it still produces the same error.
Request
Url: https://mail.muskogeeonline.org:443/owa/auth.owa
User host address: 74.197.148.216
OWA version: 14.1.218.13
Exception
Exception type: System.MissingMethodException
Exception message: Method
not found: 'Void Microsoft.Exchange.Common.SecureArray`1.set_ArrayValue(!0[])'.
Call
stack
Microsoft.Exchange.Clients.Owa.Core.SecureHtmlFormReader.TryReadSecureFormData(SecureNameValueCollection& formCollection)
Microsoft.Exchange.Clients.Owa.Core.FBASingleSignOnFilterChain.SimulateBasicAuthenticationHeader(HttpContext httpContext)
Microsoft.Exchange.Clients.Owa.Core.FBASingleSignOnFilterChain.FilterRequest(Object source, EventArgs e, RequestEventType eventType)
Microsoft.Exchange.Clients.Owa.Core.RequestFilterChain.ExecuteRequestFilterChain(Object source, EventArgs e, RequestEventType eventType)
Microsoft.Exchange.Clients.Owa.Core.OwaRequestEventInspector.OnBeginRequest(Object sender, EventArgs e, Boolean& stopExecution)
Microsoft.Exchange.Clients.Owa.Core.OwaModule.OnBeginRequest(Object sender, EventArgs e)
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Free Windows Admin Tool Kit Click here and download it now
June 10th, 2011 5:17am