Missing asset randomly taking down our sites

34 views
Skip to first unread message

hcoverlambda

unread,
Apr 30, 2013, 4:39:18 PM4/30/13
to fubumv...@googlegroups.com
Three times in the past month (Twice in the past 5 days) we've run into an issue where a production site (It's happened separately on two sites) will randomly be taken down, YSOD and all, with this error showing up in the logs:
Verify the existence of assets specified in *.asset.config or *.script.config files
Unable to locate asset named jquery-ui-1.8.21.custom.min.js
Asset logs:
    D:\Websites\services.reachmail.net\wwwroot\fubu-content\FubuMVC.JQueryUI\WebContent\jqueryui.asset.config
        Added alias jqueryui

Unable to locate asset named jquery-ui-1.8.21.custom.min.js
Asset logs:
    D:\Websites\services.reachmail.net\wwwroot\fubu-content\FubuMVC.JQueryUI\WebContent\jqueryui.asset.config
        Added alias jqueryui

Nothing ASP.NET is available. The only way it could be fixed was by waxing the fubu-content folder. I don't think it's fubu per se, I actually think its either DFS or our backup software mucking with files which then affects fubu. BUT it concerns me that a missing js file could bring down our entire site. Especially when we don't even use that bottle, I think it's in there because of diagnostics. Is there a way to configure it so that if an asset is missing it doesn't kill the entire site, maybe just log a warning instead? I got a lot of heat over this so I'm hoping to find an answer that makes management feel confident that our sites will not randomly go down again. :/

TIA,

m

BTW, here are the fubu versions we were on at the time of the error, we have since update to the latest nugets:

Bottles                                           1.0.0.443       file:///D:/Websites/services.reachmail.net/wwwroot/bin/Bottles.DLL                                                                                              
FubuCore                                          1.0.0.0         file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuCore.DLL                                                                                              
FubuLocalization                                  0.9.5.0         file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuLocalization.DLL                                                                                      
FubuMVC.Core.Assets                               0.9.9.0         file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.Core.Assets.DLL                                                                                   
FubuMVC.Core                                      1.0.1.1410      file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.Core.DLL                                                                                          
FubuMVC.Core.UI                                   1.0.1.0         file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.Core.UI.DLL                                                                                       
FubuMVC.Core.View                                 1.0.0.383       file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.Core.View.DLL                                                                                     
FubuMVC.Diagnostics                               0.9.6.0         file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.Diagnostics.DLL                                                                                   
FubuMVC.JQueryUI                                  0.5.0.0         file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.JQueryUI.DLL                                                                                      
FubuMVC.Media                                     1.0.0.0         file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.Media.DLL                                                                                         
FubuMVC.Navigation                                0.9.0.0         file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.Navigation.DLL                                                                                    
FubuMVC.SlickGrid                                 0.0.0.0         file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.SlickGrid.DLL                                                                                     
FubuMVC.Spark                                     1.0.0.383       file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.Spark.DLL                                                                                         
FubuMVC.StructureMap                              1.0.1.1410      file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.StructureMap.DLL    
FubuMVC.TwitterBootstrap                          0.0.0.0         file:///D:/Websites/services.reachmail.net/wwwroot/bin/FubuMVC.TwitterBootstrap.DLL                                                                              

Jeremy D. Miller

unread,
Apr 30, 2013, 4:52:34 PM4/30/13
to fubumv...@googlegroups.com
This happens when the web app is restarting, or at runtime?

- Jeremy



--
You received this message because you are subscribed to the Google Groups "FubuMVC Development Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fubumvc-deve...@googlegroups.com.
To post to this group, send email to fubumv...@googlegroups.com.
Visit this group at http://groups.google.com/group/fubumvc-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ryan Rauh

unread,
Apr 30, 2013, 4:55:34 PM4/30/13
to FubuMVC Development Group
> Is there a way to configure it so that if an asset is missing it doesn't kill the entire site, maybe just log a warning instead?

Mike O'Brien

unread,
Apr 30, 2013, 4:58:11 PM4/30/13
to fubumv...@googlegroups.com
From the logs it looks like the app is starting. Here is the full log, sorry: https://gist.github.com/mikeobrien/5600bb985bd3e417c266

Mike O'Brien

unread,
Apr 30, 2013, 4:59:03 PM4/30/13
to fubumv...@googlegroups.com
Interesting, I'll check it out, thx!

hcoverlambda

unread,
May 20, 2013, 1:50:58 PM5/20/13
to fubumv...@googlegroups.com
Just got back to looking into this again and ran across this setting:

AssetsExpression.YSOD_on_missing_assets(bool applyPolicy)


It looks like this will do it AFAICT, is that correct? Also where are assets configured now-a-days? I tried using Assets().* in my FubuRegistry ctor but it's no longer there, thought it was before but maybe that changed.

TIA,

m
- Jeremy




To unsubscribe from this group and stop receiving emails from it, send an email to fubumvc-devel+unsubscribe@googlegroups.com.

To post to this group, send email to fubumv...@googlegroups.com.
Visit this group at http://groups.google.com/group/fubumvc-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "FubuMVC Development Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fubumvc-devel+unsubscribe@googlegroups.com.

To post to this group, send email to fubumv...@googlegroups.com.
Visit this group at http://groups.google.com/group/fubumvc-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "FubuMVC Development Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fubumvc-devel+unsubscribe@googlegroups.com.

hcoverlambda

unread,
May 20, 2013, 1:52:34 PM5/20/13
to fubumv...@googlegroups.com
BTW, it appears that DFS was indeed the culprit. Excluded fubu-content from DFS and the problem has not come up since.

Ryan Rauh

unread,
May 20, 2013, 2:47:05 PM5/20/13
to FubuMVC Development Group
 I tried using Assets().*

It's got moved to an Extension method try, `this.Assets()`


To unsubscribe from this group and stop receiving emails from it, send an email to fubumvc-deve...@googlegroups.com.

Mike O'Brien

unread,
May 20, 2013, 2:53:57 PM5/20/13
to fubumv...@googlegroups.com
Aha, thanks Ryan!
Reply all
Reply to author
Forward
0 new messages