yes the directory it changes it goes 2 dir up,
in my machine is
Code:
Dim FILE_NAME AsString = "../DATA/Templates/" & Me.Label1.Text & ""
Dim objReader AsNew System.IO.StreamReader(FILE_NAME)
on the server i changed it to :
Code:
Dim FILE_NAME AsString = "../../../DATA/Templates/" & Me.Label1.Text & ""
Dim objReader AsNew System.IO.StreamReader(FILE_NAME)
the error i get in the browser is:
Could not find a part of the path 'c:\windows\system32\..\..\Data\templates\textfile .txt