Solved

Uploading Files  via fso to iis 8

Posted on 2014-09-03
5
591 Views
Last Modified: 2014-09-06
Just moved to a new server and my file system object code is not working.  I believe I have the permissions on each folder correctly set.  It worked fine on iis 7/windows server 2008.  Is there a setting somewhere?

Thanks
0
Comment
Question by:Bob Schneider
  • 3
5 Comments
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 250 total points
ID: 40300613
Can you point to the line of code that is causing the error.  

Make sure you are giving permissions for read, write, execute for the iis_iuser account to folders where the upload takes place and moved.

If you are using an upload component, make sure it is registered.  In windows 2008/2012 I believe it has to be in system32.
0
 
LVL 33

Assisted Solution

by:Big Monty
Big Monty earned 250 total points
ID: 40300868
Besides the IUSR accounts you may need to add permissions for the NETWORK SERVICES account, depending on which app pool you have assigned to your sites
0
 

Author Comment

by:Bob Schneider
ID: 40308073
The code is good but here is the line that is creating the problem: biData = Request.BinaryRead(Request.TotalBytes)

Is there a limit that needs to be increased?

I added NETWORK SERVICES  but to no avail.
0
 

Author Comment

by:Bob Schneider
ID: 40308075
I just uploaded a 41 kb image fine.  The one before was 273 kb.  They both seem pretty small but it sounds like a limits issue, right?
0
 

Author Closing Comment

by:Bob Schneider
ID: 40308079
It was a request entity limit issue.  Thanks for the help!
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Resolve DNS query failed errors for Exchange
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

713 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