Error on the Surveillance login page:
HTTP Error 404.7 - Not Found
The request filtering module is configured to deny the file extension.
Most likely causes:
- Request filtering is configured for the Web server and the file extension for this request is explicitly denied.
Things you can try:
- Verify the configuration/system.webServer/security/requestFiltering/fileExtensions settings in applicationhost.config and web.config.
Detailed Error Information:
Module RequestFilteringModule
Notification BeginRequest
Handler aspNetCore
Error Code 0x00000000
Requested URL https://
Physical Path C:\Program Files (x86)\Enterprise Vault Business Accelerator\SupervisionWeb
Logon Method Not yet determined
Logon User Not yet determined
More Information:
This is a security feature. Do not change this feature unless the scope of the change is fully understood. If the file extension for the request should be allowed, remove the denied file extension from configuration/system.webServer/security/requestFiltering/fileExtensions.
Application Event Logs entries:
Log Name: Application
Source: .NET Runtime
Event ID: 1000
Task Category: None
Level: Error
Keywords: Classic
Description:
Category: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware
EventId: 1
SpanId: 720e3a0a6e6dab11
TraceId: acf83c4c6d156445d20a64f156874427
ParentId: 0000000000000000
RequestId: 80000036-0002-ff00-b63f-84710c7967bb
RequestPath: /api/authentication/login
An unhandled exception has occurred while executing the request.
Exception:
System.UnauthorizedAccessException: User is unauthorized.
at csc_app.Controllers.AuthenticationController.Login(AuthenticationLoginRequest userdata)
at lambda_method30(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.
at Microsoft.AspNetCore.Routing.EndpointMiddleware.
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at csc_app.SecurityHeaders.SecurityHeadersMiddleware.Invoke(HttpContext context)
at csc_app.Startup.<>c.<
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.
V-437-1000
Log Name: Application
Source: .NET Runtime
Event ID: 1000
Task Category: None
Level: Error
Keywords: Classic
Description:
Category: csc_app.Controllers.AuthenticationController
EventId: 0
SpanId: 720e3a0a6e6dab11
TraceId: acf83c4c6d156445d20a64f156874427
ParentId: 0000000000000000
RequestId: 80000036-0002-ff00-b63f-84710c7967bb
RequestPath: /api/authentication/login
ActionId: e1cafdec-116d-42fe-bf10-b7a18e1b2c27
ActionName: csc_app.Controllers.AuthenticationController.Login (csc-app)
Failed to authenticate.
Exception:
System.Exception: Internal Server Error
at csc_app.Helpers.CryptoHandler.EncryptData(String value, Int32 tenantId, Int32 customerId, Byte[] iv)
at csc_app.Helpers.CookieEncryptor.StoreEncryptedContentAsCookie[T](HttpContext httpContext, T content, String cookieName)
at csc_app.AuthHandler.AuthenticationHandlerBase.CreateSupervisionResponse(OAuthResponse response, String userNameOrToken, Boolean isFromRefresh, AuthenticationToken authenticationToken, HttpContext httpContext, String typeOfLogin, Boolean calledForDefaultCustomer)
at csc_app.AuthHandler.AuthenticationHandlerBase.CreateSupervisionResponse(OAuthResponse response, String userNameOrToken, Boolean isFromRefresh, AuthenticationToken authenticationToken, Boolean calledForDefaultCustomer)
at csc_app.AuthHandler.WindowsAuthenticationHandler.CreateSupervisionResponse(OAuthResponse response, String userNameOrToken, Boolean isFromRefresh, AuthenticationToken authenticationToken, Boolean calledForDefaultCustomer)
at csc_app.AuthHandler.AuthenticationHandlerBase.HandleLoginAuthResponse(AuthenticationLoginRequest userdata, OAuthResponse response, Int64 atsvcLoginElapsedMs)
at csc_app.AuthHandler.AuthenticationHandlerBase.Login(AuthenticationLoginRequest userdata)
at csc_app.Controllers.AuthenticationController.Login(AuthenticationLoginRequest userdata)
V-437-1000
Log Name: Application
Source: .NET Runtime
Event ID: 1000
Task Category: None
Level: Error
Keywords: Classic
Description:
Category: csc_app.Helpers.CryptoHandler
EventId: 0
SpanId: 720e3a0a6e6dab11
TraceId: acf83c4c6d156445d20a64f156874427
ParentId: 0000000000000000
RequestId: 80000036-0002-ff00-b63f-84710c7967bb
RequestPath: /api/authentication/login
ActionId: e1cafdec-116d-42fe-bf10-b7a18e1b2c27
ActionName: csc_app.Controllers.AuthenticationController.Login (csc-app)
Internal Server Error
Exception:
System.ArgumentNullException: Value cannot be null. (Parameter 'key')
at System.Security.Cryptography.AesGcm..ctor(Byte[] key)
at Veritas.Supervision.Common.Security.AuthenticatedCrypto.EncryptToBytes(String plainText, Byte[] key, Byte[] nonce)
at Veritas.Supervision.Common.Security.Crypto.Encrypt(String plainText, Byte[] key, Byte[] iv)
at csc_app.Helpers.CryptoHandler.EncryptData(String value, Int32 tenantId, Int32 customerId, Byte[] iv)
V-437-1000
401 (Unauthorised) and 404.7 (Not Found) entries in the various IIS logs (%SystemDrive%\inetpub\logs\LogFiles):
The unlisted file extensions option in the applicationHost.config file was edited to not allow unlisted file extensions. For example:
1. Edit the applicationHost.config file under %windir%\system32\inetsrv\config\ to revert the unlisted file extensions option to its default value and save the file:
2. Restart the IIS Admin Service in the Services MMC.
3. Re-try the Surveillance login.