[ARCR]
Action: when a xml doc is read in by xmldocument(newfile) this method creates problems with files larger than 5MB error is about insufficient memory DEV for AX and the business connector (the problem appears with the BC as well) Result: Cause: When a large string is used then internal buffer is not big enough and some part of information is lost, then internal script interpreter fault with error because of this missing part. Resolution: 1) Setup MaxBufferSize On the AOS Server that the client will connect to change the MaxBufferSize registry subkey. To do this, follow these steps: a. Click Start , click Run , type regedit , and then click OK . b. In Registry Editor, locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dynamics Server\5.0Then pick the AOS instance you are using for the import and then pick the configuration for that AOS that you are currently using. c. Locate the the MaxBufferSize value. If you do not find the MaxBufferSize value, add one. The MaxBufferSize value has the String type. d. Set the value to a number that is larger than the size of the file that you want to upload or to 0. 2) Setup MaxRPCSize Increase the RPC packet size on both the client and the AOS. To do this, follow these steps: a. Click Start , click Run , type regedit , and then click OK b. In Registry Editor, locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc c. Add a new DWORD value that is named MaxRpcSize to this registry subkey. d. Set the value of the MaxRpcSize registry entry to a value that is larger than the size of the file that you want to upload. e. Close Registry Editor. 3) Setup MaxBufferSIze of AXC file. added into AXC file new line: maxbuffersize, text, 0 Best Regards Kim Truelsen Escalation Engineer IV | Microsoft Dynamics Ax |Microsoft Denmark| Tuborg Boulevard 12, DK-2900 Hellerup | Phone:+45 4489 0100 / Fax: +45 4468 5510 | Email: ktrue...@microsoft.com|<mailto:ktrue...@microsoft.com%7c> Phone direct/mobile +45 4489 0786 / +45 29499958 [Description: Description: http://cssweb/sites/emea/Site%20images/email-logo.gif] [Description: Description: Microsoft Dynamics] <http://www.microsoft.com/dynamics/> Please visit our Support Team blog: http://blogs.msdn.com/emeadaxsupport/default.aspx ________________________________ If you have any feedback about my work, please let either myself or my manager Tommy Jakobsen know at tjako...@microsoft.com<mailto:%20tjako...@microsoft.com> Note: This email may contain confidential information. If you are not named on the addressee list, please take no action in relation to this email, do not open any attachment and please contact the sender (details above) immediately. From: Axapta-Knowledge-Village@yahoogroups.com [mailto:axapta-knowledge-vill...@yahoogroups.com] On Behalf Of Amit Jain Sent: 8. april 2010 10:29 To: Axapta-Knowledge-Village@yahoogroups.com Subject: Re: [Axapta-Knowledge-Village] Size of XML file while importing - Ax2009 From the error it looks like that issue is with your HDD space. Just check your HDD space. Regards Amit --- On Thu, 8/4/10, Anitha Santosh <mail2eani...@gmail.com<mailto:mail2eani...@gmail.com>> wrote: From: Anitha Santosh <mail2eani...@gmail.com<mailto:mail2eani...@gmail.com>> Subject: Re: [Axapta-Knowledge-Village] Size of XML file while importing - Ax2009 To: Axapta-Knowledge-Village@yahoogroups.com<mailto:Axapta-Knowledge-Village@yahoogroups.com> Date: Thursday, 8 April, 2010, 12:54 PM Sumit, Biztalk shows this error : The adapter is unable to send the following message to Microsoft Dynamics AX: MessageId: aed34325-bdc6- 4053-825e- bac99f77a606 Error: Error executing code: Insufficient memory to run script. Regards, AnithaSantosh On Wed, Mar 31, 2010 at 6:00 PM, Sumit Loya <loya.su...@gmail. com<http://in.mc948.mail.yahoo.com/mc/compose?to=loya.su...@gmail.com>> wrote: Did you check in BizTalk? What error message does it show. I am sure the XML message must be "Dehydrated" or "Suspended" state in BizTalk if it has not reached AX and you can see the messages to ensure what has happened. Regards, Sumit On Wed, Mar 31, 2010 at 12:04 AM, Anitha Santosh <mail2eanitha@ gmail.com<http://in.mc948.mail.yahoo.com/mc/compose?to=mail2eani...@gmail.com>> wrote: Hi, I am importing a Genral journal XML which has multiple records . The size of the file is 8MB. The XML is generated from a third party and it is interfaced to Ax2009 via Biztalk. My concern is when this 6MB file is sent from the other end, it is not received in our side. There are no error messages either. Is there any size constraint for XML import?? Regards, AnithaSantosh ________________________________ Your Mail works best with the New Yahoo Optimized IE8. Get it NOW!<http://in.rd.yahoo.com/tagline_ie8_new/*http:/downloads.yahoo.com/in/internetexplorer/>.
<<inline: image001.gif>>
<<inline: image002.gif>>