Hi guys, I have a difficulty in uploading a file via msxml 4.0 sp2 from client to server database. It gives me error message: Not enough storage is available to complete this operation The file size is 70MB. The machine environment is: - 3 GB RAM - More than 5GB disk space - 2GB Virtual Memory - VB6 I able to upload a file with file size 50MB+. The technical part that create error: .dataType = "bin.base64" .nodeTypedValue = < file in binary with 70MB > I have done research on the issue and there's no definite answer on it. Hope you guys can help me >.< Many thanks!
There is a limit on posted message data set by the receiving server. Or is the error occurring when you try to convert the data to Base 64? -- Joe Fawcett (MVP - XML) http://joe.fawcett.name "Darryl Lee" <Darryl Lee@discussions.microsoft.com> wrote in message news:AB061640-2581-4B2F-8133-CB30DE293635@microsoft.com... > Hi guys, > > I have a difficulty in uploading a file via msxml 4.0 sp2 from client to > server database. > It gives me error message: > > Not enough storage is available to complete this operation > > The file size is 70MB. > > The machine environment is: > - 3 GB RAM > - More than 5GB disk space > - 2GB Virtual Memory > - VB6 > > I able to upload a file with file size 50MB+. > > The technical part that create error: > .dataType = "bin.base64" > .nodeTypedValue = < file in binary with 70MB > > > I have done research on the issue and there's no definite answer on it. > Hope you guys can help me >.< > > Many thanks!
"Darryl Lee" <Darryl Lee@discussions.microsoft.com> wrote in message news:AB061640-2581-4B2F-8133-CB30DE293635@microsoft.com... > Hi guys, > > I have a difficulty in uploading a file via msxml 4.0 sp2 from client to > server database. > It gives me error message: > > Not enough storage is available to complete this operation > > The file size is 70MB. > > The machine environment is: > - 3 GB RAM > - More than 5GB disk space > - 2GB Virtual Memory > - VB6 > > I able to upload a file with file size 50MB+. > > The technical part that create error: > .dataType = "bin.base64" > .nodeTypedValue = < file in binary with 70MB > > > I have done research on the issue and there's no definite answer on it. > Hope you guys can help me >.< > What are you uploading to? Are you using XmlHttp? Why would you want to stuff 70MB of data into an XML file? 70MB binary = 93MB base64. What component is actually throwing the error, the client side code or the server. -- Anthony Jones - MVP ASP/ASP.NET
------------------------- There is a limit on posted message data set by the receiving server. Or is the error occurring when you try to convert the data to Base 64? ------------------------- The error message appread right during the binary value is assign to .nodeTypedValue. The "< file in binary with 70MB >" is a function where it converts a 70MB+ .pdf file (or any file that 70MB+) to byte() array. The function is processed smoothly ------------------------ What are you uploading to? Are you using XmlHttp? Why would you want to stuff 70MB of data into an XML file? 70MB binary = 93MB base64. What component is actually throwing the error, the client side code or the server. ------------------------ These are the actual codes:- **************************************** Dim returnDom As New DOMDocument Set objValue2 = returnDom.createElement("BinaryData") objValue2.dataType = "bin.base64" objValue2.nodeTypedValue = GlobalFunc_GetFileBinaryContent(sOpenDocFile) **************************************** -I'm using DOMDocument -I want to use MSXML to upload a file from client vb6 to a website server, where the website will store the file as binary into SQL Server -The component throws the error at client side Thanks a lot for the replies. hope my info can help.
I'm still struggling in this issue. Really appreciate if anyone can help. Thanks a lot.