The inclusions for the Web Application |0 could not be automatically restored while attaching the content database |1. To ...

The inclusions for the Web Application |0 could not be automatically restored while attaching the content database |1.  To ensure that all sites in this database are available, check the managed paths for this Web Application.  If any changes to these settings are made, you may need to detach and reattach the database.