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
Rodney Johnson
NA
80
0
File.Move of HttpPostedFileBase file
May 31 2019 5:46 PM
I have a web page that takes an uploaded file, processes it then I am attempting to move it to another file folder. This all happens on a single server.
The import UI looks like this:
This is the .cshtml for the UI
This is the controller method attempting to move the file
I am getting the error:
However, I know the file is not being used by anyone else during this process. I have tested the process on several files.
In the controller, I am both closing and disposing of the file input stream.
Please help me resolve this matter.
Thank you,
Update: I am using ASP Net MVC 5 in VS 2017
Reply
Answers (
1
)
Creating Abstract class instance
in Asp.net i have used update panel in that file upload err