Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a website running which is using and iis 7.

I made some changes to the website and I wanted to do some testing using the same url but in a sub directory like /private/test

So in IIS I set up a virtual directory inside the main application pointing to the code with the changes. Then I converted it to an application.

But I get iis errors like

"the entry in web.config testDataconnection has already been added."

How would I fix this so I could get this running? main application is here test application is here -this is just a clone of the original with a few modifications

share|improve this question
up vote 3 down vote accepted

In your configuration file after the <providers> and before the first <add....> node add a node. that will fix it.

For more information

share|improve this answer
Thanks, the test website is now running – shad Dec 5 '11 at 13:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.