FSCrawler get a path error while running as a service

I have a working implementation of fscrawler. However, it is running on command prompt. I have tried to implement it as a service but i keep getting an error.

my url looks like this

url: "\\\\data-backup\\2020"

The error log is:

06:29:50, 989 WARN  [f.p.e.c.f.FsParserAbstract] Error while crawling \\data-backup\2020: \\data-backup\2020 doesn't exist

Why does it work when I run from command prompt but fails when running as a service?

I'm wondering if this is because the user which is running the service does not have the same rights as the user you used to run fscrawler from the command line...

Well I think you are right. I added same user details to the service logon option and now it seems to run fine. Thank you

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.