Hola amigos:
Tengo este código
strPath="../../html/" & Session("archivo")
Set ConexionTxt = CreateObject("Scripting.FileSystemObject")
Set Archivo = ConexionTxt.OpenTextFile(Server.MapPath(strPath ))
en mi terminal de trabajo funciona muy bien. Pero una vez que lo publico en
un servidor web de pago, me da este error
Server.MapPath() error 'ASP 0175 : 80004005'
Disallowed Path Characters
/demos/webs/cliente/monitor/editor/textbox.asp, line 28
The '..' characters are not allowed in the Path parameter for the MapPath
method.
He probado darle la ruta física y nada. En vez de utilizar
OpenTextFile(Server.MapPath(strPath)) he usado OpenTextFile(ruta física).
Para asegurarme de la ruta física, utilizo este código
path = Server.MapPath("./")
Response.Write path
en un archivo asp aparte. ¿alguna sugerencia?. Se trata de abrir archivos de
txt para ser editados en un editor en línea.
Muchas gracias
____________________________________________________________________________________
SyMC
Suerte es la ayuda que te da la vida... Destino es lo que haces con esta
ayuda
Comparte con los demás, es la mejor manera de crecer y quererse más
El SP2 lo puedes bajar desde
http://www.microsoft.com/downloads/...p;FamilyID9c9dbe-3b8e-4f30-8245-9e368d3cdb5a
El artículo de JM Tella sobre como integrar SP2 con el Xp esta en
http://www.multingles.net/docs/xpsp2.htm
Ad-aware SE en español:
http://www.lavasoft.de/spanish/
spywareblaster:
http://www.ct7support.com/javacool/...nload.html
Spybot - Search & Destroy
1.3:
http://www.zonavirus.com/descargas/spybotsd13.exe
The Cleaner
http://www.moosoft.com/
CWShreader, Hijackthis
http://www.majorgeeks.com/download4086.html
Leer las respuestas