Solved

myBitmap.Save(Server.MapPath)

Posted on 2007-04-05
1
206 Views
Last Modified: 2013-12-17
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
Comment
Question by:oksum73
1 Comment
 
LVL 22

Accepted Solution

by:
p_davis earned 50 total points
ID: 18864400
(@"\snap\" + sNom) if snap is a directory or computer name.
or("\\snap\\" +sNom)
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question