UNSOLVED

Shweta_Jain

updated

17 years ago

0

2474

April 26th, 2010 23:00

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, out written);. 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 at Imports.XStream_Close(streamh);.At the end it displays an error as xam/xset corrupted. [XSet_Close].

Regards,

Shweta

  • 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

  • gstuartemc

    2 Intern

    •

    417 Posts

    315

    0

    Posted May 4th, 2010 12:00

    Hi Shweeta

    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.

  • Gkerber

    15 Posts

    316

    0

    Posted August 4th, 2011 13:00

    I am having this same problem were you able to figure it out?