Depressed for half an hour
Error 1 failed to load the type "system. Web. Extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35" from the assembly "system. Web. UI. Compatibility. comparevalidator ". (F: \ vs2005 + C #2.0 \ ajaxtest \ WEB. config line 22) F: \ vs2005 + C #2.0 \ ajaxtest \ default. aspx 10
Solution:
Delete the following section in the configuration file.
<Tagmapping>
<Add tagtype = "system. web. UI. webcontrols. comparevalidator "mappedtagtype =" system. web. UI. compatibility. comparevalidator, system. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
<Add tagtype = "system. web. UI. webcontrols. customvalidator "mappedtagtype =" system. web. UI. compatibility. customvalidator, system. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
<Add tagtype = "system. web. UI. webcontrols. rangevalidator "mappedtagtype =" system. web. UI. compatibility. rangevalidator, system. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
<Add tagtype = "system. web. UI. webcontrols. regularexpressionvalidator "mappedtagtype =" system. web. UI. compatibility. regularexpressionvalidator, system. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
<Add tagtype = "system. web. UI. webcontrols. requiredfieldvalidator "mappedtagtype =" system. web. UI. compatibility. requiredfieldvalidator, system. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
<Add tagtype = "system. web. UI. webcontrols. validationsummary "mappedtagtype =" system. web. UI. compatibility. validationsummary, system. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
</Tagmapping>
This article comes to: http://user.qzone.qq.com/80110913/
Please indicate the source for reprinting. Thank you.