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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
G

Goodberrie

@Goodberrie
About
Posts
7
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ERROR: Invalid ProgID (windows2000)
    G Goodberrie

    Hi all. I have an ASP that runs ok in Windows XP. But now, I need it to run in windows2000 server, and I get a error of invalid progid in a comand like this: Set qDest = Server.CreateObject ("MSMQ.MSMQDestination") I'm using message queues, but can't understant what is the problem i'm having now. Thanks in advance, Pedro Roriz

    ASP.NET help sysadmin question

  • How to send information to a message queue
    G Goodberrie

    Finally i got to receive the message from the queue. I'm placing here the code, just in case anyone needs it. Thanks for all the help Bill! dim body Set qQueue = Server.CreateObject ("MSMQ.MSMQQueueInfo") Set qMessage = Server.CreateObject ("MSMQ.MSMQMessage") qQueue.FormatName = "PUBLIC=fc3ebf19-bd12-4dfa-8029-e0062a5c7b2f" 'u get this ID in the properties of your queue Set qReceive = qQueue.Open(1,0) If qReceive.isopen then 'Response.write "

    opened

    " end if Set qMessage = qReceive.Receive (0 , true , true , 100) if Not qMessage is Nothing then body = qMessage.body Response.Write "

    " + Body + "

    " else Response.Write "Empty Queue" end if

    ASP.NET data-structures tutorial

  • How to send information to a message queue
    G Goodberrie

    I changed the code for the open method. Instead of using FormatName, I used PathName and Label. Now the error message is: "The queue does not exist, or you do not have sufficient permissions to perform the operation. " Any help? Thanks! Set qQueue = Server.CreateObject ("MSMQ.MSMQQueueInfo") Set qMessage = Server.CreateObject ("MSMQ.MSMQMessage") 'qQueue.FormatName = "DIRECT=OS:pedro-roriz\Testqueue2" qQueue.PathName = ".\TestQueue2" qQueue.Label = "Testqueue2" Set qReceive = qQueue.Open(2,0) If qReceive = Nothing then Response.write "Nothing opened" else Set qMessage = qReceive.Receive (0 , true , true , 100) if Not qMessage is Nothing then Response.Write "Body = " + qMessage.body else Response.Write "empty" end if end if

    ASP.NET data-structures tutorial

  • How to send information to a message queue
    G Goodberrie

    the default for the queue was already with authenticated turned off. In the general tag, i have: Limit message storage to (kb) turned off Authenticated off Nontransactional queue Privacy level set to optional and base priority to 0.

    ASP.NET data-structures tutorial

  • How to send information to a message queue
    G Goodberrie

    no, the code is being writen in server side. As for the code, it's in asp, not using asp.net. Just can't figure out why he keeps complaining! Thanks anyway. Pedro Roriz

    ASP.NET data-structures tutorial

  • How to send information to a message queue
    G Goodberrie

    Hi! Thanks for the quick answer. I've managed to place a message in the queue, but now, trying to read it is being a little more complicated. I've searched the web for many pieces of code, tried a lot of possible ways, but always end up the same way: Set qQueue = Server.CreateObject ("MSMQ.MSMQQueueInfo") Set qMessage = Server.CreateObject ("MSMQ.MSMQMessage") qQueue.FormatName = "DIRECT=OS:pedro-roriz\aspq" Set qReceive = qQueue.Open(2,0) Set qMessage = qReceive.Receive (0 , true , true , 100) -- Here i get a error: Access is denied I went to my queue, and turned all permissions on to every user group that i found there...still nothing. Any help? Thanks Pedro Roriz

    ASP.NET data-structures tutorial

  • How to send information to a message queue
    G Goodberrie

    Hi there. I need to have some ASP page that sends and places information in a message queue, and also how to make the opposite, read from a message queue. (using windows message queuing.) Thanks in advance, Pedro Roriz

    ASP.NET data-structures tutorial
  • Login

  • Don't have an account? Register

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