C
cmay
I have an asp.net application at the root, and other applications
suchs as /WebApp1, /WebApp2.
By design, these web applications inherit the root application's
web.config file.
But, when you create a Web Reference, to a webservice, it creates a
section in your web.config file "My.MySettings" to hold the URL of the
webservice.
If your root application uses a webservice, and if one of your other
applications uses one, then asp.net has problems because both
web.config files try to define a My.MySettings section in the
web.config files.
This is not limited to webservices, this section is created if you try
to make use of the settings tab of the project.
Does anyone know of of anything that can be done about this?
If I am unclear I can post examples or more details.
suchs as /WebApp1, /WebApp2.
By design, these web applications inherit the root application's
web.config file.
But, when you create a Web Reference, to a webservice, it creates a
section in your web.config file "My.MySettings" to hold the URL of the
webservice.
If your root application uses a webservice, and if one of your other
applications uses one, then asp.net has problems because both
web.config files try to define a My.MySettings section in the
web.config files.
This is not limited to webservices, this section is created if you try
to make use of the settings tab of the project.
Does anyone know of of anything that can be done about this?
If I am unclear I can post examples or more details.