Base solution for your next web application
Open Closed

IIS Deployment #4060


User avatar
0
geovanimartinez created

I have TeamCity checking out and building my solution to c:\inetpub\wwwroot\demo.yovasolutions.com . The public and app are within their own folders.

c:\inetpub\wwwroot\demo.yovasolutions.com\mvc c:\inetpub\wwwroot\demo.yovasolutions.com\public

On my \public\appsettings file, I have the following setting

"App": {
    "WebSiteRootAddress": "http://demo.yovasolutions.com/",
    "AdminWebSiteRootAddress": "http://app.yovasolutions.com/"
  }

On my \mvc\appsettings file, I have the following settings

"App": {
    "WebSiteRootAddress": "http://app.yovasolutions.com/",
    "RedirectAllowedExternalWebSites": "http://demo.yovasolutions.com/"
  }
INFO  2017-10-18 12:34:18,873 [11   ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://app.yovasolutions.com/view-resources/Areas/App/Common/Scripts/jquery-validation-custom.js?v=qAkKA9oc2tNe2pDd_A3TQO9des6rLPBAATKXE1tPwBw  
INFO  2017-10-18 12:34:18,874 [11   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:18,874 [11   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:18,874 [11   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:18,874 [11   ] NetCore.StaticFiles.StaticFileMiddleware - The file /view-resources/Areas/App/Common/Scripts/jquery-validation-custom.js was not modified
INFO  2017-10-18 12:34:18,875 [11   ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 1.8256ms 304 application/javascript
INFO  2017-10-18 12:34:18,984 [12   ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://app.yovasolutions.com/metronic/assets/admin/layout/scripts/layout.js?v=IxSpDjRjADem0vGRiUsz5wBlH2rgfnC2AIlm4eLG4vc  
INFO  2017-10-18 12:34:18,986 [12   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:18,986 [12   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:18,986 [12   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:18,987 [12   ] NetCore.StaticFiles.StaticFileMiddleware - The file /metronic/assets/admin/layout/scripts/layout.js was not modified
INFO  2017-10-18 12:34:18,987 [12   ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 3.5717ms 304 application/javascript
INFO  2017-10-18 12:34:19,068 [12   ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://app.yovasolutions.com/view-resources/Views/Account/Login.min.js?v=dqWYq2jp3YI3vWJRMKOTLClINv-1b5-BY3McNRgUCFg  
INFO  2017-10-18 12:34:19,069 [12   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,069 [12   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,070 [12   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,070 [12   ] NetCore.StaticFiles.StaticFileMiddleware - The file /view-resources/Views/Account/Login.min.js was not modified
INFO  2017-10-18 12:34:19,070 [12   ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 2.2689ms 304 application/javascript
INFO  2017-10-18 12:34:19,152 [12   ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://app.yovasolutions.com/TenantCustomization/GetLogo?id=883c4e7c-0c6b-45c5-6de9-39e237e4c85b  
INFO  2017-10-18 12:34:19,153 [12   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,154 [12   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,154 [12   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,171 [12   ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method solution.Web.Controllers.TenantCustomizationController.GetLogo (solution.Web.Core) with arguments ((null)) - ModelState is Valid
INFO  2017-10-18 12:34:19,192 [12   ] e.Mvc.Internal.FileContentResultExecutor - Executing FileResult, sending file as 
INFO  2017-10-18 12:34:19,192 [12   ] ore.Mvc.Internal.ControllerActionInvoker - Executed action solution.Web.Controllers.TenantCustomizationController.GetLogo (solution.Web.Core) in 30.7879ms
INFO  2017-10-18 12:34:19,192 [12   ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 40.3704ms 200 image/png
INFO  2017-10-18 12:34:19,338 [11   ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://app.yovasolutions.com/lib/famfamfam-flags/dist/sprite/famfamfam-flags.png  
INFO  2017-10-18 12:34:19,339 [11   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,339 [11   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,339 [11   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,340 [11   ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 2.2913ms 302 
INFO  2017-10-18 12:34:19,527 [11   ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://app.yovasolutions.com/Error?statusCode=404  
INFO  2017-10-18 12:34:19,528 [11   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,528 [11   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,528 [11   ] tion.Cookies.CookieAuthenticationHandler - Identity.Application was not authenticated. Failure message: Unprotect ticket failed
INFO  2017-10-18 12:34:19,536 [11   ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method solution.Web.Controllers.ErrorController.Index (solution.Web.Mvc) with arguments (404) - ModelState is Valid
INFO  2017-10-18 12:34:19,537 [11   ] ViewFeatures.Internal.ViewResultExecutor - Executing ViewResult, running view at path /Views/Error/Error404.cshtml.
INFO  2017-10-18 12:34:19,541 [11   ] ore.Mvc.Internal.ControllerActionInvoker - Executed action solution.Web.Controllers.ErrorController.Index (solution.Web.Mvc) in 6.5129ms
INFO  2017-10-18 12:34:19,541 [11   ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 14.3512ms 200 text/html; charset=utf-8

The issue I am having is that the UI breaks (font icons) and a few scripts don't load which breaks the app. Above is part of my log which may be the possible root cause.

Can someone tell me if I got my app config settings right? what other areas can I look at to resolve this issues?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @GeovaniMartinez,

    We recently released AspNet Zero v4.6.1 to fix those issues. Do you still have any other errors after upgrading your solution ?