Is the WCF framework installed on the IIS? You can install it by running %windir%\Microsoft.NET\Framework\v3.0\"Windows Communication Foundation"\ServiceModelReg.exe –i
Thanks that was the issue. I can now navigate directly to svc/update without a 404. But sadly the search is still not working. I am getting this error in the log now:
"For security reasons DTD is prohibited in this XML document"
Full details below
2011-05-09 06:45:34,285|No access key found. Access denied.
2011-05-09 06:45:34,710|Could not get search results for uri 'http://bayercareupgrade/IndexingService/IndexingService.svc/search/?q=((EPISERVER_SEARCH_DEFAULT%3a(lorem))+AND+((EPISERVER_SEARCH_TYPE%3a(EPiServer.Community.Blog.Entry%2c+EPiServer.Community.Blog))+OR+(EPISERVER_SEARCH_TYPE%3a(EPiServer.Community.Blog.EntryComment%2c+EPiServer.Community.Blog))))+AND+(EPISERVER_SEARCH_ACL%3a(U%3a7c643812-e294-4f26-b534-73b3daa98c9b)+OR+EPISERVER_SEARCH_ACL%3a(G%3aAdministrators)+OR+EPISERVER_SEARCH_ACL%3a(G%3aAllCoursesGroup)+OR+EPISERVER_SEARCH_ACL%3a(G%3aCommunityAdmins)+OR+EPISERVER_SEARCH_ACL%3a(G%3aCommunityMembers)+OR+EPISERVER_SEARCH_ACL%3a(G%3aCommunityModerators)+OR+EPISERVER_SEARCH_ACL%3a(G%3aGroup+for+Club+with+Id%3a+1)+OR+EPISERVER_SEARCH_ACL%3a(G%3aGroup+for+Club+with+Id%3a+2)+OR+EPISERVER_SEARCH_ACL%3a(G%3aSpinifexAdmins)+OR+EPISERVER_SEARCH_ACL%3a(U%3aSpinifexAdmin)+OR+EPISERVER_SEARCH_ACL%3a(G%3aEveryone))+AND+(EPISERVER_SEARCH_ITEMSTATUS%3a(1))&namedindexes=&offset=0&limit=10&format=xml&accesskey='. Message: For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd property on XmlReaderSettings to false and pass the settings into XmlReader.Create method. at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.XmlReader.IsStartElement(String localname, String ns)
at System.ServiceModel.Syndication.Atom10FeedFormatter.CanRead(XmlReader reader)
at System.ServiceModel.Syndication.SyndicationFeed.Load[TSyndicationFeed](XmlReader reader)
at System.ServiceModel.Syndication.SyndicationFeed.Load(XmlReader reader)
at EPiServer.Search.RequestHandler.<>c__DisplayClass6.<GetSearchResults>b__4(WebResponse response)
at EPiServer.Search.RequestHandler.MakeHttpRequest(String url, NamedIndexingServiceElement namedIndexingServiceElement, String method, Stream postData, Action'1 responseHandler)
at EPiServer.Search.RequestHandler.GetSearchResults(String query, String namedIndexingService, Collection'1 namedIndexes, Int32 offset, Int32 limit)
Found what was wrong with this one. Missing the accessKey name in the web config:
<add name="localIndexingService" baseUri="http://mysite/IndexingService/IndexingService.svc" accessKey="local" />
I am getting the same issue. I have installed the WCF service and it is hitting my breakpoint with in the service but it is returning Endpoint not found. Any ideas?
Sorry I forgot to tell that I am integrating episerver search service in CMS 6 R2. I have installed the service as a seperate module to the site but I cannot get the service working.
I am getting the same issue as what rachel described in her first post, i have tried to install WCF with the command given although am still facing the 404 issue any idea on what else could be causing this ?
I Had this problem to, but I realized it is not an 404 error. It's an 404.15 error, meaning that the querystrging is to long
Here, the following handler was missing:
<add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />
I solved my problem with no indexing by:
A) Creating hosts file entries on the server for the site
127.0.0.1 thesite.local
B) Then added this binding to the site with the port 2000
C) Then updating the relevent part of the web.config to this:
<add name="serviceName" baseUri="http://thesite.local:2000/IndexingService/IndexingService.svc"
D) Thats it.
Marshall
When navigating to my ReIndexRelatePlus2.aspx page to reindex my search I get the following error in the log files: