Solved

myBitmap.Save(Server.MapPath)

Posted on 2007-04-05
1
205 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

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…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…

810 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