J
Jim Butler
I started to struggle with this recently. We have already crossed the
inheritance issue with root web's/assemblies and so on from the web.config
(ie we are using the remove assembly attribute in sub webs). Anyway, we
have upgraded our main root site to .net 2.0. We have a few other apps
under the root that are 1.1 and started reporting this 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: Unrecognized configuration section 'xhtmlConformance'
So the 1.1 engine has no clue what that tag means and craps out. I found a
few posts that stated this was by design (which is a huge problem for us)
here is the link:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=102118
I think i have found a workaround based on information/trial and error but
need to know if there are any side effects that would possibly be a problem.
I took the problem tag <xhtmlConformance mode="Legacy"/> out of the root
web site web.config and added it to the web.config under the server
%windows%\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config
We don't/can't imagine a situation where we would need to set this by web
site ( the tag value ). So, my question is, is this ok, does it pose any
problems, risks? It seems to me that this is fine. I find it hard to
believe that its ok based on the above post from ms and they stated
basically by design, no workarounds other than changing the url.
inheritance issue with root web's/assemblies and so on from the web.config
(ie we are using the remove assembly attribute in sub webs). Anyway, we
have upgraded our main root site to .net 2.0. We have a few other apps
under the root that are 1.1 and started reporting this 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: Unrecognized configuration section 'xhtmlConformance'
So the 1.1 engine has no clue what that tag means and craps out. I found a
few posts that stated this was by design (which is a huge problem for us)
here is the link:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=102118
I think i have found a workaround based on information/trial and error but
need to know if there are any side effects that would possibly be a problem.
I took the problem tag <xhtmlConformance mode="Legacy"/> out of the root
web site web.config and added it to the web.config under the server
%windows%\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config
We don't/can't imagine a situation where we would need to set this by web
site ( the tag value ). So, my question is, is this ok, does it pose any
problems, risks? It seems to me that this is fine. I find it hard to
believe that its ok based on the above post from ms and they stated
basically by design, no workarounds other than changing the url.