c# - Httphandler registration not working -
i have handler called msidownloadhandler
lets client download msi file if exists, , otherwise creates msi file , lets client download it.
though have registered handler in web.config
this:
<handlers> <add name="msidownloadhandler" verb="*" path="*.msi" type="msidownloadhandler, managementconsolev2, version=1.0.0.0, culture=neutral" resourcetype="file" /> </handlers> <validation validateintegratedmodeconfiguration="false" />
the handler break point not hit , error:
the resource looking has been removed, had name changed, or temporarily unavailable.
what doing wrong??
you used:
resourcetype="file" />
but said, handler meant work if there no file on server location mapped path of uri. such handler, want resourcetype="unspecified"
.
Comments
Post a Comment