webForumDet fria alternativet

Vad är felet ?

1 svar · 163 visningar · startad av Tik

TikMedlem sedan juli 2002108 inlägg
#1

Felmeddelande:

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

Invalid Path Character(s)

/class.asp, line 1572

An invalid '/' or '\' was found in the Path parameter for the MapPath method.

Koden ser så här ut:

If strLocationType = "ABSOLUTE" Then
strTemp = strLocation & "\" & strName
Else ' VIRTUAL
strTemp = Server.MapPath(strLocation & "/" & strName)
End If

VideMedlem sedan dec. 19998 577 inlägg
#2

Vad innehåller variablerna strLocation och strName?

140 ms totalt · 3 externa anrop · v20260731065814-full.fb544a5a
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
126 ms — hämta tråd, inlägg och bilagor (db)