Link to home
Start Free TrialLog in
Avatar of Daeta42
Daeta42Flag for United States of America

asked on

how do I know what web.config file is being used

Greetings-
     I inherited a mess.  I have a broken website and I am looking at it in IIS7.  I cannot tell what web.config file is being used.  There are 15 of them in the directory.  I just don't know where to look.  Any direction would be great!

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Khalid Mehmood Awan
Khalid Mehmood Awan
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
there will be only one file with the name as web.config and rest all can be gracefully ignored
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Daeta42

ASKER

Thank you all for the replies...  I learned so much.  I guess I should qualify my question.  How do I find out where it tells the site to use web2.config.  I found that the system is using that one via khalidmehmoodawan suggestion of renaming the files.  It was a tedious process and there has to be a way to tell the site to use that specific file.  I just dont know where.

Cheers!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Daeta42

ASKER

Thank you all for the direction.  I learned a lot of things I didn't know before.  I was able to fix my issues and press forward.

Cheers!

~~Daeta