TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
panse vaishali
NA
204
23.9k
Generic Error Occurred in GDI
Dec 6 2016 7:32 AM
Hi,
I am facing issue Generic Error Occured in GDI while uploading images to server ,i am using azure portal.
My code is as follows:
[05:58:42 PM]
string directoryPath = @"~\PostImage\";
Image image = Image.FromStream(postedFile.InputStream);
string Filepath = Server.MapPath(directoryPath);
string Filename = Filepath + "PostImageFile.jpg";
result.FieldName = Filename;
image.Save(Filename, ImageFormat.Jpeg);
Please suggest a solution for above error.
Thanks and regards
Prachi Kulkarni
Reply
Answers (
2
)
Why is an out parameter not allowed within an anonymous meth
What are the advantages and disadvantages ...