Error while registering crawler by RegisterThisCrawler.bat

Has anyone encountered following error message when you execute the 'RegisterThisCrawler.bat'?

Finished initializing ProjectConfiguration for 'InfoShareBuilders'.
MACHINEXXXX::InfoShareBuilders pid[6224] threadId[1]
MACHINEXXXX::InfoShareBuilders::DatabaseTypeName[sqlserver2016]
MACHINEXXXX::InfoShareBuilders::Database[prod-db.intra.global.com][ISHCMDB][isource]
Initializing CatalogSettings...
Initializing CatalogStructure...
Finished initializing the CrawlerConfiguration for 'InfoShareBuilders'.
-------------------------------------------------------------------------------
Registering a Crawler for 'TrisoftInfoShareIndex' on 'MACHINEXXXX'
Adding the Crawler with hostname 'MACHINEXXXX' and catalogname 'TrisoftInfoShareIndex' failed with an error.
System.Transactions.TransactionAbortedException: The transaction has aborted. ---> System.TimeoutException: Transaction Timeout
--- End of inner exception stack trace ---
at System.Transactions.TransactionStateAborted.BeginCommit(InternalTransaction tx, Boolean asyncCommit, AsyncCallback asyncCallback, Object asyncState)
at System.Transactions.CommittableTransaction.Commit()
at System.Transactions.TransactionScope.InternalDispose()
at System.Transactions.TransactionScope.Dispose()
at Trisoft.InfoShare.Crawler.RegisteredCrawlersDataSqlServer.Add(String hostName, String catalogName)
at Trisoft.InfoShare.Crawler.RegisteredCrawlers.RegisterCrawler()
Crawler.RegisterCrawler => RegisteredCrawlers..ctor => RegisteredCrawlers.RegisterCrawler
Registering the Crawler for 'InfoShareBuilders' failed with an error.
System.Transactions.TransactionAbortedException: The transaction has aborted. ---> System.TimeoutException: Transaction Timeout
--- End of inner exception stack trace ---
at System.Transactions.TransactionStateAborted.BeginCommit(InternalTransaction tx, Boolean asyncCommit, AsyncCallback asyncCallback, Object asyncState)
at System.Transactions.CommittableTransaction.Commit()
at System.Transactions.TransactionScope.InternalDispose()
at System.Transactions.TransactionScope.Dispose()
at Trisoft.InfoShare.Crawler.RegisteredCrawlersDataSqlServer.Add(String hostName, String catalogName)
at Trisoft.InfoShare.Crawler.RegisteredCrawlers.RegisterCrawler()
at Trisoft.InfoShare.Crawler.RegisteredCrawlers..ctor(RegisterMode registerMode)
at Crawler.Crawler.RegisterCrawler()
Program.Main => Crawler.Process => Crawler.RegisterCrawler
# ErrorLevel was 0
# Relocating to starting position
# Script finished
Press any key to continue . . .

It seems that cause of issue is related to the database. Because, the issue occurred after I restored a database from a backup file.

When I restored the database, I overwrote the existing database. I'd like to make sure whether a new database should be created or it can be overwritten to an existing database when restoring database from the backup file.

Thanks,

Naoki

Parents Reply Children
No Data