Webservice Error: Could not create type ‘AWebService’
Thursday, August 2nd, 2007
Description:
This one had me seriously stumped for over an hour.
I had created my webservice code file (.cs) and after creating the .asmx file I got an exception reading, ‘Could not create type ….’ .
My .asmx file contained the following directive :
<%@WebServiceLanguage="C#"CodeBehind="~/App_Code/aWebService.cs" Class="aWebService" %>
See solution below ads
Solution
This error occurs when the code specified by the CodeBehind […]