0
我正在嘗試向Azure WebApp項目添加ISAPI篩選器。我嘗試遵循官方指導(https://azure.microsoft.com/en-us/documentation/articles/web-sites-migration-from-iis-server/),但它並不適合我。Web.Config上的相對路徑(Azure WebAPI)
,我發現了以下錯誤:
HTTP錯誤500.0 - 內部服務器錯誤
ISAPI篩選器調用LoadLibraryEx 「〜/斌/ ResponseFilter.dll」 失敗
是什麼在web.config中指定相對dll路徑的正確方法?
目前,它是:
<system.webServer>
<httpErrors errorMode="Detailed" />
<isapiFilters>
<filter name="ResponseFilter" path="~/bin/ResponseFilter.dll" preCondition="bitness32" />
</isapiFilters>