Re: IO Exception in ASP .NET

From: Elmer Carķas (elmer_carias_at_hotmail.com)
Date: 01/14/05


Date: Fri, 14 Jan 2005 13:46:35 -0600

if you are using impersonate=true then you have to give rigths in the folder
of ourt application , but if you dont use that, you have to give full rigths
to APSNET account for the directory where you are saving the file.

Elmer Carķas
El Salvador, CA
MSN: elmer_carias@hotmail.com

<silvia.rafat@gmail.com> wrote in message
news:1105731026.581405.66470@f14g2000cwb.googlegroups.com...
> 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
>



Relevant Pages

  • Re: IO Exception in ASP .NET
    ... > 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 ... > i creat a temperory file stream and read the bytefrom db ... > to forms authentication.. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IO Exception in ASP .NET
    ... MIME type you're sending), and saves the image to the Response.OutputStream. ... > to upload images i open a file stream (on client machine) and read the ... > i creat a temperory file stream and read the bytefrom db ... > to forms authentication.. ...
    (microsoft.public.dotnet.framework.aspnet)

Loading