S
silvia.rafat
Dear,
i'm developping a web application that where clients may
1- upload images to DB (SQL Server).
2- view the image from DB.
i store the images in DB through the data type 'image'
to upload images i open a file stream (on client machine) and read the
data from the image file as byte()
the same way i do for viewing the images
i creat a temperory file stream (on server) and read the byte() from db
so i can give the image web control a path to show the image
[i failed to find another way , or even creat a file on client
machine ]
the problem i had is the IO Exception access denied in both reading and
writing the file stream, i even changed the defaul windows
authentication...
to forms authentication.. & still give me the same exception althought
when i traced the User.Identity ..he is login & authenticated
Pleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeas
help i spend alot of of time and failed to find any solution
great thanx for any 1 helps me
i'm developping a web application that where clients may
1- upload images to DB (SQL Server).
2- view the image from DB.
i store the images in DB through the data type 'image'
to upload images i open a file stream (on client machine) and read the
data from the image file as byte()
the same way i do for viewing the images
i creat a temperory file stream (on server) and read the byte() from db
so i can give the image web control a path to show the image
[i failed to find another way , or even creat a file on client
machine ]
the problem i had is the IO Exception access denied in both reading and
writing the file stream, i even changed the defaul windows
authentication...
to forms authentication.. & still give me the same exception althought
when i traced the User.Identity ..he is login & authenticated
Pleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeas
help i spend alot of of time and failed to find any solution
great thanx for any 1 helps me