There are multiple root elements. Line 9, position 6.

Topics: ASP.NET 2.0
Feb 28, 2008 at 8:38 AM
Yesterday I download and run Blogengine. This great .net blogengine, i Love it. But ...This morning when i visit my site, there is an error " there are multiple root elements. Line 9, position 6" . This site appear after i set customErrors mode="Off". Before i set customErrors mode there are problem with web.config.
There are multiple root elements. Line 9, position 6. point to " <add name="XmlRoleProvider" type="BlogEngine.Core.Providers.XmlRoleProvider, BlogEngine.Core" description="XML role provider" xmlFileName="~/App_Data/role.xml"/>" . So i delete rolemanager , and my site work, but i can't login couse i delete RoleProvider. Then i write again rolemanager , and my site error again, so i set trust level to medium and my site still error. Then I set trust level to High. And i visit my site, what happen my site work again. This problem not appear in localhost. May be someone can explain what happen with my site?
Thanks