몇 시간 동안이 오류를 해결하기 위해 노력했지만 성공하지 못했던 모든 노력을 다했습니다. 나는 C#에 대해 정말 새롭다. 누군가가이 오류를 해결하기 시작할 수있는 방법을 찾도록 도와 줄 수 있는지 궁금합니다.'유형을로드 할 수 없습니다.'오류를 해결했습니다.
오류 메시지 :
Could not load type 'Inventory1.Global'. W:\admin.fctl.ucf.edu\inventory\Global.asax 1
Global.asax에 내용 :
<%@ Application Codebehind="Global.asax.cs" Inherits="Inventory1.Global" Language="C#"%>
Global.asax.cs 내용 :
using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
namespace Inventory1
{
/// <summary>
/// Summary description for Global.
/// </summary>
public class Global : System.Web.HttpApplication
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
public Global()
{
InitializeComponent();
}
protected void Application_Start(Object sender, EventArgs e)
{
}
protected void Session_Start(Object sender, EventArgs e)
{
}
protected void Application_BeginRequest(Object sender, EventArgs e)
{
}
protected void Application_EndRequest(Object sender, EventArgs e)
{
}
protected void Application_AuthenticateRequest(Object sender, EventArgs e)
{
}
protected void Application_Error(Object sender, EventArgs e)
{
}
protected void Session_End(Object sender, EventArgs e)
{
}
protected void Application_End(Object sender, EventArgs e)
{
}
#region Web Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
}
#endregion
}
}
MiGusta는 원격 서버 또는 로컬 컴퓨터에서 수정하려고하는이 코드입니다. 또한이 컴퓨터에서 실행 중이거나 디버깅하려는 'W : \'드라이브가 있습니다. 코드를 디버깅 해 봤어? 아니면 코드를 작성하고 시나리오 유형을 실행 중입니까? – MethodMan
원격 서버. 디버깅 중입니다. 내가 뭘 하려는지 Visual Studio에서'재고'프로젝트를 다시 작성하고 오래된 응용 프로그램이 며칠 동안 내려 왔기 때문에 새로운. dll 파일을 만듭니다. 그래서 재 작성하기 위해이 코드를 디버깅해야합니다. 지금 당장이 코드를 작성하려고합니다. 위의 오류는 제가 얻은 유일한 오류입니다. – AnchovyLegend
그렇다면 디버깅을 시도하는 동안 로컬 컴퓨터에서 실행되는 위치는 어디입니까? – CodingGorilla