Solved

Uploading Files  via fso to iis 8

Posted on 2014-09-03
5
610 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
[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
5 Comments
 
LVL 53

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
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…
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.

617 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