Error occuring while trying to test import in XAMSDK example
Hi,
I am trying to test import functionality in XAMSDK example. Its giving me two types of errors :-
i) if i enter c:\ABC.doc in the console for filename, it generates an error number 1003 xam/invalid parameter at Imports.XStream_Write(streamh, myBuffer, count, outwritten);. At the end it displays an error as xam/object in use. [XSet_Close].
ii) if i enter c:\test.txt in the console for filename, it generates an error number 1024 xam/xset corrupted atImports.XStream_Close(streamh);.At the end it displays an error as xam/xset corrupted. [XSet_Close].
Can anyone please help me resolving this issue. I am unable to get hold of the reason why this problem (stated earlier in this discussion thread) is happening. When i am calling ImportTest() function from TestHarness project, I am getting 2 types of error while trying to import files to centera :
i) Error Number: 1024 xam/set corrupted statement at line Imports.XStream_Close() in XStream class in XAMSDK project.
ii) Error Number: 1003 xam/invalid parameter (at line Imports.XStream_Write()) in XAMSDK project.
Write() and Close() functions (class XStream) in XAMSDK are not giving any error when i am calling MultiPartWriteTest(), MultiPartWriteTest2(), XSetCreateTest(), ExportTest().
Ok - so first up, you are using the .NET wrapper for XAM. This is an OpenSource program hosted on CodePlex, it is not an official EMC product.
I am the author of the wrapper but unbfortunately due to hardware issues I have no development machine that I can run any tests on, and I am out of the office until mid May. I will endeavour to have at look at it for you then.
Shweta_Jain
7 Posts
315
0
Posted April 29th, 2010 23:00
Hi,
Can anyone please help me resolving this issue. I am unable to get hold of the reason why this problem (stated earlier in this discussion thread) is happening. When i am calling ImportTest() function from TestHarness project, I am getting 2 types of error while trying to import files to centera :
i) Error Number: 1024 xam/set corrupted statement at line Imports.XStream_Close() in XStream class in XAMSDK project.
ii) Error Number: 1003 xam/invalid parameter (at line Imports.XStream_Write()) in XAMSDK project.
Write() and Close() functions (class XStream) in XAMSDK are not giving any error when i am calling MultiPartWriteTest(), MultiPartWriteTest2(), XSetCreateTest(), ExportTest().
Regards,
Shweta