试了,还是一样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 'WTZX.zixun'.Source Error: Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="zixun.aspx.cs" Inherits="WTZX.zixun" %> 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: /wtzx/zixun.aspx Line: 1
亲,不是权限的问题,我创建了一个1.txt能打开,但是我浏览xx.aspx文件就会 Server Error in '/' Application. --------------------------------------------------------------------------------The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
http://www.cnblogs.com/insus/articles/1428863.html
我的项目是放在D:/net/wtzx/wtzx
现在又是这个错误了 Server Error in '/' Application.
可远程否,远程桌面 -> 你在IIS里面右键打开页面最直接看到!
我在IIS里面直接右键浏览,就显示您无权查看该网页
您可能没有权限用您提供的凭据查看此目录或网页。
HTTP 错误 403 - 禁止访问
Internet Explorer
【net3.5 sp1下载】
Server Error in '/' Application.除了版本以外,还有权限问题,你的网站权限里面添加aspnet、IIS_WPG账户
一般创建站点的过程:
1.在我的电脑-管理-本地用户和组,添加一个匿名账户(不允许修改密码)
2.创建一个站点,权限里面加入你刚刚添加的这个匿名账户(没有继承aspnet、IIS_WPG,就自己手动添加)
3.右键IIS站点-属性-目录安全性-身份证和访问控制,输入你刚刚创建的匿名账号密码
别整个everyone
版本:Windows Server 2003
已经有一个用户了Users
试了,还是一样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 'WTZX.zixun'.Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="zixun.aspx.cs" Inherits="WTZX.zixun" %>
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: /wtzx/zixun.aspx Line: 1
2.身份验证权限 匿名和forms 确认下 目录浏览页打开
3.确认服务器上framework版本与开发环境是否一致
2.身份验证权限 匿名和forms 确认下 目录浏览页打开
3.确认服务器上framework版本与开发环境是否一致
部署到IIS的网站,能否运行,最简单直接的方式就是在根目录创建一个.txt格式的文本,你输入域名打开它
如:www.abc.com/1.txt,这都打不开,你就是账户权限问题他是在远程服务器,IIS那里打开站点打开页面都不行。我就怀疑是权限问题。
亲,不是权限的问题,我创建了一个1.txt能打开,但是我浏览xx.aspx文件就会
Server Error in '/' Application.
--------------------------------------------------------------------------------The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.