M
Mori
Using VS.NET 2003, I'm trying to run an aspx file with this code:
<!-- GuidedPracticeExercise1_3.aspx -->
<%@ Page Language="C#"
CodeBehind="GuidedPracticeExercise1_3.aspx.cs"
AutoEventWireup="false"
Inherits="_315C01.GuidedPracticeExercise1_3"%>
<html>
<body>
</body>
</html>
Now I take it that "GuidedPracticeExercise1_3.aspx.cs" is the codebehind
file. I have put some code in the Page_Load() method to display something in
the "GuidedPracticeExercise1_3.aspx" page. I have compiled the code behind
file with this:
csc /t:library /out:bin\GuidedPracticeExercise1_3.dll
GuidedPracticeExercise1_3.aspx.cs
But running the page (without debugging) I get this error:
Parser Error Message: Could not load type
'_315C01.GuidedPracticeExercise1_3'.
Source Error:
Line 1: <!-- GuidedPracticeExercise1_3.aspx -->
Line 2: <%@ Page Language="C#"
Line 3: CodeBehind="GuidedPracticeExercise1_3.aspx.cs"AutoEventWireup="false"Line 4: Inherits="_315C01.GuidedPracticeExercise1_3"%>
Source File: c:\inetpub\wwwroot\315C01\GuidedPracticeExercise1_3.aspx
Line: 2
Can somebody pint me in the right direction please,
Thanks
Mori
<!-- GuidedPracticeExercise1_3.aspx -->
<%@ Page Language="C#"
CodeBehind="GuidedPracticeExercise1_3.aspx.cs"
AutoEventWireup="false"
Inherits="_315C01.GuidedPracticeExercise1_3"%>
<html>
<body>
</body>
</html>
Now I take it that "GuidedPracticeExercise1_3.aspx.cs" is the codebehind
file. I have put some code in the Page_Load() method to display something in
the "GuidedPracticeExercise1_3.aspx" page. I have compiled the code behind
file with this:
csc /t:library /out:bin\GuidedPracticeExercise1_3.dll
GuidedPracticeExercise1_3.aspx.cs
But running the page (without debugging) I get this error:
Parser Error Message: Could not load type
'_315C01.GuidedPracticeExercise1_3'.
Source Error:
Line 1: <!-- GuidedPracticeExercise1_3.aspx -->
Line 2: <%@ Page Language="C#"
Line 3: CodeBehind="GuidedPracticeExercise1_3.aspx.cs"AutoEventWireup="false"Line 4: Inherits="_315C01.GuidedPracticeExercise1_3"%>
Source File: c:\inetpub\wwwroot\315C01\GuidedPracticeExercise1_3.aspx
Line: 2
Can somebody pint me in the right direction please,
Thanks
Mori