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

  • Home
  • SEARCH
  • 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 7611861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:46:03+00:00 2026-05-31T01:46:03+00:00

We use Microsoft.Samples.BizTalk.Adapter.Common library for our custom SMTP Receive Adapter. Everything seems fine except

  • 0

We use Microsoft.Samples.BizTalk.Adapter.Common library for our custom SMTP Receive Adapter. Everything seems fine except one situation. The message stucks if it larger than approximatly 5 MB and it includes more than two attachments. Our adapter is run on isoletadHost. In query window we see that the message stay in active status. During our investigation we found that it stucks in a batch.Wait() method. Any other messages handling well. We are running Biztalk 2006 Standart.
Could anyone provide us with any suggestion?

SyncReceiveSubmitBatch batch = new SyncReceiveSubmitBatch(transportProxy, terminator, 1);
                Int32 count = 0;
                foreach (IBaseMessage msg in messages)
                {
                    try
                    {
                        batch.SubmitMessage(msg, null);
                        count++;
                    }
                    catch (Exception ex)
                    {
                        try
                        {
                            msg.SetErrorInfo(ex);
                            batch.MoveToSuspendQ(msg);
                            ThreadContext.Properties["EventID"] = 1007;
                            logger.Error("Submit Error", ex);
                        }
                        catch (Exception ex2)
                        {
                            ThreadContext.Properties["EventID"] = 1008;
                            logger.Error("Suspend Error", ex2);
                        }
                    }
                }
                if (count != 0)
                {
                    batch.Done();
                    if (batch.Wait())
                    {
                        ThreadContext.Properties["EventID"] = 1009;
                        logger.Debug("Messages publised");
                    }
                    else
                    {
                        ThreadContext.Properties["EventID"] = 1010;
                        logger.Warn(String.Format("Publish  error. Sucssefully publised {1}, error in {0} messages", batch.FailedMessages.Count, count - batch.FailedMessages.Count));
                    }
                }
                else
                {
                    ThreadContext.Properties["EventID"] = 1011;
                    logger.Warn("No message found");
                }

  • 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-31T01:46:04+00:00Added an answer on May 31, 2026 at 1:46 am

    This fix: http://support.microsoft.com/kb/928078 helped to solve the problem. Thanks all.

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

Sidebar

Related Questions

We use Microsoft Smart client, Enterprise Library, Composite Application Block and Infragistics and some
In Microsoft's F# samples , they use the >> operator as follows: test |>
I use Microsoft SQL server to save and retrieve DateTime . But in our
I use Microsoft Visual SourceSafe for version control. I would like to change this
Is it possible to use Microsoft Entity Framework with Oracle database?
I am trying to use Microsoft's CLRProfiler to profile my fairly large app, and
Since I can't use Microsoft as an example for best practice since their exception
I want to use Microsoft.Office.Interop.Excel dll to write the data into excel sheet. I
Can I use Microsoft Development Studio (a.k.a. Visual C++ 6), but replacing its awful
I have a static std::vector in a class. When I use Microsoft's memory leak

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.