Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はASPページのC#コードビハインドを持っています。
この行を使用してサーバーに保存しようとしています
File.Delete(@"C:\Webroot\Intranet\Intranet\Sales\Agreements_Marketing\test.xlsx");
サーバー上で確認できるため、これが有効なパスと有効なファイルであることはわかっています。
このエラーが発生する理由がわかりません。
これはおそらく、アプリ プール ユーザー (既定では、正当な理由により、アクセス許可が非常に制限されています) がファイルの表示を許可されていないためです。