Everything_GetLastError return 2 , EVERYTHING_ERROR_IPC, IPC is not available.

Plug-in and third party software discussion.
Post Reply
kfcjunjun
Posts: 5
Joined: Fri Mar 04, 2022 9:03 am

Everything_GetLastError return 2 , EVERYTHING_ERROR_IPC, IPC is not available.

Post by kfcjunjun »

Everything_GetLastError return 2 , means EVERYTHING_ERROR_IPC, IPC is not available.
hi,there .
I installed everthing on my host, then wrote a class library in C# that calls everthing64.dll, and finally calls the C# DLL component through the PHP com component,
Yesterday, when I first started the test, it was running normally. I modified some places at night, and then an error was reported. No matter how I modified the code, it always reported the same error Everything_GetLastError return 2
I'm sure everything run in background .
can you please help me
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything_GetLastError return 2 , EVERYTHING_ERROR_IPC, IPC is not available.

Post by void »

The Everything search client and the Everything service must be running in the background.
Please make sure both are running.

Are you using a named instance?
The SDK can currently only talk to the unnamed instance.

Please let me know if the issue persists.
kfcjunjun
Posts: 5
Joined: Fri Mar 04, 2022 9:03 am

Re: Everything_GetLastError return 2 , EVERYTHING_ERROR_IPC, IPC is not available.

Post by kfcjunjun »

I haven't made any changes to the settings of everything, and I have reinstalled several times, and the settings have been initialized several times, but it still doesn't work.
No named instance is used, in the software settings interface, the option to run as a service is checked
Image
Image
I'm a newbie, thanks for your patience and promptness
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything_GetLastError return 2 , EVERYTHING_ERROR_IPC, IPC is not available.

Post by void »

Is Everything running as an admin? -Is your program running as an admin?

Please try running Everything as a standard user:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Check Store settings and data in %APPDATA%\Everything.
  • Uncheck Run as administrator.
  • Check Everything Service. (Please make sure this is tick-checked and not square-checked)
  • Click OK.
  • Exit Everything (right click the Everything tray icon and click Exit).
  • Restart Everything.
Please try running your program as a standard user.

Let me know if the issue persists.
kfcjunjun
Posts: 5
Joined: Fri Mar 04, 2022 9:03 am

Re: Everything_GetLastError return 2 , EVERYTHING_ERROR_IPC, IPC is not available.

Post by kfcjunjun »

Successfully run, perfect!
Sorry for not knowing your name, but thank you so much.
according to your method:
Check Store settings and data in %APPDATA%\Everything.
Uncheck Run as administrator.
Check Everything Service. (Please make sure this is tick-checked and not square-checked)
Indeed it is!
Thanks for your support, everything is very powerful,
I need to look into regex a bit more to get everything working
Post Reply