?
Solved

File upload iis 7.5

Posted on 2014-04-25
3
Medium Priority
?
394 Views
Last Modified: 2014-05-16
Hi

I have developed an application to upload files using vs2010. my folder is set in the applicaiton root directory "data". while running files are not getting uploaded.

         Dim saveLocation As String = Me.Page.Server.MapPath("..\Data" & "\" & fileName.ToString())
                inputFile.PostedFile.SaveAs(saveLocation)

please let me know what are the rigts required for the folder
regards
0
Comment
Question by:bmkdubai
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Expert Comment

by:Emmanuel Adebayo
ID: 40024984
Hi,

You will need write or modify permission to the Data folder for the account that is running your application pool.

Regards
0
 

Author Comment

by:bmkdubai
ID: 40025324
hi
my application pool is default and network identity is networkservice.

please support
0
 
LVL 7

Accepted Solution

by:
Utkarsh Kulkarni earned 2000 total points
ID: 40029584
There is nothing wrong with your Application pool. In your website, for this "Data" folder, give write / modify permission to IIS User.

If you are checking in VS2010, then give either full control permission to this folder for user
logged in.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

743 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