I'm deploying MVC 4 project in Azure environment. So, x64.
After uploading package for the 1st time on app launch (navigation to page) I get the exception below. On page refresh everything seems to work ok. There's no message in exception, so it's hard to figure out what the problem is. Do you have any suggestions on how to approach debugging this or logging to figure out where/what the problem is? Everything works fine in dev environment.
Thanks!
Если вам удобнее, могу общаться и по Русски.
Noesis.Javascript.JavascriptException
at Noesis.Javascript.CompileScript(Local<v8::Script>* , Char* source_code, Char* resource_name)
at Noesis.Javascript.JavascriptContext.Run(String iSourceCode)
at BundleTransformer.Csso.Minifiers.KryzhanovskyCssMinifier.Minify(IList`1 assets)
at BundleTransformer.Core.Transformers.TransformerBase.Minify(IList`1 assets)
at BundleTransformer.Core.Transformers.CssTransformer.Transform(IList`1 assets, BundleResponse bundleResponse, HttpContextBase httpContext)
at BundleTransformer.Core.Transformers.TransformerBase.Process(BundleContext context, BundleResponse response)
at System.Web.Optimization.Bundle.ApplyTransforms(BundleContext context, String bundleContent, IEnumerable`1 bundleFiles)
at System.Web.Optimization.Bundle.GetBundleResponse(BundleContext context)
at System.Web.Optimization.BundleResolver.GetBundleContents(String virtualPath)
at System.Web.Optimization.AssetManager.EliminateDuplicatesAndResolveUrls(IEnumerable`1 paths)
at System.Web.Optimization.AssetManager.DeterminePathsToRender(IEnumerable`1 assets)
at System.Web.Optimization.AssetManager.RenderStyles(IEnumerable`1 assets)
at ASP._Page_Views_Shared__EmptyLayout_cshtml.Execute() in e:\sitesroot\0\Views\Shared\_EmptyLayout.cshtml:line 12
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body)
at System.Web.WebPages.WebPageBase.PopContext()
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)
Comments: Packages the BundleTransformer.Csso.x86 and the BundleTransformer.Csso.x64 were combined into one package - BundleTransformer.Csso (http://nuget.org/packages/BundleTransformer.Csso). Now the library BundleTransformer.Csso in runtime itself switches to correct version of the Noesis Javascript .NET (assemblies for different platforms are located in the App_Data/Noesis.Javascript directory).
After uploading package for the 1st time on app launch (navigation to page) I get the exception below. On page refresh everything seems to work ok. There's no message in exception, so it's hard to figure out what the problem is. Do you have any suggestions on how to approach debugging this or logging to figure out where/what the problem is? Everything works fine in dev environment.
Thanks!
Если вам удобнее, могу общаться и по Русски.
Noesis.Javascript.JavascriptException
at Noesis.Javascript.CompileScript(Local<v8::Script>* , Char* source_code, Char* resource_name)
at Noesis.Javascript.JavascriptContext.Run(String iSourceCode)
at BundleTransformer.Csso.Minifiers.KryzhanovskyCssMinifier.Minify(IList`1 assets)
at BundleTransformer.Core.Transformers.TransformerBase.Minify(IList`1 assets)
at BundleTransformer.Core.Transformers.CssTransformer.Transform(IList`1 assets, BundleResponse bundleResponse, HttpContextBase httpContext)
at BundleTransformer.Core.Transformers.TransformerBase.Process(BundleContext context, BundleResponse response)
at System.Web.Optimization.Bundle.ApplyTransforms(BundleContext context, String bundleContent, IEnumerable`1 bundleFiles)
at System.Web.Optimization.Bundle.GetBundleResponse(BundleContext context)
at System.Web.Optimization.BundleResolver.GetBundleContents(String virtualPath)
at System.Web.Optimization.AssetManager.EliminateDuplicatesAndResolveUrls(IEnumerable`1 paths)
at System.Web.Optimization.AssetManager.DeterminePathsToRender(IEnumerable`1 assets)
at System.Web.Optimization.AssetManager.RenderStyles(IEnumerable`1 assets)
at ASP._Page_Views_Shared__EmptyLayout_cshtml.Execute() in e:\sitesroot\0\Views\Shared\_EmptyLayout.cshtml:line 12
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body)
at System.Web.WebPages.WebPageBase.PopContext()
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)
Comments: Packages the BundleTransformer.Csso.x86 and the BundleTransformer.Csso.x64 were combined into one package - BundleTransformer.Csso (http://nuget.org/packages/BundleTransformer.Csso). Now the library BundleTransformer.Csso in runtime itself switches to correct version of the Noesis Javascript .NET (assemblies for different platforms are located in the App_Data/Noesis.Javascript directory).