Hello,
I tried to use the instr() function in an aspx page, however I received an error on a pop-up dialog box that reads:
An exception 'system.stackoverflowexception' has occurred in /LM/W3SVC/8/Root-1-126747-864778437500.
and it gives a list of possible debuggers (MS CLR debugger or MS Development Environment).
This is what's causing it:
<script language="VB" runat="server">
...
Function lastFolder(folder)
Dim i As Integer
lastFolder = Split(lastFolder, "/"
If instr(1, lastFolder(UBound(lastFolder)), ".asp" > 0 Then
i = (UBound(lastFolder) - 1)
Else
i = UBound(lastFolder)
End If
Return lastFolder(i)
End Function
...
</script>
Does anyone know what this means or how I can appropriately use this function without generating an error?
-Ovatvvon :-Q
I tried to use the instr() function in an aspx page, however I received an error on a pop-up dialog box that reads:
An exception 'system.stackoverflowexception' has occurred in /LM/W3SVC/8/Root-1-126747-864778437500.
and it gives a list of possible debuggers (MS CLR debugger or MS Development Environment).
This is what's causing it:
<script language="VB" runat="server">
...
Function lastFolder(folder)
Dim i As Integer
lastFolder = Split(lastFolder, "/"
If instr(1, lastFolder(UBound(lastFolder)), ".asp" > 0 Then
i = (UBound(lastFolder) - 1)
Else
i = UBound(lastFolder)
End If
Return lastFolder(i)
End Function
...
</script>
Does anyone know what this means or how I can appropriately use this function without generating an error?
-Ovatvvon :-Q