I have a webform
asp.net project (with framework 4.5.1) and I'm trying to put it an a virtual directory in iis
(10) but i faced below error.
for details i should say, at first i went to iis
i added a website with Last_Edition name and then set physical path where my project located.(the last edition subfolder in the visual studio solution).
http Hostname: desktop-62c6tdv (MY machine name) and port:80
so what could be the problem?
I checked:
- Clean and rebuild everything
i tried using the automatic local iis connection that visual studio made for project and that works correctly(it means i can browse the webpages with http://localhost:1317/Default.aspx address that visual studio made for debug but i can't make same manualy)
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'Last_edition.Default'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Last_edition.Default" %> Line 2:
Line 3:Source File: /default.aspx Line: 1