首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

使用web deploy 编译后部署报错“Could not load type 'Default'”,什么原因,怎么解决

2013-07-08 
使用web deploy 编译后部署报错“Could not load type '_Default'”,什么原因,如何解决?Server Er

使用web deploy 编译后部署报错“Could not load type '_Default'”,什么原因,如何解决?
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: Could not load type '_Default' from assembly 'schoolnet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

Source Error: 

Line 1:  <%@ page language="VB" autoeventwireup="false" inherits="_Default, schoolnet" %>
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:  /index.aspx    Line:  1
[解决办法]
虚拟目录 右键->属性->ASP.NET
看看版本

热点排行