Hi,
I got a problem showing images/pdf files on a website.
These images and pdf files are located on a local disk. (R:/LOCAL/PHOTO/....JPG)
I create the pathname and send this to a httphandler which should get the img/file from the local disk.
When I debug this offline it works, but when I deploy it online, it seems that the Httphandler can't reach the images on the local disk.
Shouldn't this be possible with a httphandler? Maybe there is another solution?
This is my code in the Httphandler:
public void ProcessRequest (HttpContext context)
{
string ID, contentType;
if (context.Request.QueryString["id"] != null)
{
ID = context.Request.QueryString["id"].ToString();
}
else
{
throw new ArgumentException("Geen parameter opgegeven");
}
string extension = Syste ...
Go to the complete details ...