Last post Jul 19, 2007 09:55 AM by kmcnet
Jul 18, 2007 10:16 PM|kmcnet|LINK
Hello Everyone and thanks for your help in advance. I am new to HTTPModules and am running into problems loading a class. Here is where I am at:
Web application project name is UrlRewrite in VS 2005
I have created a class in this project by the name of URLRemapper. The web.config has the following:
I receive an error message: Could not load file or assembly 'URLRemapper' or one of its dependencies. The system cannot find the file specified.
The class URLRemapper does not have any type of Namespace declared within it. So I am not exactly sure what the problem is. If I understand correctly, in a web application project, the Namespace would be the name of the project URLRewrite. So i don't
think I need to declare any Namespace within the class.
I'm not sure what I need to do to get this working. Any help would be greatly appreciated.
Jul 19, 2007 09:40 AM|marss|LINK
Syntax of type name:
type="Full class name, Assembly name"
So if you have URLRemapper class in the UrlRewrite assembly then correct record has to be:
<add name="UrlRemapper" type="URLRewrite.URLRemapper, UrlRewrite">
Jul 19, 2007 09:55 AM|kmcnet|LINK
Thanks for the help. I appreciate it.