Tech Tip: How To Adjust Maximum File Upload Size

Digital television v3

Adjust Maximum File Upload SizeAs a Technical Support Specialist for intranets and websites, I have been getting a lot of requests from users to post videos on their sites. Videos are a great way to engage employees and make the hospital’s intranet a more interesting place to go, but video files are sometimes too big to upload normally through the intranet GUI. This is because Microsoft’s Internet Information Services (IIS) limits the upload file size to only 30MB. This post outlines how a server manager can easily make the change to allow larger files to be uploaded to their hospital’s intranet.

There are two segments of code that you will have to paste into and edit in web.config file which is always located in the root of the virtual directory. The first line of code shown below is added to the <system.web> section and is for older versions of IIS. The “maxRequestLength” value is the size of the file which is measured in kilobytes. Set the “executionTimeout” to a time in seconds that you think is reasonable to upload the file.

<httpRuntime useFullyQualifiedRedirectUrl=”true” maxRequestLength=”100000″ />

For IIS7 and newer users, you will have to add the following code to the< system.webServer> section of web.config. The “maxAllowedContentLength” value is the maximum file size that you can change. The unit for this section is in bytes.
<requestLimits maxAllowedContentLength=”1000000000″ />

Now that you have the ability to upload larger files such as videos to your hospital’s intranet, see how can increase employee engagement. Click below to be a part of our weekly open demonstration. Innovation through Intranets

Schedule a Demo

See why so many Healthcare organizations trust HospitalPORTAL.