G
Guest
I am trying to deploy two copies of an application to a single website using
two virtual directories: "2007" (Production) and "Demo". Each of these
applications should point at a different DB, so my thought was to leave
everything the same, make two copies of the application files, and just edit
the Web.Config file in each copy of the application appropriately.
When I try to bring up the Demo site however, I get the following error.
"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 entry 'ConnString1' has already been added."
I have tripple checked the Conn string, and it is correct. Moreover, I've
even tried editing and testing the Web.Config for "Demo" in VS2005 before
redeploying the app with the same results.
Two notes that may be relevant:
1. I "precompiled" the code for both copies of the application before
deploying it to the web server
2. I had previously deployed a copy of the application to the root of the
website I'm deploying to. I have since made sure that the Home Directory of
the website is Empty before creating the virtual directories for each copy of
the application, and I've stopped and restarted the site after doing this.
Still no resolution.
Any help on this is greatly appreciated.
Thanks,
Chris Frohlich
two virtual directories: "2007" (Production) and "Demo". Each of these
applications should point at a different DB, so my thought was to leave
everything the same, make two copies of the application files, and just edit
the Web.Config file in each copy of the application appropriately.
When I try to bring up the Demo site however, I get the following error.
"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 entry 'ConnString1' has already been added."
I have tripple checked the Conn string, and it is correct. Moreover, I've
even tried editing and testing the Web.Config for "Demo" in VS2005 before
redeploying the app with the same results.
Two notes that may be relevant:
1. I "precompiled" the code for both copies of the application before
deploying it to the web server
2. I had previously deployed a copy of the application to the root of the
website I'm deploying to. I have since made sure that the Home Directory of
the website is Empty before creating the virtual directories for each copy of
the application, and I've stopped and restarted the site after doing this.
Still no resolution.
Any help on this is greatly appreciated.
Thanks,
Chris Frohlich