It depends on your setup. Does the ASP page and the component reside on the same server, and are you trying to access an image on a different server? That is, does File.Path contain something like \\ServerName\ShareName\ImageName.jpg ?
In that case, take a look at this FAQ:
http://Imar.Spaanjaars.Com/QuickDocId.aspx?QUICKDOC=276
Otherwise, can you provide a bit more information about your setup and explain what calls what on which server?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.