.NET 4x upgrade troubleshooting notes
CAPMS
upgrade from .NET 4.0 to 4.7.2:
after upgrading AJAX Control Toolkit from 4x to 7 the error message below was displayed on clicking Ènglish or French buttons the message below was displayed.
Solved by temporarily changing the id (html1) to HTML1, and back again:
StepsChanged Line 4: <html id="Html1" runat="server">
to Line 4: <html id="HTML1" runat="server">
Selected “clean” and “rebuild.
then changed line 4 back to the original
Line 4: <html id="Html1" runat="server">
Server Error in '/' Application. Parser Error Message: The base class includes the field 'Html1', but its type (System.Web.UI.HtmlControls.HtmlGenericControl) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlElement). Source Error: Line 2: Source File: /Site.Master Line: 4 Version Information: Microsoft .NET Framework Version:4.0.30319; http://ASP.NET Version:4.8.9282.0 |
---|
BC30002 Type 'Global.AjaxControlToolkit.ToolkitScriptManager' is not defined
This error was reported for 19 designer files when I upgraded AjaxControlToolkit to the latest version (20.x)
the ToolkitScriptManager was removed from AjaxControlToolkit in about v. 15 as it is replaced by the standard asp.net script manager.
We cannot edit the designer files because they are “generated”
See (Draft) Upgrading old versions of AjaxControlToolkit - BSD - Civil Aviation - Confluence