Index and length must refer to a location within the string. Parameter name: length
Posted on 2014-02-14
I am trying to figure out an old survey website that sends mass email to end users tu submit a survey
I am guessing the database generates itself some kind of webId.
I entered a test user to see if i can receive a generated webid generated in a link but it didn't generate.
Any sugggestion on how are such fields generated.
here is how the data looks on the database, so i guess, it is generated automatically somehow.
I tried to send an email to myself without a generated webID and this is the error i received.
Exception Details: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
+ webid.Substring(0, 4)