.NETGURU
httpHandler and custom extensions
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.sdk.

Post a new message to this list...

Henrik de Jong
I've .net 1.1 installed on a XP-Prof computer.

My problem is that I can't use own extension ie file.myextensions with
my httpHandler. The web.config contains the following code:

<configuration>
<system.web>
<httpHandlers>
<add verb="*" path="*.aspx"
type="MSDNHandlers.CSHandler,CSHandler" validate="true" />
<add verb="*" path="*.MyExtension"
type="MSDNHandlers.CSHandler,CSHandler" validate="false" />
</httpHandlers>
</system.web>
</configuration>

When I use the following url: http://localhost/asp0107/test.MyExtension
it results in a page not found error.

grtz,
Henrik
Reply to this message...
 
    
Andriy Gnennyy
To to enable your custom extension you should add extension mapping into the
IIS Web application settings.
Use Internet Services MMC snap-in and map *.MyExtension to aspnet_isapi.dll.
You could use existing *.aspx mapping as an example.

--
Andriy Gnennyy
pulsar2003@{no-spam}email.ru (Please remove {no-spam} for reply)
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx

"Henrik de Jong" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Henrik de Jong
When I put my question on this newsgroup I was still looking for this
problem. I found: there's one thing more to do next to your suggestion.
If you will use non existable files, ie for specific purpose, you should
unmark the option that IIS only maps existing files.

grtz,
Henrik

Andriy Gnennyy wrote:

[Original message clipped]

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification