Parser Error Could Not load Type (HELP ME)
-
The following is the error i keep getting: ------------------------------------------------------- Parser Error 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 'upload'. Source Error: Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %> Line 2: Line 3: Source File: d:\webs\omixad\upload.aspx Line: 1 --------------------------------------------------------- I have a simple upload.aspx file that has a fileupload object on it and actually uploads files to the server. ---------------------------------------------------------------------------------------------- <code><%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %> <script> Untitled Page
------------------------------------------------------------------------------------------- The code behind file is upload.aspx.cs -----------------------------------------------------------------------
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class upload : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void UploadBtn_Click(object sender, EventArgs e) { if (FileUpload1.HasFile) { //FileUpload1.SaveAs(@"C:\temp\" + FileUpload1.FileName);
-
The following is the error i keep getting: ------------------------------------------------------- Parser Error 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 'upload'. Source Error: Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %> Line 2: Line 3: Source File: d:\webs\omixad\upload.aspx Line: 1 --------------------------------------------------------- I have a simple upload.aspx file that has a fileupload object on it and actually uploads files to the server. ---------------------------------------------------------------------------------------------- <code><%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %> <script> Untitled Page
------------------------------------------------------------------------------------------- The code behind file is upload.aspx.cs -----------------------------------------------------------------------
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class upload : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void UploadBtn_Click(object sender, EventArgs e) { if (FileUpload1.HasFile) { //FileUpload1.SaveAs(@"C:\temp\" + FileUpload1.FileName);
The bin folder is located in the root folder of the application, e.g. /bin. If the root folder is at d:\webs\omixad then the bin folder is d:\webs\omixad\bin. Upload the dll files from the folder to a bin folder on the server located in the web root. --- b { font-weight: normal; }
-
The bin folder is located in the root folder of the application, e.g. /bin. If the root folder is at d:\webs\omixad then the bin folder is d:\webs\omixad\bin. Upload the dll files from the folder to a bin folder on the server located in the web root. --- b { font-weight: normal; }
again... there is no folder called bin in root folder of the application. I do not have a folder called bin and there are no .dll files. Someone help!
-
The following is the error i keep getting: ------------------------------------------------------- Parser Error 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 'upload'. Source Error: Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %> Line 2: Line 3: Source File: d:\webs\omixad\upload.aspx Line: 1 --------------------------------------------------------- I have a simple upload.aspx file that has a fileupload object on it and actually uploads files to the server. ---------------------------------------------------------------------------------------------- <code><%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %> <script> Untitled Page
------------------------------------------------------------------------------------------- The code behind file is upload.aspx.cs -----------------------------------------------------------------------
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class upload : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void UploadBtn_Click(object sender, EventArgs e) { if (FileUpload1.HasFile) { //FileUpload1.SaveAs(@"C:\temp\" + FileUpload1.FileName);
-