Answered Index was outside of bounds of the array

  • Thursday, January 25, 2007 8:52 PM
     
     

    Hi !

    We have a major bug appearing on some of Team Explorer clients when trying to access any WorkItems functionalities but only on specific Trial server, but connecting those clients to other servers doesn't produce the error, and with some other clients everything works well.

    Here is the error shown :

    Microsoft Visual Studio, Index was outside of bounds of the array.

    (in other forum's thread, it's mentionned to delete registration keys to workaround the bug, but unfortunately this doesn't work for us)

    Any idea what the problem is ?

     

Answers

All Replies

  • Thursday, January 25, 2007 9:45 PM
     
     
    Is the server or client localized? We had some issues with localized versions that got fixed later.
  • Friday, January 26, 2007 8:27 PM
     
     

    Hi Naren !

    None of them should be localized, although I didn't verify if some are en_CA instead of en_US (I will double check) ... (I've now done the check on most of the machines, and those were all en_US)

    The stangest things is that some of clients doesn't have the problem at all, and the others are only facing it with that same server.

     

  • Tuesday, January 30, 2007 5:44 PM
     
     Answered

    Hi, without repro steps to repro it on our end, I am guessing this might be the same cause as in http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=797688&SiteID=1 and both have same error message. I raised a bug on that issue and we'll investigate with reprosteps given in that thread. If you happen to find reprosteps for this issue, please do send us.

    Thanks.

  • Tuesday, January 30, 2007 7:22 PM
     
     

    Unfortunately, I  tried the proposed solution few days ago after finding that thread.

    BTW, I don't know if really related but on my own machine, where I didn't faced the problem, I got it surfaced today right after I've entered our new purchased license on this server. (and after further investigation : another dev got the same behavior (working yesterday but not this afternoon), although it is still working fine with a 3rd one)

    Although I don't have much clues/reprosteps yet, I wish to provide you has much infos. (In such case, maybe you can contact me, Chris Cooper has my contacts since we are working together on some other issues)

     

  • Tuesday, February 06, 2007 9:14 PM
     
     

    We are encountering the same error in an application when we are trying to import XML data

    Te application is an Excel smart document. The error is being reproduced all the time.

    The sheet data is being populated but with the exception that returns Index was outside of bounds of the array error

    Microsoft.Office.Interop.Excel.XlXmlImportResult xl =new Microsoft.Office.Interop.Excel.XlXmlImportResult();

    xl = Globals.ThisWorkbook.XmlImportXml(XMLDataset, out xmlMap1, true, range1);

     

    Thank you,

    Dmitry