IHttpModule type not found?

Discussion in 'ASP .Net' started by Eric Goforth, May 21, 2008.

  1. Eric Goforth

    Eric Goforth Guest

    Hello,

    I'm trying to create an Http Helper Module in VS.NET 2005. When I do
    the following the .NET ide complains that it doesn't know what the
    IHttpModule type is. I initially tried it without the System.Web (I'm
    importing the namespace). Any idea what's wrong?

    Imports Microsoft.VisualBasic
    Imports System
    Imports System.Collections
    Imports System.Configuration
    Imports System.Text
    Imports System.Threading
    Imports System.IO
    Imports System.Reflection
    Imports System.Web
    Imports System.Xml
    Imports System.Xml.XPath


    Namespace MyModule

    Public Class MyModule
    Implements System.Web.IHttpModule


    End Class
    End Namespace
    Eric Goforth, May 21, 2008
    #1
    1. Advertising

  2. "Eric Goforth" <> wrote in message
    news:...
    > Hello,
    >
    > I'm trying to create an Http Helper Module in VS.NET 2005. When I do
    > the following the .NET ide complains that it doesn't know what the
    > IHttpModule type is. I initially tried it without the System.Web (I'm
    > importing the namespace). Any idea what's wrong?
    >
    > Imports Microsoft.VisualBasic
    > Imports System
    > Imports System.Collections
    > Imports System.Configuration
    > Imports System.Text
    > Imports System.Threading
    > Imports System.IO
    > Imports System.Reflection
    > Imports System.Web
    > Imports System.Xml
    > Imports System.Xml.XPath
    >
    >
    > Namespace MyModule
    >
    > Public Class MyModule
    > Implements System.Web.IHttpModule
    >
    >
    > End Class
    > End Namespace


    Your project is missing a reference to the system.web.dll


    --
    Anthony Jones - MVP ASP/ASP.NET
    Anthony Jones, May 22, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Duncan Godwin
    Replies:
    0
    Views:
    3,759
    Duncan Godwin
    Jun 25, 2003
  2. Steven Livingstone

    http pipline, ihttpmodule and filtering responses

    Steven Livingstone, Oct 16, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    446
  3. moid

    Front Controller / IHttpModule

    moid, Dec 25, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    470
  4. John
    Replies:
    0
    Views:
    510
  5. John

    How come I can not catch IHTTPModule Error Event???

    John, May 8, 2006, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    179
Loading...

Share This Page