Error message:
Parser error message: Failed to load type ' H3C. RD. VDP. Web.login ".
SOURCE Error:
Line 1: <%@ page language= "C #" autoeventwireup= "true" codebehind= "Login.aspx.cs" inherits= "H3C. RD. VDP. Web.login "%>
Problem Scenario:
This error message occurs when the WebForm project is configured directly in IIS to access a page (for example, Login.aspx) on a Web site. The types and files in the project are present, and the project is compiled, but the error is always reported in the access.
Solution:
First create a folder on disk (for example: D:\pub\webroot),
The WebForm project to be published in the right-click solution in VS
Click Publish (Publish) to point the physical path of the project's publication to the folder you just created.
After you configure the Web site in IIS, the physical path to the Web site also points to the folder that you just created.
Parser error message: Failed to load type ' H3C. RD. VDP. Web.login "