{"id":10461,"date":"2016-08-19T07:45:22","date_gmt":"2016-08-19T14:45:22","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=10461"},"modified":"2020-11-03T17:02:40","modified_gmt":"2020-11-04T00:02:40","slug":"file-upload-issue-in-iis-web-server","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/","title":{"rendered":"Files Failing to Upload to IIS Web Server"},"content":{"rendered":"

Applies to: <\/strong>All versions of Ephesoft Transact<\/span><\/p>\n

<\/a>Issue<\/span><\/h2>\n

Some files are failing to upload to the IIS web server.<\/span><\/p>\n

<\/a>Root Cause<\/span><\/h2>\n

The IIS web server supports up to 30MB size files by default. Larger files may fail to upload to the server due to sizing limitations.<\/span><\/p>\n

<\/a>Solution<\/span><\/h2>\n

Perform the following to increase the file size limitations:<\/span><\/p>\n

<\/a>Update the Request Filtering Settings<\/strong><\/span><\/h3>\n
    \n
  1. Open IIS Manager and select the level for which you want to configure the request filter.<\/span><\/li>\n
  2. In Features View<\/strong>, double-click Request Filtering<\/strong>.<\/span><\/li>\n
  3. In the Actions <\/strong>pane, click Edit Feature Settings<\/strong>.<\/span><\/li>\n
  4. In the Edit Request Filtering Settings<\/strong> dialog, edit the Maximum allowed content length<\/strong> and then click OK.<\/span><\/li>\n<\/ol>\n

    If the above change doesn\u2019t resolve the issue, you may need to edit the web.config <\/strong>file in Transact.<\/span><\/p>\n

    <\/a>Edit the web.config File<\/span><\/h2>\n

    If updating the request filtering settings doesn\u2019t resolve the issue, you can edit the web.config <\/strong>file (located at [Ephesoft_Directory<\/em>]\\EphesoftReports) to change the \u201cmaxRequestLength\u201d parameter.<\/span><\/p>\n

    <system.web>\r\n  <<\/span>httpRuntime executionTimeout<\/span>=<\/span>\"<\/span>100000\"<\/span><\/span> maxRequestLength<\/span>=<\/span>\"<\/span>1048576\"<\/span><\/span>\/><\/span><\/span>\r\n<\/system.web><\/code><\/span><\/pre>\n

    A sample web.config<\/strong> file which deals with upload size issue in IIS is as below:<\/span><\/p>\n

    <?xml version=\"1.0\" encoding=\"UTF-8\"?><\/span>\r\n<<\/span>configuration><\/span><\/span>\r\n  <system.web>\r\n    <<\/span>httpRuntime executionTimeout<\/span>=<\/span>\"<\/span>100000\"<\/span><\/span> maxRequestLength<\/span>=<\/span>\"<\/span>1048576\"<\/span><\/span>\/><\/span><\/span>\r\n  <\/system.web>\r\n  <system.webServer>\r\n    <<\/span>handlers><\/span><\/span>\r\n      <<\/span>add name<\/span>=<\/span>\"<\/span>BonCode-Tomcat-WC-Handler\"<\/span><\/span> path<\/span>=<\/span>\"<\/span>*\"<\/span><\/span> verb<\/span>=<\/span>\"<\/span>*\"<\/span><\/span> type<\/span>=<\/span>\"<\/span>BonCodeIIS.BonCodeCallHandler\"<\/span><\/span> preCondition<\/span>=<\/span>\"<\/span>integratedMode\"<\/span><\/span>\/><\/span><\/span>\r\n      <<\/span>add name<\/span>=<\/span>\"<\/span>BonCode-Tomcat-JSP-Handler\"<\/span><\/span> path<\/span>=<\/span>\"<\/span>*.jsp\"<\/span><\/span> verb<\/span>=<\/span>\"<\/span>*\"<\/span><\/span> type<\/span>=<\/span>\"<\/span>BonCodeIIS.BonCodeCallHandler\"<\/span><\/span> preCondition<\/span>=<\/span>\"<\/span>integratedMode\"<\/span><\/span>\/><\/span><\/span>\r\n      <<\/span>add name<\/span>=<\/span>\"<\/span>BonCode-Tomcat-CFC-Handler\"<\/span><\/span> path<\/span>=<\/span>\"<\/span>*.cfc\"<\/span><\/span> verb<\/span>=<\/span>\"<\/span>*\"<\/span><\/span> type<\/span>=<\/span>\"<\/span>BonCodeIIS.BonCodeCallHandler\"<\/span><\/span> preCondition<\/span>=<\/span>\"<\/span>integratedMode\"<\/span><\/span>\/><\/span><\/span>\r\n      <<\/span>add name<\/span>=<\/span>\"<\/span>BonCode-Tomcat-CFM-Handler\"<\/span><\/span> path<\/span>=<\/span>\"<\/span>*.cfm\"<\/span><\/span> verb<\/span>=<\/span>\"<\/span>*\"<\/span><\/span> type<\/span>=<\/span>\"<\/span>BonCodeIIS.BonCodeCallHandler\"<\/span><\/span> preCondition<\/span>=<\/span>\"<\/span>integratedMode\"<\/span><\/span>\/><\/span><\/span>\r\n    <\/<\/span>handlers><\/span><\/span>\r\n    <<\/span>defaultDocument><\/span><\/span>\r\n      <<\/span>files><\/span><\/span>\r\n        <<\/span>add value<\/span>=<\/span>\"<\/span>index.jsp\"<\/span><\/span>\/><\/span><\/span>\r\n        <<\/span>add value<\/span>=<\/span>\"<\/span>index.cfm\"<\/span><\/span>\/><\/span><\/span>\r\n      <\/<\/span>files><\/span><\/span>\r\n    <\/<\/span>defaultDocument><\/span><\/span>\r\n    <<\/span>security><\/span><\/span>\r\n      <<\/span>requestFiltering><\/span><\/span>\r\n        <<\/span>requestLimits maxAllowedContentLength<\/span>=<\/span>\"<\/span>2147483648\"<\/span><\/span> maxUrl<\/span>=<\/span>\"<\/span>4096\"<\/span><\/span> maxQueryString<\/span>=<\/span>\"<\/span>2048\"<\/span><\/span>><\/span><\/span>\r\n          <<\/span>headerLimits><\/span><\/span>\r\n            <<\/span>remove header<\/span>=<\/span>\"<\/span>Content-type\"<\/span><\/span>\/><\/span><\/span>\r\n            <<\/span>add header<\/span>=<\/span>\"<\/span>Content-type\"<\/span><\/span> sizeLimit<\/span>=<\/span>\"<\/span>1000000\"<\/span><\/span>\/><\/span><\/span>\r\n          <\/<\/span>headerLimits><\/span><\/span>\r\n        <\/<\/span>requestLimits><\/span><\/span>\r\n      <\/<\/span>requestFiltering><\/span><\/span>\r\n    <\/<\/span>security><\/span><\/span>\r\n  <\/system.webServer>\r\n<\/<\/span>configuration><\/span><\/span><\/code><\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"

    Applies to: All versions of Ephesoft Transact Issue Some files are failing to upload to the IIS web server. Root […]<\/p>\n","protected":false},"author":62,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12354,12355],"tags":[12376,463,1430,92],"yoast_head":"\nFiles Failing to Upload to IIS Web Server | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Files Failing to Upload to IIS Web Server\" \/>\n<meta property=\"og:description\" content=\"Applies to: All versions of Ephesoft Transact Issue Some files are failing to upload to the IIS web server. Root […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-19T14:45:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-04T00:02:40+00:00\" \/>\n<meta name=\"author\" content=\"Breanna Fitzgerald\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Breanna Fitzgerald\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/\",\"name\":\"Files Failing to Upload to IIS Web Server | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2016-08-19T14:45:22+00:00\",\"dateModified\":\"2020-11-04T00:02:40+00:00\",\"author\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/d74c698404588430489bf05dfdf4bedd\"},\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Files Failing to Upload to IIS Web Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/d74c698404588430489bf05dfdf4bedd\",\"name\":\"Breanna Fitzgerald\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e0624b0af4f5f3caa370053f6eef54c8?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e0624b0af4f5f3caa370053f6eef54c8?s=96&r=g\",\"caption\":\"Breanna Fitzgerald\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Files Failing to Upload to IIS Web Server | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"Files Failing to Upload to IIS Web Server","og_description":"Applies to: All versions of Ephesoft Transact Issue Some files are failing to upload to the IIS web server. Root […]","og_url":"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/","og_site_name":"Ephesoft Docs","article_published_time":"2016-08-19T14:45:22+00:00","article_modified_time":"2020-11-04T00:02:40+00:00","author":"Breanna Fitzgerald","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Breanna Fitzgerald","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/","url":"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/","name":"Files Failing to Upload to IIS Web Server | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2016-08-19T14:45:22+00:00","dateModified":"2020-11-04T00:02:40+00:00","author":{"@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/d74c698404588430489bf05dfdf4bedd"},"breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/file-upload-issue-in-iis-web-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Files Failing to Upload to IIS Web Server"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/d74c698404588430489bf05dfdf4bedd","name":"Breanna Fitzgerald","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e0624b0af4f5f3caa370053f6eef54c8?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e0624b0af4f5f3caa370053f6eef54c8?s=96&r=g","caption":"Breanna Fitzgerald"}}]}},"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/10461"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/users\/62"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=10461"}],"version-history":[{"count":0,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/10461\/revisions"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=10461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/categories?post=10461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/tags?post=10461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}