查看: 1171|回复: 7
|
ASP.net 2.0 (问题解决了)
[复制链接]
|
|
我在 localhost 测试我做的网页没问题(ASP.Net 2.0 - web page + master page)
我有很多 pages 都是用 master page
不过当我上传至 web hosting company 的 web directories 后,
所有用 master page 的 web pages 都出现问题
说找不到 master page
这是否是 web hosting company 的问题?
还是在 coding 上要另加修改?
[ 本帖最后由 hooi1983 于 6-12-2006 10:53 PM 编辑 ] |
|
|
|
|
|
|
|
发表于 26-11-2006 12:20 AM
|
显示全部楼层
ASP.NET 2.0因为每次public时的dll名字就不一样,
所以每次你compile过后,
除了upload dll外,全部无论有动过或没动过的aspx等文件都要重新upload过 |
|
|
|
|
|
|
|

楼主 |
发表于 3-12-2006 01:43 AM
|
显示全部楼层
一定要 compile 吗?
如果不 compile 就不能走? |
|
|
|
|
|
|
|
发表于 3-12-2006 12:18 PM
|
显示全部楼层
没compile也可以走
你直接上载全部source文档也不能走? |
|
|
|
|
|
|
|

楼主 |
发表于 3-12-2006 01:04 PM
|
显示全部楼层
Error message 说找不到 master page
Parser Error Message: The file 'MasterPage.master' does not exist. |
|
|
|
|
|
|
|

楼主 |
发表于 6-12-2006 07:31 AM
|
显示全部楼层
我试了无数次,还是有问题,请求各位大大打救
当我 compliled 我的 ASP.net 2.0 的 project,然后 Upload 去我的 web server
就出这个 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 the assembly 'App_Web_fcnyqoix'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ page language="VB" autoeventwireup="false" inherits="_Default, App_Web_fcnyqoix" %>
Line 2: <%@ Register Src="~/Controls/Header.ascx" TagName="MainHeader" TagPrefix="EC25" %>
Line 3: <%@ Register Src="~/Controls/MainMenu.ascx" TagName="MainMenu" TagPrefix="EC25" %>
Source File: /ec25/default.aspx Line: 1
当我没 compiled 就直接 upload 上去就出这个 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 file '/Controls/Header.ascx' does not exist.
Source Error:
Line 1: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
Line 2: <%@ Register Src="~/Controls/Header.ascx" TagName="MainHeader" TagPrefix="EC25" %>
Line 3: <%@ Register Src="~/Controls/MainMenu.ascx" TagName="MainMenu" TagPrefix="EC25" %>
Line 4: <%@ Register Src="~/Controls/SiteMap.ascx" TagName="SiteMap" TagPrefix="EC25" %>
Source File: /ec25_nocompiled/default.aspx Line: 2
当我用 Master Page 就出这个 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 file '/GIOMaster.master' does not exist.
Source Error:
Line 1: <%@ Page Language="VB" MasterPageFile="~/GIOMaster.master" AutoEventWireup="false" CodeFile="GIOMainPage.aspx.vb" Inherits="GIOMainPage" title="GIO Ö÷Ò³" %>
Line 2: <asp ontent ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
Line 3: <div id="Banner1">
Source File: /gio/giomainpage.aspx Line: 1
到底是什么原因呢?
是我的问题还是 web server 的问题?
试了几天还是不能,不懂什么原因
请各位大大可解答我的问题
谢谢 |
|
|
|
|
|
|
|
发表于 8-12-2006 01:29 AM
|
显示全部楼层
|
|
|
|
|
|
|

楼主 |
发表于 8-12-2006 02:51 AM
|
显示全部楼层
原帖由 Ty18 于 8-12-2006 01:29 AM 发表
可以说下是 semok error 造成的吗??
没有 create Virtual Directory |
|
|
|
|
|
|
| |
本周最热论坛帖子
|