zoukankan      html  css  js  c++  java
  • asp.net 错误提示:Could not load type 'SendEmail.WebPage'

    写的asp.net 在我的机器上跑没问题,我把bin文件夹和WebPage.aspx以及web.conig拷贝到服务器上之后,访问这个webpage页面,就出现不能加载那个错误

    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 'SendEmail.WebPage'.

    Source Error: 


    Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebPage.aspx.cs" Inherits="SendEmail.WebPage" %>
    Line 2:  
    Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     

    Source File: /windren/email/WebPage.aspx    Line: 1 
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

    原因:

    我今天碰到了你两年前的问题我对它死磕了两个小时,
    才发现原因
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebPage.aspx.cs" Inherits="SendEmail.WebPage" %>
                                                                           这里不是CodeBehind="WebPage.aspx.cs" 
                                                                                  而是CodeFile="WebPage.aspx.cs"

    引用博客地址:

    http://bbs.csdn.net/topics/390148498

    http://blog.163.com/xiaokangzhijia@126/blog/static/165954856201171092619731/

  • 相关阅读:
    MySQL DROP 大表时的注意事项
    无主键指定字段补全的示例
    GoldenGate的监控
    mysql的root的权限被控制无法授权
    goldengate 过滤对某张表的复制操作
    给用户授予权限时应该尽量避免ANY系统权限
    OGG日常运维监控的自动化脚本模板
    异构GoldenGate 12c 双向复制配置
    异构GoldenGate 12c 单向复制配置(支持DDL复制)
    异构GoldenGate 12c 单向复制配置
  • 原文地址:https://www.cnblogs.com/38yundandan/p/4928844.html
Copyright © 2011-2022 走看看