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
somanath mishra
NA
13
3.7k
FileResult method is not downloading file.
Aug 26 2016 4:13 AM
when i click from browser "Download button" it will download my log file which is present in App_Data. my code was
[HttpGet]
public FileResult LogsDownload()
{
return File("~//App_Data//log.txt","text/plain","log.txt");
}
and i am calling this method through ajax from view page.But it returning error that "Process cannot access this file because it is using by another process".
plz help me.Thank you
Reply
Answers (
1
)
how to pass mutiple city id for each loop
Data Gridview Scroll bar