logon.aspx file missing error when login using SWA Skip to main content
https://support.okta.com/help/answers?id=906f0000000dfcxia4&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Pranjal ShahPranjal Shah 

logon.aspx file missing error when login using SWA

We have OWA setup as a SWA app. For certain users we are receiving 404 error when login using OKTA. It works fine if the user goes directly to the OWA url and login. Here is the error trace - 
 
OWA version: 14.3.301.0
 
Exception
Exception type: System.Web.HttpException
Exception message: The file '/owa/owa/auth/logon.aspx' does not exist.
 
Call stack
 
System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I am going to have our AD admin to reset the virtual directory as a first step but wanted to check if anyone else has seen this. 

Thanks in advance.
-Pranjal
 
Costel CurcaCostel Curca (Okta, Inc.)
Hi Pranjal, if /owa/owa/auth/logon.aspx link was change on OWA you must update the Okta SWA app with the new OWA sign in link.