RE: IO Exception in ASP .NET
From: sara (sara_at_discussions.microsoft.com)
Date: 01/14/05
- Next message: Kevin Spencer: "Re: W3WP at 100% CPU"
- Previous message: Juan T. Llibre: "MS Support home sites to get quick answers at..."
- In reply to: silvia.rafat_at_gmail.com: "IO Exception in ASP .NET"
- Next in thread: Elmer Carķas: "Re: IO Exception in ASP .NET"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 14 Jan 2005 11:41:04 -0800
Hi Silvia
try to upload ur image in the server and save in the db only the filename
when u request it from ur application dowunload it and pass from ur web
application the filename
try this maybe it's work
i try it before
"silvia.rafat@gmail.com" wrote:
> 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
>
>
- Next message: Kevin Spencer: "Re: W3WP at 100% CPU"
- Previous message: Juan T. Llibre: "MS Support home sites to get quick answers at..."
- In reply to: silvia.rafat_at_gmail.com: "IO Exception in ASP .NET"
- Next in thread: Elmer Carķas: "Re: IO Exception in ASP .NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|