hi all,

When I create a ASP.Net Web Service project in visual studio,it creates an asmx and asmx.cs(code-behind) by default apart from some other files.

The class inside asmx.cs inherits from System.Web.Services.Service.But if i make changes to the class to inherit from my custom class(clsCustom) instead of System.Web.Services.Service,the designer view(asmx file) throws an exception saying 'could not create an instance of the class clsCustom'.

Anybody has any idea?Thanks in advance.

CafeDreamz.