The rewrite rule from web.config is:
<rule name="showimage.ashx" stopProcessing="true">
<match url="^/ShowImage\.ashx\?t=(\d+)&id=(\d+)$" />
<conditions>
</conditions>
<action type="Rewrite" url="/images/RetrieveImage/{R:2}/{R:1}" appendQueryString="false" />
</rule>
showimage.ashx does not exist on the .NET 8 site, but text retrieved from sql for display in web pages does contain links to that file from the asp.net 4 code. The rule tests ok in IIS Rewrite program, for example, for input of : /showimage.ashx?id=53810&t=2 Could the failure when running on server be due to ISAPI or CGI restrictions on the server?