Solved

File upload iis 7.5

Posted on 2014-04-25
3
384 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
3 Comments
 
LVL 17

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 500 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
A Change in PHP Behavior with Session Write Short Circuit (http://php.net/manual/en/book.session.php#116217) (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

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