Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

Custom extension for .aspx files

$
0
0

Hi,

I've got a file called "get.aspx" and I would like it to be accessed as "get.dll", I've tried many ways, but I haven't been able to do it. Actually in my web.config there's:

<system.webServer><handlers><add name="Get" 
             path="get.dll" 
             verb="*" 
             type="System.Web.UI.PageHandlerFactory" 
             preCondition="integratedMode" /></handlers></system.webServer></configuration>

And when trying to access the file, the server yields:

There is no build provider registered for the extension '.html'. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'.

Any ideas on how to solve it?

Thanks in advance.


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>