Http Handler
-
My aim is to block the .doc file access through Url. on IIS, I added a mapping to *.doc. This is a remote server that does not have dotnet installed. On my application, I put a class which includes ProcessRequest method. On the web.config, I have added <add verb="*" path="*.doc" type="DocNamespace.DocClass,DocDllName>; <add key="PathToRedirect" value="~/Fail.aspx>; I compiled this class to dll and put it on my bin folder. Error I find is "Could not load file or assembly DocDllNameor one of its dependencies. The system cannot find the file specified." I referred the below http://www.15seconds.com/issue/020417.htm[^] Please help. Thanks
-
My aim is to block the .doc file access through Url. on IIS, I added a mapping to *.doc. This is a remote server that does not have dotnet installed. On my application, I put a class which includes ProcessRequest method. On the web.config, I have added <add verb="*" path="*.doc" type="DocNamespace.DocClass,DocDllName>; <add key="PathToRedirect" value="~/Fail.aspx>; I compiled this class to dll and put it on my bin folder. Error I find is "Could not load file or assembly DocDllNameor one of its dependencies. The system cannot find the file specified." I referred the below http://www.15seconds.com/issue/020417.htm[^] Please help. Thanks
ss.mmm wrote:
This is a remote server that does not have dotnet installed.
Then how are you deploying and running an ASP.NET application?
only two letters away from being an asset
-
ss.mmm wrote:
This is a remote server that does not have dotnet installed.
Then how are you deploying and running an ASP.NET application?
only two letters away from being an asset
-
Sorry, I should have written that the Remote Server has .Net Framework installed and not visual studio.
Thanks
-
My aim is to block the .doc file access through Url. on IIS, I added a mapping to *.doc. This is a remote server that does not have dotnet installed. On my application, I put a class which includes ProcessRequest method. On the web.config, I have added <add verb="*" path="*.doc" type="DocNamespace.DocClass,DocDllName>; <add key="PathToRedirect" value="~/Fail.aspx>; I compiled this class to dll and put it on my bin folder. Error I find is "Could not load file or assembly DocDllNameor one of its dependencies. The system cannot find the file specified." I referred the below http://www.15seconds.com/issue/020417.htm[^] Please help. Thanks
Could you please post your code?
[Venkatesh Mookkan] My: Website | Yahoo Group | Blog Spot