Wednesday, February 08, 2012     | Register
Welcome to the Support Forums

In order to post to the support forums, you must be logged in as a registered user.


These forums are not moderated and may not be checked for a few days, so any important support issues should be emailed directly to support at orizonti.com for the fastest response.

Orizonti Forums
Subject: Photo Upload Error - IE8

You are not authorized to post a reply.   
Author Messages
Gussie
Posts:1

3/25/2010 5:59 AM Alert 
I am using IE 8. Could this be the reason I am unable to upload images? What should I do?
Error message : A critical error has occurred.
StartIndex cannot be less than zero. Parameter name: startIndex
alessandrodallatorre
Posts:1

4/08/2010 5:22 AM Alert 
The same problem occured to me. I found a bug in MediaGalleryDb.vb file.

If you buyed sources you can update the following method:

Public Function GetFileName(ByVal strLongFilePath As String) As String
Dim intFileNameLength As Integer = InStr(1, StrReverse(strLongFilePath), "\")
''the following three lines of codes has been added as a workaround
If intFileNameLength = 0 Then
Return strLongFilePath
End If
Return Mid(strLongFilePath, (Len(strLongFilePath) - intFileNameLength) + 2)
End Function
You are not authorized to post a reply.
Forums > Orizonti DNN Module Support > Media Gallery > Photo Upload Error - IE8



ActiveForums 3.6
Copyright (c) 2012 Orizonti Group Inc.   |  Privacy Statement  |  Terms Of Use