How can we help you today? How can we help you today?

"System.IndexOutOfRangeException: Index was outside the bounds of the array" build error

When you use error reporting, feature usage reporting, and/or the lower levels of obfuscation*, SmartAssembly needs to store information about your builds in a database in order for those features to work.

In earlier versions of SmartAssembly, it would store the information in a .mdb database by default. However, since SmartAssembly 6.11 runs as AnyCPU and mdb connections are not possible with 32-bit processes, SmartAssembly now needs to store the information in a SQL Server database.

If a SQL Server database is not configured and you have error reporting, feature usage reporting, and/or the lower levels of obfuscation enabled, then you may encounter the following build error:

o84ud2dhxzz4.png

To resolve this, please go to Tools>Options>Reports database options and specify a SQL Server database for SmartAssembly to use.

--

* The lower levels of obfuscation refers to any of the following options:

Types/Methods Name mangling:
- I want to obfuscate using only ASCII characters.
- I want to obfuscate using only Unicode unprintable characters.

Fields Name Mangling:
- I want to use a one-to-one renaming scheme.
Jessica R
0

Comments

2 comments

  • MorganWillis
    after specifying a SQL Server I am still receiving that same error. Any other things that might be causing this?
    MorganWillis
    0
  • Jessica R
    Hi @MorganWillis,

    So sorry to hear that! I've opened a support ticket for you and will be in touch shortly.
    Jessica R
    0

Add comment

Please sign in to leave a comment.