另一台服务器上的asp.net Web应用程序部署

时间:2015-03-06 04:33:32

标签: c# asp.net asp.net-web-api

我想在另一台服务器IIS上部署我的ASP.Net Web应用程序。

我已经在服务器上部署它,但是当我运行那个给出错误的应用程序时:

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 'PhurtiCRM.AutoScript'.

Source Error: 
Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AutoScript.aspx.cs" Inherits="PhurtiCRM.AutoScript" %>
Line 2:  
Line 3:  <!DOCTYPE html>

我的C#代码:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AutoScript.BO;
using AutoScript.BLL;

namespace PhurtiCRM
{
    public partial class AutoScript : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}

0 个答案:

没有答案