Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi ,
I am using custom handlers unable to hit the handler

code snippet


namespace Sample.Handlers
{

class SampleHandler : IHttpHandler, IRequiresSessionState
{
}
}


i have added the below sections in
web.config

<handlers>
<add name="SampleHandler" path="SampleHandler.ashx" verb="*" type="Sample.Handlers,Sample" resourcetype="Unspecified" precondition="integratedMode">


<httphandlers>
<add type="Sample.Handlers,Sample" path="SampleHandler.ashx" verb="*" validate="false">



when i am trying to hit the handlers it is throwing error that Could not Load type Sample or one of its dependncies
Posted
Comments
JoCodes 17-Oct-13 4:14am    
Where is your webconfig settings??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900