相关疑难解决方法(0)

Http错误503服务不可用

我一般都很擅长设置Web服务器.我在Windows 8上安装了IIS 8,我正在尝试在本地设置一个小站点,同时进行一些开发.在IIS中,我选择添加站点,给出一个名称,指向我有一个index.html文件的位置(我尝试了不同的位置,最新的c:\ inetpub\wwwroot\test -folder),否则使用所有默认值设置.但是,当我尝试浏览localhost时,我得到了

http错误503服务不可用.

我已验证池已启动,并且我已在目标文件夹上提供IIS_IUSRS完全控制

我一直在搜索,但没有找到解决我问题的任何内容,而且在EventLog或C:\ Windows\System32\LogFiles\HTTPERR文件夹中没有任何帮助

谁能告诉我什么是错的?

asp.net iis http-error

374
推荐指数
20
解决办法
79万
查看次数

由于权限不足,无法读取配置文件

我最近在尝试使用IIS托管我的asp.net网站时遇到了错误.我找到了许多人发誓的解决方案.

解:

  1. 添加具有读取权限的IIS_IUSRS对文件夹中的文件
  2. 将IIS身份验证方法更改为BasicAuthentication
  3. 刷新网站.它会工作

(http://vivekthangaswamy.blogspot.com/2009/07/aspnet-website-cannot-read.html)

虽然我可以添加到我的web.config文件中?我以前从未编辑过它.这是它目前的内容:

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
    <connectionStrings>
  <add name="DefaultConnection" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True"
   providerName="System.Data.SqlClient" />
 </connectionStrings>
 <system.web>
  <compilation debug="true" strict="false" explicit="true" targetFramework="4.0"/>
    </system.web>
</configuration>
Run Code Online (Sandbox Code Playgroud)

我的错误是:

配置错误:由于权限不足,无法读取配置文件
配置文件:\?\ C:\ Users*****\Documents\Visual Studio2010\WebSites\PointsForTime\web.config

asp.net iis-7 file-permissions

329
推荐指数
11
解决办法
52万
查看次数

标签 统计

asp.net ×2

file-permissions ×1

http-error ×1

iis ×1

iis-7 ×1