Sign in | Join
Last post 03-07-2009 1:00 PM by gkopparam. 5 replies.
Sort Posts: Oldest to newest Newest to oldest
I am writing a simple WCF service. When I try it from my local machine (http://localhost/RecruitmentService/Service1.svc) I get this error:
The XML page cannot be displayed
I checked the registration for RecruitmentService using aspnet_regiis and it is registered for 2.0.50727 although it is a 3.5 site. Should it be registered for 3.5. If so, how? Or is the error somewhere else?
The only versions available in the iiS console are 1.1 and 2.0. Besides, I cannot find the aspnet_regiis tool for version 3.5.
The problem, as it turns out, is a new extension that WCF uses. You have to register the .svc extension in the iiS configuration panel. After that, everything runs fine. No other changes are needed.
i am facing the same issue will you please tell me what you mean by setting the thing in iis?
thank you
perfect it worked now!!!
thanks