In our project we do have following code segment to delete event entry
IClient client = SearchClient.Instance;
But this is not working inside the our existing project. But if I try the same code in a separate test application (with same configurations), it works. So, I would like to know what was the issue. Also don't know is this happening due to security issue. The biggest problem is I don't know how to inspect find service related issues. Appreciate any help on this matter
Do you get any error messages?
I've used Fiddler in the past to inspect the raw requests coming to/from Find. You need to install Fiddler as a proxy for the internet connections in IIS. This means you can inspect all the traffic going to/from your site in IIS. As I remember you need to configure network settings in web.config and also set Fiddler up to act as a proxy.
Let me know if you think this might be useful? If so I'll post a blog on how to configure it so I don't forget next time :)!
@ Per Magne
No i'm not getting any error message
Yes, that would be great if you could post a blog explaining how to configure fiddler to capturer IIS inbound and outbound traffic
The Delete method returns an DeleteResult object, ref http://world.episerver.com/documentation/Class-library/?documentId=find/8/98F95097
Could you check to see if that gives you any pointers to what the problem could be?
Thanks everyone for your help. As per David's advice, I have configured my application (referring: Configure .NET applications) to capture IIS outbound traffic by putting following code in to web.config
<proxy bypassonlocal="False" usesystemdefault="True" proxyaddress="http://127.0.0.1:8888"/>
Then I find out that after object is deleted, it was re-index by another event. So fixing that resolved the problem