microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.49k stars 6.56k forks source link

[PT Run] [Indexer] `OleDbException`-Exception in log #15308

Closed htcfreek closed 3 days ago

htcfreek commented 2 years ago

Microsoft PowerToys version

0.53.0

Running as admin

Area(s) with issue?

PowerToys Run

Steps to reproduce

Type the query ?^: into PT Run's search bar.

✔️ Expected Behavior

No exception in log.

❌ Actual Behavior

Exception (only) in log:

[2022-01-07 10:53:27.7205] [ERROR] [C:\a\_work\1\s\src\modules\launcher\Plugins\Microsoft.Plugin.Indexer\Main.cs::167]
-------------------------- Begin exception --------------------------
Message: Something failed

Exception full name  : System.Data.OleDb.OleDbException
Exception message    : IErrorInfo.GetDescription failed with E_FAIL(0x80004005).
Exception stack trace:
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Plugin.Indexer.SearchHelper.OleDBSearch.Query(String connectionString, String sqlQuery)
   at Microsoft.Plugin.Indexer.SearchHelper.WindowsSearchAPI.ExecuteQuery(ISearchQueryHelper queryHelper, String keyword)
   at Microsoft.Plugin.Indexer.SearchHelper.WindowsSearchAPI.Search(String keyword, ISearchManager manager, String pattern, Int32 maxCount)
   at Microsoft.Plugin.Indexer.Main.Query(Query query, Boolean isFullQuery)
Exception source     : System.Data.OleDb
Exception target site: Void ExecuteCommandTextErrorHandling(System.Data.OleDb.OleDbHResult)
Exception HResult    : -2147215867
-------------------------- End exception --------------------------

Other Software

No response


Exception found while investigating #15305.

TheJoeFin commented 1 year ago

Can you confirm this issue is still relevant in v0.73? /needinfo

htcfreek commented 1 year ago

The plugin works but I stall get the error logged in the log file in v0.73.0

TheJoeFin commented 1 year ago

/bugreport

microsoft-github-policy-service[bot] commented 1 year ago

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

htcfreek commented 1 year ago

PowerToysReport_2023-09-23-16-27-22.zip

cinnamon-msft commented 1 week ago

Are you still experiencing this issue? /needinfo

htcfreek commented 3 days ago

@cinnamon-msft Sory for the delay. I missed this message somehow. No the issue is gone.