Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Must use exact identifier for APP object with verb SET

Tags:

wcf

msmq

I'm following this article on allowing WCF to read data from MSMQ but am getting an error with this command

appcmd set app "MSMQ/MsmqService" /enabledProtocols:net.msmq

MSMQ is the name of my IIS hosted website and MsmqService is the name of the .svc file.

The error I get is

ERROR ( message:Must use exact identifer for APP object with verb SET. )

Here is what my site looks like in IIS

iis

like image 725
Sachin Kainth Avatar asked Oct 26 '25 09:10

Sachin Kainth


1 Answers

I ran into this today, so here's the fix for the "Exact Identifier" error:

Change

"MSMQ/MsmqService"

To

"MSMQ/MsmqService/"

appcmd simply expects a path that includes a slash at the end (exact identifier).

like image 60
levelonehuman Avatar answered Oct 29 '25 08:10

levelonehuman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!