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.
のネットワーク フォルダにアクセスする必要があります
\\p3clfs\xyz\test.tiff
それで:
String image = @"\\p3clfs\xyz\test.tiff"; MyClass.OpenUrl(image)
エラー: c:\inetpub\wwwroot\p3clfs\xyz\ が存在しません!
「c:\inetpub\wwwroot\」なしで URL を開くにはどうすればよいですか?
ネットワークパス(つまり、ファイルシステムに基づくもの)をURLとして開く必要がある場合、文字列は次のようになっている必要があります。
String image = @"file://p3clfs/xyz/test.tiff";
実際の解決策は、IIS に仮想ディレクトリを作成することでした。