Solved

Uploading Files  via fso to iis 8

Posted on 2014-09-03
5
587 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

778 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