I have a website created using the web version of VS2012,
Launching the VB.net asp website,
In VS2012 debug / release mode, it compiles and everything works well. When I upload it to the server (Windows Server 2008 R2), I get the following error:
The base class includes the field 'html', but its type (System.Web.UI.HtmlControls.HtmlElement) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlGenericControl). Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Line 4: <html id="html" xmlns="http://www.w3.org/1999/xhtml" dir="ltr" runat="server"> Line 5: <head id="Head1" runat="server"> Line 6: <title></title>
I looked a bit on the Internet and found this: VS 2010: A value like 'System.Web.UI.HtmlControls.HtmlGenericControl' cannot be converted to 'System.Web.UI.HtmlControls.HtmlTableRow'
Installed it, but without help,
The site I created was re-created from another vb.net project, so I used web.config from the old one, maybe it has something to do with it, I don’t have any “assembly” properties of this XML.
Other pages that are not related to this main page (this html tag is launched on the main page ...) work fine.
source share