Server Error in '/' Application.
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: The
'CodeFile' attribute is not supported by the 'page' directive.
Source
Error:
Line 1: <%@ Page language="c#" Inherits="koch.pr.pr_news" CodeFile="pr_news.aspx.cs" %>
Line 2: <html>
Line 3: <head> |
Source
File: F:\HOME\hi\www\pr\pr_news.aspx Line: 1
Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET Version:1.1.4322.2300
틀린데는 없는거 같은데..
<%@ Page language="c#" Inherits="koch.pr.pr_news"
CodeFile="pr_news.aspx.cs" %>
<html>
<head>
<title>▒▒▒▒▒ KOCH ▒▒▒▒▒</title>
<meta name="GENERATOR" Content="Microsoft
Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
<script language="JavaScript" src="flash_link.js"></script>
<style type="text/css">
@font-face {font-family:;}
body,td,select,input,div,form,textarea,center,option,pre,blockquote {font-size:9pt;font-family:;color:#444444;line-height:150%}
a:link {color:444444;text-decoration:none}
a:visited {color:999999;text-decoration:none}
a:active {color:ff0000;text-decoration:none}
a:hover {color:CD54A2;text-decoration:none}
</style>
</head>
...........................
aspx 는 이렇게 되어 있구요 CS 파일 소스는 이렇게 되어 있어요..
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Text;
using System.Data.SqlClient;
using System.Configuration;
namespace koch.pr
{
/// <summary>
/// pr_news에 대한 요약 설명입니다.
/// </summary>
public partial class pr_news : System.Web.UI.Page