MSMQ error opening queue

Hello. I'm trying to use msmq to establish communication between and indigo client and an indigo server.

I've set the endpoint like this on the server:
<endpoint
                    address="net.msmq://localhost/private$/indigotests"
                    binding="netMsmqBinding"
                    contract="ProgrammingIndigo.IWeather"
                    />

And I've done this on the client:

<endpoint
                configurationName="endpoint4"
                address="net.msmq://localhost/private$/indigotests"
                binding="netMsmqBinding"
                contract="IWeather" />

when i try to runt the client i get this error:

unhandled exception: System.servicemodel.channels.mwmqexception: there was an error opening the queue: error -1072824214

I'm running the server and client on the same machine (win xp pro) and i'm using the september ctp. i've created the queue as private and i've enalbed the transactional option during the creation. since i'm not a queue expert, i was wondering if anyone has any tips on what to look for. thanks.



Answer this question

MSMQ error opening queue

  • ky88

    hello.

    my computer is a member of domain. the only component i didn't install was the active directory integration component (i've installed all the others).



  • brownmb

    The sept-ctp, also known as the pdc-bits is the b2-ctp

  • James Sun

    The docs are out there. There is a helpful link here: http://winfx.msdn.microsoft.com/library/default.asp url=/library/en-us/indigo_genref/html/a68b44d7-7799-43a3-9e63-f07c782810a6.asp

    OR alternatively, you can dig thru the schema of the servicemodel of your config file by right-clicking and selecting "Go To Definition"

    hth.



  • buaaytt

    Luis:

    I remember coming across this some time back. Try this for endpoint address and see if it works - address="net.msmq://localhost/private/indigotests"

  • Ashley K

    hello William.

    thanks for the link. well, i thought that the sdk that can be downloaded had the same info as that site...unfortunatelly for me, the sdk i've downloaded is unable to find any of the config sections (ex.: searching for <system.serviceModel> returns 0 hits).

    regarding the "go to definition" option, i think it still hasen't been implemented in notepad 2 (yep, that's what i'm using here to work with indigo :))

    thanks again.

  • Vincent 0

    On a pretty wild shot:

    1) Check and make sure the Q is installed properly and the name is right
    2) Workgroup Make sure the security settings are right.
    3) Bindings for the Q is right It has change a bit since the B1RC days. Something to the effect of <transport security="message"><message authenticationmode=> or something to that effect.

    For the $ part, it was something that worked for me in the B1RC before BUT I had to remove it for the same to work in the pdc-bits

  • Colm Smyth

    hello guys.

    thanks for the feedback, but i'm still lost because:
    1.) i 've just started looking at indigo now (ie, did't had time to look at it during beta 1)
    2.) i'm using a book about beta 1 to get started

    so, please be patient with me :)

    it seems that since beta 1 there has been several changes on the way one changes the bindings. for instance, according to the book i'm reading, bindings configuration is performed by attributes placed on a <binding> element. this has definitly changed and i can't seem to find any info on the docs. so, any clues on how to set the security mode on a config file

  • arcon5

    Luis,
    Actually you should try to do two things.
    First use private instead of private$ (as explained by William).
    Then set the security mode in MSMQ binding to None. By default this value is set to 'Transport'. AFAIK this works only when you are part of a domain controler.

    You can use the following code snippet to change the security mode.
    NetMsmqBinding binding = new NetMsmqBinding();
    binding.Security.Mode = NetMsmqSecurityMode.None;



  • frogstarr78

    hello William...still having the same problem :(

  • Prakash Jha

    hello again.

    just a final note: it seems like the winfx link is related with beta 1 since I've tried to add one or two options and allways get an exception. btw, i've changed the code so that the binding settings are defined in code and Buddhike is correct. changing the security works well.

  • satnik12

    hello again William.

    hum...interesting...i though b2 wasn't out yet and that the latest version was the september ctp release (which is what i'm currently using). am  i wrong

  • TheBigIrishman

    hello again.

    hum...then something must be wrong because the config file isn't accepting the values described on the help...

  • Jonas Folleso

    Hi Luis,

    The link I quoted is B2 related. The B1 binding config is a lot flatter and was called netProfileMsmqBinding.

  • DCady

    If I remember correctly error  -1072824214 means "A workgroup installation computer does not support the operation. "

    Is your computer part of a windows domain and how is MSMQ installed


  • MSMQ error opening queue