Link to home
Start Free TrialLog in
Avatar of johnnyg123
johnnyg123Flag for United States of America

asked on

Could not create type

Trying to do a build

I receive the following error:

Could not create type vehiclefo trying to do a build on a web service project in visual studio 2005.

Attached is a file with some screen prints.

Any ideas???


screen-shots.doc
Avatar of abhinayp86
abhinayp86
Flag of United States of America image

in the .asmx file, i see

class="VehicleInfo"

but ur class name is Service

so put
class="Service"
instead of vehicleinfo
or in ur VehileInfo.vb file change

Public Class Service
     Inherits System.Web.Services.WebService

to

Public Class VehicleInfo
    Inherits System.Web.Services.WebService


Avatar of johnnyg123

ASKER

hmmm

I was hoping your catch was the answer but I tried changing
to Public Class VehicleInfo
    Inherits System.Web.Services.WebService
and still getting same error
ASKER CERTIFIED SOLUTION
Avatar of abhinayp86
abhinayp86
Flag of United States of America 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