Link to home
Start Free TrialLog in
Avatar of limmontreefree
limmontreefreeFlag for Spain

asked on

error defining the class

Hello I'm obtaining an error when i try to declare and webhandler.

The ImageLogoFetch.ashx:
<%@ WebHandler Language="VB" Codebehind="ImageLogoFetch.ashx.vb" Class="ImagelogoFetch  "  %>


and the ImageLogoFetch.ashx.vb (in the root folder)

Imports System
Imports System.Web
Imports System.Data
Imports System.Data.SqlClient

Namespace NameSpaceImagenes

    Public Class ImageLogoFetch : Implements IHttpHandler
        Const BUFFERSIZE As Integer = 1024

      ......
      .........
      ........
      ........


    End Class

End Namespace
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

And the error is ...
Avatar of limmontreefree

ASKER

The error is "can not create type 'ImageLogoFetch'"

If i try this
<%@ WebHandler Language="VB" Class="ImageLogoFetch" Codebehind="XXXXXXXXXImageLogoFetch.ashx.vb" %>

The error is the same so... The Problem is that the compiler can't found the code file?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Many thanks,

Of course....