access path denied

Posted by Sreejesh Kumar on Stack Overflow See other posts from Stack Overflow or by Sreejesh Kumar
Published on 2010-02-13T05:19:53Z Indexed on 2010/05/13 23:04 UTC
Read the original article Hit count: 295

Filed under:

I had applied the following code as said by you :

byte[] b = YourByteArrayFromDb;
File.WriteAllBytes(MyFilePath, b);

But I am receiving an exception "Access to the path is denied". How do I solve this using ASP.Net with C# ? And is there any format to set the path as string ?

© Stack Overflow or respective owner

Related posts about ASP.NET