Click here to Skip to main content
16,017,608 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
After typing username and password when i am clicking Login button the below error shows.pls provide me a good solution for connecting database or tell me how to connect.or give sample loginpage with database file.


Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The configuration section cannot contain a CDATA or text element.

Source Error:


Line 26:
Line 27: <connectionStrings>
Line 28: <add name="sqlconnection" connectionString="Data Source=VANARAJ\SQLEXPRESS;Initial Catalog=Practice; Integrated Security=True" providerName="System.Data.SqlClient"/>
Line 29:
Line 30: </connectionStrings>

Source File: D:\Practice\Prac\loan\web.config Line: 28
Posted

1 solution

I strongly recommend you to go through http://www.connectionstrings.com/[^]

And before proceeding further,i also suggest you to go through some beginner's Article. The reason is i personally felt(from your questions i came across) that you should have some basics cleared first.

Regards..
 
Share this answer
 

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



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