Skip to main content
Solved

Error: Index was outside the bounds of the array

  • October 19, 2021
  • 13 replies
  • 692 views

Forum|alt.badge.img+14

Hi all,

We have user that suddenly gets this error:

 

Anyone know what to do about it?

Best answer by Hans Andersen

@Manoj Ruwanhewa , @Bhagya Wickramasinghe , @Ben Monroe ,

We had to recreate the profile. Not optimal, but it is working now.

This topic has been closed for replies.

13 replies

Manoj Ruwanhewa
Superhero (Partner)
Forum|alt.badge.img+15
  • Superhero (Partner)
  • 153 replies
  • October 19, 2021

Hi @Hans Andersen , what is the IFS application track and the UPD level?


Forum|alt.badge.img+13

Hi @Hans Andersen,

How did you get this error?
Was it when you opened this screen? Or was it when you tried to perform a particular operation?

Could you open the debug console and identify the method call which generates this error. Further re-execute it in the DB to identify the origin of the error. If possible please provide a screenshot.

Thanks!
Bhagya


Forum|alt.badge.img+14
  • Author
  • Hero (Partner)
  • 241 replies
  • October 19, 2021

The error comes at start up and then when navigating to a page.

I can replace the profile and it is working. But when importing the original profile the error comes back (the exported xml file also looks small, 600kb).

Debugger:

Apps 10.10


Forum|alt.badge.img+15
  • Superhero (Employee)
  • 182 replies
  • October 19, 2021

IEE is downloaded into a per-user profile via Microsoft functionality called ClickOnce. Most likely it has become corrupt. Please try to clear the cache and re-download IEE. There are two ways to do this:

  1. rundll32 dfshim CleanOnlineAppCache
  2.  rd /s /q %localappdata%\Apps\2.0

Option 1 is the preferred method. Only try the second if not successful. Be sure to close IEE before running either option.

 


Forum|alt.badge.img+14
  • Author
  • Hero (Partner)
  • 241 replies
  • October 19, 2021

@Ben Monroe ,

I’ll try that.


Forum|alt.badge.img+15
  • Superhero (Employee)
  • 182 replies
  • October 19, 2021

Hi @Hans Andersen,

 

Can you please click “View Detail” on the error dialog and share the complete error message? Thank you.


Forum|alt.badge.img+14
  • Author
  • Hero (Partner)
  • 241 replies
  • October 19, 2021

Sure.

 


Forum|alt.badge.img+15
  • Superhero (Employee)
  • 182 replies
  • October 19, 2021

It shows that it unable to find a resource file. If this works on other computers (or even the same computer but with a different Windows user login), then I still suspect that the ClickOnce location that IEE is downloaded to is corrupt. Can you try to clear it as explained previously?


Forum|alt.badge.img+14
  • Author
  • Hero (Partner)
  • 241 replies
  • October 19, 2021

@Ben Monroe,

Tried your suggestions. Still same error. 

Error on different windows login, different computers, different application files. Ok with other profiles.


Forum|alt.badge.img+14
  • Author
  • Hero (Partner)
  • 241 replies
  • Answer
  • October 20, 2021

@Manoj Ruwanhewa , @Bhagya Wickramasinghe , @Ben Monroe ,

We had to recreate the profile. Not optimal, but it is working now.


Forum|alt.badge.img+15
  • Superhero (Employee)
  • 182 replies
  • October 20, 2021

@Hans Andersen Thanks for the update. Glad that you got the issue resolved.


SaraCrank
Sidekick (Customer)
Forum|alt.badge.img+9
  • Sidekick (Customer)
  • 85 replies
  • May 12, 2022

@Hans Andersen - I’m running into this same issue. I’ve deleted the users personal profile and cleared the cache afterwards and we were OK for about 2 months. Did you recreate their personal profile or base profile?

 

IFS10 UPD10


Forum|alt.badge.img+14
  • Author
  • Hero (Partner)
  • 241 replies
  • May 15, 2022

@SaraCrank ,

I exported a similar profile (did not have a back-up):

Then imported is as the corrupt one.

No problem since. But we do now back up the profiles regularly.