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.
"Configurat ion 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 "precompile d" 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 4 3226
Chris-
Have you checked to see that both applications are:
1) Setup as applications and not just directories (assuming so from your
post),
2) Each of these are set to different application pools in IIS?
-dl
--
David Longnecker
Web Developer
Wichita Public Schools, USD 259
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.
"Configurat ion 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 "precompile d" 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
I will re-do the application pools in a second.
As for the directory/application thing, I see a gear icon. How else can I
verify, and what are the implications?
"David R. Longnecker" wrote:
Chris-
Have you checked to see that both applications are:
1) Setup as applications and not just directories (assuming so from your
post),
2) Each of these are set to different application pools in IIS?
-dl
--
David Longnecker
Web Developer
Wichita Public Schools, USD 259
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.
"Configurat ion 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 "precompile d" 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
The gear should be fine; if you go into the properties of the virtual directory,
on the Virtual Directory tab.
You'll see:
Application name:
Application pool:
I've honestly never attempted to run both with the same information, but
could see where the wires might cross. I'd recommend having different application
names and separate application pools... but I'm probably a bit more cautious
than most with separating memory for web apps.
Also, on perhaps a seperate note, if you're using a AppSettings key to store
your session token name, make sure that's different between the two as well.
I'll try it out and see if I can reproduce your error and post back.
-dl
--
David Longnecker
Web Developer
Wichita Public Schools, USD 259
I will re-do the application pools in a second.
As for the directory/application thing, I see a gear icon. How else
can I verify, and what are the implications?
"David R. Longnecker" wrote:
>Chris-
Have you checked to see that both applications are:
1) Setup as applications and not just directories (assuming so from your post), 2) Each of these are set to different application pools in IIS? -dl
-- David Longnecker Web Developer Wichita Public Schools, USD 259
>>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.
"Configuratio n 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 configurati on 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 "precompile d" 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
I tried with two ASP.NET 2.0 applications in the same application pool and
the same name and couldn't get anything to crash out. Scratch that idea...
heh.
Okay, back to basics.
1. You said the Demo site is failing... is the production site failing or
working successfully?
2. Have you stopped IIS, cleared out the Temporary ASP.NET Files (%SYSTEMROOT%\M icrosoft.Net\Fr amework\[version]\Temporary
Asp.Net Files)?
3. Does the version of .NET match on both sites? i.e.: If you're using 2.0.50727,
is it set to that for both sites?
Thanks!
-dl
--
David Longnecker
Web Developer
Wichita Public Schools, USD 259
The gear should be fine; if you go into the properties of the virtual
directory, on the Virtual Directory tab.
You'll see:
Application name:
Application pool:
I've honestly never attempted to run both with the same information,
but could see where the wires might cross. I'd recommend having
different application names and separate application pools... but I'm
probably a bit more cautious than most with separating memory for web
apps.
Also, on perhaps a seperate note, if you're using a AppSettings key to
store your session token name, make sure that's different between the
two as well.
I'll try it out and see if I can reproduce your error and post back.
-dl
--
David Longnecker
Web Developer
Wichita Public Schools, USD 259
>I will re-do the application pools in a second.
As for the directory/application thing, I see a gear icon. How else can I verify, and what are the implications?
"David R. Longnecker" wrote:
>>Chris-
Have you checked to see that both applications are:
1) Setup as applications and not just directories (assuming so from your post), 2) Each of these are set to different application pools in IIS? -dl -- David Longnecker Web Developer Wichita Public Schools, USD 259 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.
"Configurati on 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 "precompile d" 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jeff Robichaud |
last post by:
Hi, I would like to know if there exists a tool that one can use to test
some javascript code before actually running it ? Something that would check
the syntax at least ? I found that most mistakes that I make when coding in
javascript are syntax-related.
Here's a typical scenario: I use a function like getElementByID. Notice the
big D...In Internet Explorer I get the classic "object doesn't support this
property or method" message,...
|
by: Pritam Bhat |
last post by:
Hi,
I recently upgraded my XML parser and the ComInterop code that I had for
my webservice is throwing the following error. For ASP applications, we
created a wrapper class on this web service and expose that class for ASP COM
Interop.
Any suggestion?
Error dump
----------------------------------
|
by: Roman |
last post by:
I'm trying to create the form which would allow data entry
to the Client table, as well as modification and deletion
of existing data rows. For some reason the DataGrid part
of functionality stops working when I include data entry
fields to the form: I click on Delete or Edit inside of
DataGrid and get this error: "Error: Object doesn't
support this property or method"
If I remove data entry fields from the form - DataGrid
allows to...
|
by: D A H |
last post by:
I have gotten the same exception in multiple projects.
I have solved the underlying problem.
My question is if anyone knew of a setting that would cause this
exception to be thrown.
A codeveloper on the same project can get a copy of the project from
VSS and does not get this exception, ever. I do. We both have the
code that causes this exception to be thrown. We do NOT checkin our
|
by: pmud |
last post by:
Hi,
I am using a compare validator in asp.net application(c# code). This Custom
validator is used for comparing a value enterd by the user against the
primary key in the SQL database. IF the VALUE ENTERED BY THE USER EXISTS IN
THE DB , then THE ERROR MESSAGE OF THE COMPARE VALIDATOR SHOULD BE DISPLAYED.
For this, I used the reference artiicle
"http://msdn.microsoft.com/library/default.asp?url=/library/en-...
| |
by: Marc Gravell |
last post by:
In Linq, you can apparently get a meaningful body from and
expression's .ToString(); random question - does anybody know if linq
also includes a parser? It just seemed it might be a handy way to
write a safe but easy implementation (i.e. no codedom) for an
IBindingListView.Filter (by compiling to a Predicate<T>).
Anybody know if this is possible at all?
Marc
|
by: Carlos Sosa Albert |
last post by:
Hello people,
I'm having an issue registering an assembly in ONE server. I've already tried to reinstall the .NET framework 2.0 but the error is still there. I enabled the logging but nothing changed.
The only thing I noticed is that it mentions "Using host configuration file: \\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config". Seems pretty strange the "\\?\c:"
Oh, of course the file is in the .bin directory...
|
by: Just Another Victim of the Ambient Morality |
last post by:
Is pyparsing really a recursive descent parser? I ask this because
there are grammars it can't parse that my recursive descent parser would
parse, should I have written one. For instance:
from pyparsing import *
grammar = OneOrMore(Word(alphas)) + Literal('end')
grammar.parseString('First Second Third end')
|
by: ups_genius |
last post by:
Hi everyone!
I created an error parser using the existing CDT stuff by basically
copying some of the GNU / make / ... error parsers' code. I also added
the extension point for the new error parser, and by debugging I see,
that when activated, the new error parser is actually used to parse
the regular build output.
The reason for writing this error parser though was to parse the
output produced by a batch file, run as "external tool"....
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |