Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
54 Points
207 Posts
May 10, 2009 02:04 AM|LINK
I dont know why it's not working.
This is my handler:
{
and then in web.config i have:
<
</
When I run the handler directly, it says:
Could not load file or assembly 'CoreApp.dll' or one of its dependencies. The system cannot find the file specified
wll6568
Member
54 Points
207 Posts
Re: Cannot call to handler.ashx in Vista IIS7
May 10, 2009 02:04 AM|LINK
I dont know why it's not working.
This is my handler:
namespace CoreApp{
public class WebPreviewHandler : IHttpHandler{
and then in web.config i have:
<
handlers> <remove name="WebServiceHandlerFactory-Integrated" /><
remove name="ScriptHandlerFactory" /> <remove name="ScriptHandlerFactoryAppServices" /><
remove name="ScriptResource" /> <add name="WebPreviewHandler" verb="*" path="*.ashx" type="CoreApp.WebPreviewHandler,CoreApp.dll" /><
add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /><
add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /></
handlers>When I run the handler directly, it says:
Could not load file or assembly 'CoreApp.dll' or one of its dependencies. The system cannot find the file specified