Click here to Skip to main content
15,894,170 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!
i am creating asp.net application. when i run my application it gives me the following error.

XML
Config Source:
   20:   </system.web>
   21:   <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
   22:     <providers>



and this is my web.config code
XML
<roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
    <providers>
      <clear/>
      <add name="LMSEntities" connectionString="metadata=res://*/App_Code.lms.csdl|res://*/App_Code.lms.ssdl|res://*/App_Code.lms.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=(local);initial catalog=LMS;persist security info=True;user id=pcfa;password=PCFA;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
       </providers>
  </roleManager>


please tell me what wrong in the code
thanks in advance
Posted
Comments
♥…ЯҠ…♥ 3-Jan-14 6:01am    
Do you see any squiggly red line in your config file? Is so then that could be the problem.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900