First Web Service - Having Problems

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Any ideas would be great - I hope I provide enough information here.  I'm getting a bit frustrated - I'm a newbie in the .NET programming arena.
 
Full Error returned from VWD 2005 Express Beta:
Error 1 Could not create type 'VisaValidator.CreditCardValidator'. c:\inetpub\wwwroot\XMLWebServices\Chapter3\VisaValidator\Validation.asmx 1

Environment: Windows XP SP2 with local IIS and other prerequisites.  I confirmed by getting 'Hello World' example to work.

Code (Validation.vb):
Imports System.Web.Services
Imports XMLWebServicesStepByStep.CreditCardValidator
<WebService(Namespace:="http://localhost/", _
Name:="VISAValidator", _
Description:="A service to validate VISA card numbers.")> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
Public Class CreditCardValidator
Inherits System.Web.Services.WebService
<WebMethod(Description:="Validate a VISA card number.")> _
Public Function _
ValidateVISACard(ByVal p_card_number As String) _
As Boolean
Try
Return New Validator().ValidateVisa(p_card_number)
Catch x_ex As System.ApplicationException
Return False
End Try
End Function
End Class

 
Code (Validation.asmx):
<%@ WebService Language="vb" CodeBehind="~/App_Code/Validation.asmx.vb" Class="VisaValidator.CreditCardValidator" %>

--
A McGuire
 

--
A McGuire


Relevant Pages

  • Could not create type VisaValidator.CreditCardValidator
    ... Environment: Windows XP SP2 with local IIS and other prerequisites. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Building Debug version of MIT kerberos for windows
    ... I have tried it on Windows XP with Sp2 ... The only Platform SDK that is supported is the "Windows XP SP2 Platform ... > development environment as well as on Windows XP environment. ...
    (comp.protocols.kerberos)
  • Re: outlook 2007 over rpc
    ... here at home i configured my outlook 2003 (in a windows xp sp2 ... environment) to connect via internet to my ... the server would continue to work or if i will have any problem... ...
    (microsoft.public.windows.server.sbs)
  • Starting VB6 COM+ component in Windows XP is slow
    ... try to run it on VB IDE in Windows XP (SP2) it takes more than 1 minute to ... slow performance in XP environment? ...
    (microsoft.public.vb.com)
  • Re: Windows Startup Taking a Long Time
    ... It may help speed up your system, but it should be clean ... using Windows XP "prettifications". ... As for Service Pack 2 (SP2) for Windows XP, ... You should at least turn on the built in firewall. ...
    (microsoft.public.windowsxp.help_and_support)