i get this error
Parser Error Message: Could not create type \'charts.lineChartData\'.
Source Error:
Line 1: <%@ WebHandler Language=\"C#\" CodeBehin
I had this.. fixed it.. thought I'd share
if you right click the .asmx file and select view markup you'll see it still says
<%@ WebService Language="C#" CodeBehind="MyService.asmx.cs" Class="MyProject.Service1" %>
maybe not Service1.. but won't be the class you've just made
<%@ WebService Language="C#" CodeBehind="MyService.asmx.cs" Class="MyProject.MyService" %>
save it.. try it..
worked for me..
I've come across this error using Visual Studio Development Server when my project output directory was not bin\
One of my DLLs has versions for different platforms (x86, x64), so I created corresponding configurations, and they got by default output directories like this:
bin\x86\Debug
bin\x64\Debug
But the Visual Studio Development Server still tried to load binaries from the bin\ folder and of course failed.
I fixed the issue by specifying bin\ output folder in my debug configurations.
You usually get that when your code doesn't build, i.e. there is no dll so i can't load the handler type.