cms icon indicating copy to clipboard operation
cms copied to clipboard

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

Open Joozo opened this issue 1 year ago • 1 comments

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)

Joozo avatar Jul 20 '23 06:07 Joozo

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

starlying avatar Jul 21 '23 00:07 starlying