Transforming xml using transformNodeToObject method
as below using VB Script:
OS:Windows Server 2012;
MSXML 6.0
Dim oData
set oData = createobject("MSXML2.DOMDocument.6.0")
With oData
.Async = False
If Not .LoadXML(DataNode) Then alert "Cannot load DataNode. " & .parseError.reason
End With
dim oTmp
Set oTmp= createobject("MSXML2.DOMDocument.6.0")
oData.transformNodeToObject style,oTmp
I am getting the below error in Windows
Server 2012.
-2147024882 Not enough storage is available to complete this operation.
This error is occurring only in Windows
Server 2012. The above code is working fine with Windows
7 (MSXML). I have noticed the product name of msxml6.dll in Windows
7 is MSXML
6.0 SP3 and it is Microsoft
XML Core Services in Windows
Server 2012. Also I have noticed the task manager, it is taking more memory in Windows
Server 2012.
The above code is working fine in all lower version of OS except Windows
Server 2012. Please give the solution for this.