Using a UNC Path in WMI Event Watcher Task


i'm configuring wmi event watcher task serve file watcher on unc share.  task configured follows:

wmi connection:

server name: \\devdb01

namespace: \root\edi_files

windows authentication

wmi event watcher task

wqlquerysourcetype: direct input

wqlquerysource: select * __instancecreationevent within 10  targetinstance isa "cim_directorycontainsfile" , targetinstance.groupcomponent = "win32_directory.name=\"\\?\unc\devdb01\\edi_files\""

the task fails following error message: [wmi event watcher task] error: watching wql query caused following system exception: "invalid namespace". check query errors or wmi connection access rights/permissions.

how configure task use unc share on server?


you have map first: net use d: \\unc\devdb01\edi_files\ unc not work (afaik).

please mark post answered if answers question | ssis blog: http://microsoft-ssis.blogspot.com | twitter



SQL Server  >  SQL Server Integration Services



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........