0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ASP.NETのIIS パス '\\***\***\***.jpg' へのアクセスが拒否されました。

Posted at

An error occured while export output confirm to PDF.
パス '\***.jpg' へのアクセスが拒否されました。

ASP.NETのIISで、ディレクトリのアクセス拒否が発生した時のエラー

原因

  • アプリケーションが扱うフォルダに対してのアクセス権がない

対処法

  1. フォルダのアクセス権を付与する
  2. IISの認証にASP.NET偽装を設定する

フォルダのアクセス権を付与する

[プロパティ]->[セキュリティ]でアクセス権を確認後、必要に応じて編集する
windows_dir_security.jpg

ASP.NET 偽装

IIS 認証アカウントまたはユーザーを偽装する

<identity impersonate="true" />

ASP.NET アプリケーションのすべての要求に対して特定のユーザーを偽装する

<identity impersonate="true" userName="accountname" password="password" />

IISマネージャーの認証メニューからASP.NET偽装を設定する

Reference

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?