Quantcast
Channel: CRM Development 論壇
Viewing all articles
Browse latest Browse all 10280

Operation time out error in Microsoft dynamics GP 2010

$
0
0

Hi All,

I am new to GP. I have installed Microsoft dynamics GP 2010 and and also the webservices and econnect is there.

But I am using only the Webservice to insert data or get the data from GP.

Here is the sample code I am using. But always I am getting the error as” The operation has timed out”.

               objGP.UseDefaultCredentials = true;
                // Specify which company to use 
                companyKey = new CompanyKey();
                companyKey.Id = 1;

                // Set up the context object           
                objContext.OrganizationKey = companyKey;
                objContext.CultureName = "en-US";

                CustomerKey objCustomerKey = new CustomerKey();
                objCustomerKey.Id = "ABC1101";
                objGP.GetCustomerByKey(objCustomerKey, objContext);

When the line "objGP.GetCustomerByKey(objCustomerKey, objContext);" it is giving me the error.

Please help me how to fix it. Even when I am trying to insert a record I am getting the same error.

Regards,

Priya.



Viewing all articles
Browse latest Browse all 10280


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>