Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. MSMQs

MSMQs

Scheduled Pinned Locked Moved ASP.NET
14 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H honeyss

    Can we create Queues to the remote Machine............ If Yes please give me the format Thanks in Advance

    I Offline
    I Offline
    InsDev
    wrote on last edited by
    #4

    you have to ceate a such class using com+ . where u can define queue of object as you like. Devjit

    1 Reply Last reply
    0
    • H honeyss

      Can we create Queues to the remote Machine............ If Yes please give me the format Thanks in Advance

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #5

      Providing you have the security privileges, you can. You can do it by calling MessageQueue.Create("Machine\\Queue");

      Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.

      H 1 Reply Last reply
      0
      • P Pete OHanlon

        Providing you have the security privileges, you can. You can do it by calling MessageQueue.Create("Machine\\Queue");

        Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.

        H Offline
        H Offline
        honeyss
        wrote on last edited by
        #6

        i have declared a queuepath in web.config as Inplace of IPaddress i would like to give the machine number which doesnt belongs to me. and in code behind i created the queue as string mqPath =QueuePath + "result"; MessageQueue mq = MessageQueue.Create(mqPath, false); After doing this i am getting an error: Queue cannot be created with the FormatName:Direct=TCP:IPAddress\Quename........ Help me how to create a public queue in the remote machine.

        P 1 Reply Last reply
        0
        • H honeyss

          i have declared a queuepath in web.config as Inplace of IPaddress i would like to give the machine number which doesnt belongs to me. and in code behind i created the queue as string mqPath =QueuePath + "result"; MessageQueue mq = MessageQueue.Create(mqPath, false); After doing this i am getting an error: Queue cannot be created with the FormatName:Direct=TCP:IPAddress\Quename........ Help me how to create a public queue in the remote machine.

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #7

          What exception are you getting? I suspect that you don't have the permissions to create a queue on the remote machine.

          Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.

          H 1 Reply Last reply
          0
          • P Pete OHanlon

            What exception are you getting? I suspect that you don't have the permissions to create a queue on the remote machine.

            Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.

            H Offline
            H Offline
            honeyss
            wrote on last edited by
            #8

            this is the exception i am getting;............. Queue cannot be created with the FormatName:Direct=TCP:IPAddress\Quename........ Even if i am connecting to my system in place of ipaddress i am getiing the same exception

            P 1 Reply Last reply
            0
            • H honeyss

              this is the exception i am getting;............. Queue cannot be created with the FormatName:Direct=TCP:IPAddress\Quename........ Even if i am connecting to my system in place of ipaddress i am getiing the same exception

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #9

              Take a closer look at the exception details (hint; what does the inner exception contain) - it still looks like a permissions issue.

              Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.

              H 1 Reply Last reply
              0
              • P Pete OHanlon

                Take a closer look at the exception details (hint; what does the inner exception contain) - it still looks like a permissions issue.

                Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.

                H Offline
                H Offline
                honeyss
                wrote on last edited by
                #10

                NO i got the exception as Cannot create a queue with the path soap.msmq:\\http:\\IPAddress\\private$\\DevXTestQueue.

                C P 2 Replies Last reply
                0
                • H honeyss

                  NO i got the exception as Cannot create a queue with the path soap.msmq:\\http:\\IPAddress\\private$\\DevXTestQueue.

                  C Offline
                  C Offline
                  Colin Angus Mackay
                  wrote on last edited by
                  #11

                  Doesn't the exception indicate anywhere WHY you can't create the queue? As Pete said, look at the innerException, or the stack trace so see exactly where the exception is being thrown from. That will give you more of a clue as to what the problem is.


                  Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... "I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless." Ready to Give up - Your help will be much appreciated. My website

                  H 1 Reply Last reply
                  0
                  • C Colin Angus Mackay

                    Doesn't the exception indicate anywhere WHY you can't create the queue? As Pete said, look at the innerException, or the stack trace so see exactly where the exception is being thrown from. That will give you more of a clue as to what the problem is.


                    Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... "I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless." Ready to Give up - Your help will be much appreciated. My website

                    H Offline
                    H Offline
                    honeyss
                    wrote on last edited by
                    #12

                    No thats the whole exception.............

                    C 1 Reply Last reply
                    0
                    • H honeyss

                      NO i got the exception as Cannot create a queue with the path soap.msmq:\\http:\\IPAddress\\private$\\DevXTestQueue.

                      P Offline
                      P Offline
                      Pete OHanlon
                      wrote on last edited by
                      #13

                      Have you checked that the listening port is open?

                      Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.

                      1 Reply Last reply
                      0
                      • H honeyss

                        No thats the whole exception.............

                        C Offline
                        C Offline
                        Colin Angus Mackay
                        wrote on last edited by
                        #14

                        honeyss wrote:

                        No thats the whole exception

                        No, it isn't. There will be a stack trace, even if there isn't an inner exception.


                        Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... "I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless." Ready to Give up - Your help will be much appreciated. My website

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups