标 题:发布网站-Server2008-问题及解决方法
环 境:windows server 2008
背 景: 在部署新服务器时,遇到的主要问题,总结下。IP=10.169.155.67。
参 考:http://www.cnblogs.com/wangn/p/3579932.html
编 者: 张永辉 2014年9月2日
-------------------------------------------------------------------------------------------------------
问题一: 按正常流程发布后,不能访问该网站。
原因:在创建时没有指定用户名和密码
解决:新建网站 > 输入网站名字和物理路径 > 点击TestSetings 发现有一个告警,返回点击connect as..
> 选择Specific user > set(关键) > 输入用户名和密码 > 点击OK。 > 指定端口 > 其他步骤省略。
问题二: 访问某个资源时出现如下错误页面:
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. ...
Details: To enable the details of this specific error message ...
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
原因:工作目录没有Modfiy权限,在访问里面的资源时出错。
解决:加权限 工作目录右键 > 选项卡Security > Users > Edit > 选上Modfiy权限 > 返回。