Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a website running which is using asp.net 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?

abc123.com main asp.net application is here

abc123.com/private/test test application is here -this is just a clone of the original with a few modifications

share|improve this question

1 Answer 1

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

 
discard

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.