Smart Image Processor ASP 2 Support Product Page

Answered

SIP2 Error Server Map Path

Asked 30 Aug 2011 12:23:15
1
has this question
30 Aug 2011 12:23:15 David Breschi posted:
hi, would like to use SIP2 to resize image on my website but i have this error...

Server.MapPath() error 'ASP 0175 : 80004005'

Caratteri non consentiti nel percorso

/ScriptLibrary/incSIP2Class.asp, line 508

Impossibile utilizzare i caratteri ".." nel parametro Path del metodo MapPath.

the line is

If InStr(m_File, ":\" = 0 and InStr(m_File, "\\" = 0 Then m_File = Server.MapPath(m_File)

i use the extension with ASP Pure Upload 3.

in my server i do not have permission to file path, but only to virtual path...

how i solve this case?

Replies

Replied 30 Aug 2011 16:15:06
30 Aug 2011 16:15:06 David Breschi replied:
problem solved... changing this

uploadimmagineGallery.UploadFolder = """../gallery"""

in this

uploadimmagineGallery.UploadFolder = """/gallery"""

in Pure Asp Upload...
Replied 01 Sep 2011 10:07:03
01 Sep 2011 10:07:03 Miroslav Zografski replied:
Hello David,

Probably the Parent Paths are also disallowed on your server.

Reply to this topic