siteserver / cms

SS CMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
https://sscms.com
GNU Affero General Public License v3.0
3.65k stars 1.2k forks source link

Server Error in Application Access to the path 'D:\WEB\CorporateSite20200303\css\welink_style.css' is denied. #3646

Open Joozo opened 12 months ago

Joozo commented 12 months ago

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at SiteServer.Utils.FileUtils.WriteText(String filePath, Encoding encoding, String content) at SiteServer.BackgroundPages.Cms.PageTemplateAssetsAdd.Submit_OnClick(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

starlying commented 12 months ago

可以查查D:\WEB\CorporateSite20200303\文件夹的权限,看看IIS_IUSRS和NETWORK SERVICE这两个账户有没有在全部权限里面