Hi All,
I have a web handler (.ashx) file I created to manipulate an image. It works perfectly in one directory, but when I move it somewhere else (on a different website by on the same server) it throws up a Parser Error with the message:
The directive 'WebHandler' is unknown.
The line it indicates as causing this is the very first line of the file:
<%@ WebHandler language="VB" class="FSImgHandler" %>
I've checked Google to no avail, tried setting the directory to an Application directory but that didn't work, reuploaded the file but still no joy. Any ideas would be much appreciated. Oh, it's .NET 1.1 on IIS 6. Thanks!
I have a web handler (.ashx) file I created to manipulate an image. It works perfectly in one directory, but when I move it somewhere else (on a different website by on the same server) it throws up a Parser Error with the message:
The directive 'WebHandler' is unknown.
The line it indicates as causing this is the very first line of the file:
<%@ WebHandler language="VB" class="FSImgHandler" %>
I've checked Google to no avail, tried setting the directory to an Application directory but that didn't work, reuploaded the file but still no joy. Any ideas would be much appreciated. Oh, it's .NET 1.1 on IIS 6. Thanks!