' is not declared. It may be inaccessible due to its protection level. Assignment 2 Dispatcher issue

Hello thanks for your time,

so my Dispatcher works perfectly other than my add queue item.
I checked multiple articles on here and found one that had the issue that they were not putting actual content in their queue… so I put a print statement with what I was putting in my queue in front of my add queue item activity and it printed what I wanted to add.

The Problem

I deleted it and remade the add queue Item activity and got this issue

Process.xaml: Compiler error(s) encountered processing expression “in_Config(OrchestratorQueueName).ToString”.
‘OrchestratorQueueName’ is not declared. It may be inaccessible due to its protection level.

I have ctrl c, ctrl v,ed (copied pasted) the name from my data file, and the in_Config auto generated

I do not understand why you need to declare an argument or how to do it

the arguments for my process transaction

here is my search for the name in my whole file

my .xaml class that is giving me the trouble

Process.xaml (18.0 KB)

any help is appreciated.

Thanks for your assistance,



I believe you have a simple syntax issue.
A dictionary requires that the key is a string. So I think you want to use in_Config("OrchestratorQueueName").ToString

So add quotations to make it a string, assuming this string is coming from your Excel file rather than a variable in the code.


1 Like

Thank you !

have a blessed day :grinning:,


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