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 8393867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:54:56+00:00 2026-06-09T19:54:56+00:00

I am having a problem with AIF in AX 2012 when it deals with

  • 0

I am having a problem with AIF in AX 2012 when it deals with a big amount of data that takes a long time. I am using the adapter NetTCP and I am having the following exception while consuming the web service using an WebForm application.

The open operation did not complete within the allotted timeout of 00:01:00. 
The time allotted to this operation may have been a portion of a longer timeout.

InnerException:The socket transfer timed out after 00:00:59.9990234. You have exceeded the timeout set on your binding.
 The time allotted to this operation may have been a portion of a longer timeout.

InnerException:A connection attempt failed because the connected party did not properly respond after a period of time, 
or established connection failed because connected host has failed to respond

The application code is basically ( I am even opening and closing the connection in each loop), like in the topic Error message: The open operation did not complete within the allotted timeout:

public void CreateFromCSVFile(Stream fileStream)
        {
            ExportingData_Test.VendVendServices.VendTableServiceClient VenSvcClient = new VendTableServiceClient();

            try
            {
                List<string[]> VendData = Helper.ImportCSVFile.ParseCSVFile(fileStream, true);

                foreach (string[] vendor in VendData)
                {
                      VenSvcClient = new VendTableServiceClient();

                       VenSvcClient.Endpoint.Binding.OpenTimeout = new TimeSpan(0, 1, 10, 0);
                       VenSvcClient.Endpoint.Binding.ReceiveTimeout = new TimeSpan(0, 1, 10, 0);
                       VenSvcClient.Endpoint.Binding.SendTimeout = new TimeSpan(0, 1, 10, 0);
                       VenSvcClient.Endpoint.Binding.CloseTimeout = new TimeSpan(0, 1, 10, 0);

                        VenSvcClient.Open();

                        //DO SOME OPERATION IN HERE
                        //Create the Vendor

                        entityKey = VenSvcClient.create(callContext, axdVendor);
                        VenSvcClient.Close();
                 }
            }
            catch (Exception ex)
            {
                String message = ex.Message;
            }
           finally
           {
               VenSvcClient.Close();
           }
        }

I tried to configurate the enhaced port using the Microsoft Service Configuration Editor, that is used to configure the WCF underneath, increasing most of the properties:

In Host:

  1. CloseTimeout to 00:10:00
  2. OpenTimeout to 00:10:00

In Bindings:

  1. MaxReceivedMessageSize to 1004857600. like in here advised.
  2. MaxBufferSize to 1004857600.
  3. MaxBufferPoolSize to 1004857600.
  4. ReceivedTimeout 01:10:00
  5. SendTimeout 01:10:00
  6. MaxBytesPerRead 1004857600
  7. InactivityTimeout 01:10:00
  8. ReliableSessionProperty false

But I am still getting the same error.

  • 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-06-09T19:54:57+00:00Added an answer on June 9, 2026 at 7:54 pm

    The same error is mentioned here.

    But the advice is to edit the parameters ReceiveTimeout and SendTimeout using Microsoft WCF Service Configuration Editor, which you may have done. Maybe double check that you hit the correct ports.

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

Sidebar

Related Questions

I am having problem using mvc:resources in spring 3.1 configuration. Initially i was working
having problem with null pointer exception and i read few article bout that error
I am having problem in using this font in my Application. I have imported
I having problem marshaling an iterator of objects using JAXB User class: @XmlRootElement(name=User) public
I am having problem rightnow because when I am logging in on mysql using
hi I'm having problem with my database. I'm using access as my database and
I am having problem transforming xml to xml using xsl. I found out where
I´m having problem using validation on DropDownListFor ... My Model : public class User
i am having problem that this following script generates Email address when page is
I am having problem with using REST and returning response as an XML. I've

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.