Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3226504
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:27:52+00:00 2026-05-17T16:27:52+00:00

I have the following problem: I am trying to log messages to the remote

  • 0

I have the following problem:

I am trying to log messages to the remote private message queue. To do this I am using Enterprise library 5.0 and msmq trace listener in my application. Unfortunately, I always end up with the following error:

Exception Type: System.Messaging.MessageQueueException
MessageQueueErrorCode: IllegalFormatName
Message: Format name is invalid.
ErrorCode: -2147467259

This is the queue path I am using:

FormatName:Direct=TCP:192.168.1.1\Private$\MyPrivateQueue

  1. When I create MSMQ message directly (not using EntLib) and use above mentioned queue path, everything works fine.
  2. Also, when I change queue path to local private queue and use EntLib, message is also
    sent correctly and this is why I am confused.

As I understand, 1) shows that remote message queue is accessible and queue path is correct and 2) shows that EntLib Logging application block settings are correct.

If anyone has any idea what could be the problem or you need clarification on anything please feel free to comment.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T16:27:53+00:00Added an answer on May 17, 2026 at 4:27 pm

    I found my problem. It appears I was not so careful and wrote this in the config file:

    FormatName:Direct=TCP:192.168.1.1\\Private$\\MyPrivateQueue

    and it should be like this:

    FormatName:Direct=TCP:192.168.1.1\Private$\MyPrivateQueue

    So, if anyone had a similar problem, here is the solution

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following problem... I was trying to merge a remote branch into
I'm a newbie in bash scripts and have the following problem : I'm trying
Trying to use JSTL but have the following problem: Index.xhtml page: <?xml version=1.0 encoding=UTF-8?>
I am trying to solve the following problem with Puppet: I have multiple nodes.
I'm trying to solve the following problem in Redis. I have a list that
I am trying to solve the following problem. Lets say you have the the
I have the following code, The problem is when I'm trying to assign the
I have a bit of a problem. I am trying to do the following
I'm facing a problem when trying to log my application using log4net. My application
I have a problem in NServiceBus 3. I'm trying to send messages to an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.