Solved

Uploading Files  via fso to iis 8

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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.…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now