Tuesday, March 24, 2009

The entry ConnectionString has already been added.

put <clear/> before <add , like following:
 
<
connectionStrings>

<

clear />

<

add name="ConnectionString" connectionString="Data Source=SERVERNAME;Initial Catalog=DATABASE;User ID=USER" providerName="System.Data.SqlClient"/>

14 comments:

Unknown said...

thanks. that really helped. never saw this error before and was wondering how to fix it. thanks for your help.

Niraj Pandey said...

thank's.....to help it' very useful.

Niraj Pandey said...

again thank's........!!!!!

Niraj Pandey said...

again thank's........!!!!!

sandeep said...

Thanks a lot...

Dilip Nikam said...

Thanks... My Problem is Resolved

Hiren said...

thanks you so much

Akhilesh Yadav said...

its great solution,since one year i never saw this error and this is solved in first attempt .using your code

Anonymous said...

Thanks yar it works.
Really big thanks!!!!1

The IT Enthusiast said...

U r xllent, u saved my time :)

kaisernayan said...

OH! Thanks a lot. Really helps me a lot.

Unknown said...

thank you for the help!!

Unknown said...

I had written before add but next time another connection string enters in text box same error exist. Could you help me pls

Unknown said...

Its urgent