• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

myBitmap.Save(Server.MapPath)

This works:

myBitmap.Save(Server.MapPath(sNom), ImageFormat.Jpeg);

This does not work:

myBitmap.Save(Server.MapPath("/snap/" + sNom), ImageFormat.Jpeg)

Yes I have write permisson on that folder.
0
oksum73
Asked:
oksum73
1 Solution
 
p_davisCommented:
(@"\snap\" + sNom) if snap is a directory or computer name.
or("\\snap\\" +sNom)
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now