salve ragazzi,
ho un problema con un ecommerce.
in locale funziona tutto benissimo, però mettendolo online si verifica un problema ogni volta che inserisco un nuovo prodotto.
praticamente mi permette di scegliere la foto del prodotto direttamente dai file del mio pc tramite un pulsante "Sfoglia...".

Solo che appena confermo il tutto mi compare il seguente errore:
Server.MapPath() error 'ASP 0175 : 80004005'

Disallowed Path Characters

/ScriptLibrary/incPureUpload.asp, line 162

The '..' characters are not allowed in the Path parameter for the MapPath method.
la riga in rosso corrisponde a quella alla quale l'errore si riferisce:
codice:
  GP_keys = UploadRequest.Keys
  for GP_i = 0 to UploadRequest.Count - 1
    GP_curKey = GP_keys(GP_i)
    'Save all uploaded files
    if UploadRequest.Item(GP_curKey).Item("FileName") <> "" then
      GP_value = UploadRequest.Item(GP_curKey).Item("Value")
      GP_valueBeg = UploadRequest.Item(GP_curKey).Item("ValueBeg")
      GP_valueLen = UploadRequest.Item(GP_curKey).Item("ValueLen")

      'Get the path
      if InStr(UploadDirectory,"\") > 0 then
        GP_curPath = UploadDirectory
        if Mid(GP_curPath,Len(GP_curPath),1)  <> "\" then
          GP_curPath = GP_curPath & "\"
        end if         
        GP_FullPath = GP_curPath
      else
        GP_curPath = Request.ServerVariables("PATH_INFO")
        GP_curPath = Trim(Mid(GP_curPath,1,InStrRev(GP_curPath,"/")) & UploadDirectory)
        if Mid(GP_curPath,Len(GP_curPath),1)  <> "/" then
          GP_curPath = GP_curPath & "/"
        end if 
       GP_FullPath = Trim(Server.mappath(GP_curPath)) 
      end if
so che in aruba con il windows 2003 (mi pare) bisogna sostituire determinate condizioni ma non so davvero dove mettere le mani.

potreste aiutarmi?


grazie mille e buone feste a tutti!