我最近遇到了一个错误,试图把我的 as子网站同国际电算系统连接起来。 我找到了许多人穿戴的解决办法。
解决办法:
- Add IIS_IUSRS with Read permission on files in the folder
- Change IIS authentication method to BasicAuthentication
- refresh the website. It will work
(http://vivekthangaswamy.blogspot.com/2009/07/aspnet-website-cannot-read.html)
我在我的网站上增添了什么内容。 混淆文件。 我以前从未听过。 本文目前的内容是:
<?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>
我的错误是:
Config Error: Cannot read configuration file due to insufficient permissions
Config File: ?C:Users*****DocumentsVisual Studio2010WebSitesPointsForTimeweb.config