These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Upload working when debugging but not in IIS

We use version 1.5.9. When we run our web application (or the GleamTech sample site) all works fine as long as it is started in the debugger. However if run under IIS 7 the upload does not work (no error but file is not uploaded). All other file ops work fine. Tests with and without IIS on same machine with Vista, VS 2008 and .Net 3.5.
Is there a simple fix or config to get this working? Version 1.6 does not have this problem however we would prefer to get 1.5.9 running if there is a simple fix. Thank you!
Stephan 1/2/2009 6:45 AM
Actually v1.6 only includes support for Flash 10 and there is no difference regarding IIS7 compability. However, in IIS7 there is the new mode (integrated - DefaultAppPool) so you need to include some settings in your web.config for this mode. We included these settings in the example solution of v1.6. This is why you experienced v1.6 to work and not v1.5.9.

So you can get v1.5.9 running under IIS7 by including the following settings specific to IIS7:

  <system.webServer>
    <modules>
      <add name="GleamTech.Web.FileTransfer.UploadHttpModule" type="GleamTech.Web.FileTransfer.UploadHttpModule, GleamTech.Web.FileTransfer" preCondition="managedHandler" />
    </modules>

    <validation validateIntegratedModeConfiguration="false" />
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="2140708864" />
      </requestFiltering>
    </security>
  </system.webServer>


Cem Alacayir 1/6/2009 4:11 PM
Thank you! It works now.
Stephan 1/7/2009 2:04 AM