I\'m trying to host my service with IIS 6 but I keep get this exception.
Server Error in \'/WebServices\' Application.
----------------------------------
I had the same Exception, this is due to the Type not correctly mentioned in the .svc file
I corrected with below fix.
if your .svc.cs has class like this
namespace Azh.Services.MyApp
{
public class WcfApp : FI.IWcfAppService
{
...
}
}
for this the .svc file should look like this
<%@ ServiceHost Language="C#" Debug="true" Service="Azh.Services.MyApp.WcfApp" CodeBehind="WcfApp.svc.cs" %>