Server Error in '/' Application.

Value cannot be null.
Parameter name: input

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: input

Source Error:


Line 35:     Dim KitSKU As String = Sql.ReadField("SELECT KitSKU FROM AllMaterialsOther WHERE ID="&ID)
Line 36: 	'DM.Debug(KitSKU)
Line 37:     Dim substring() As String = Regex.Split(KitSKU, Position)
Line 38:     Dim check_individual_item As Boolean
Line 39:     Dim j As integer

Source File: D:\WebSites\Live Non SPS\Blank Dog Tag\Webengine\vProduct.aspx    Line: 37

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.Split(String input) +3431058
   System.Text.RegularExpressions.Regex.Split(String input, String pattern) +97
   ASP.vproduct_aspx.Page_Load() in D:\WebSites\Live Non SPS\Blank Dog Tag\Webengine\vProduct.aspx:37
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0