kalpesh nariya

kalpesh nariya

  • NA
  • 26
  • 7.9k

Problems with Uploading VIDEO file from server folder with a

Feb 19 2015 1:01 AM
I want to convert a .Net framework 4.5 code into Asp.net MVC. This is basically a Video upload when live streaming is stop . Now I face some problems. What is the maximum value of maxRequestLength? I already add this line in my web.config file but request time out when take time more then 1 minuts and file size more then 999 kb. My IISvirson is IIS7.5

this is my web.config file

<system.webServer>
<modules>
<add name="ITHitPutUploadProgressAndResumeModule" type="ITHit.WebDAV.Server.ResumableUpload.PutUploadProgressAndResumeModule, ITHit.WebDAV.Server" preCondition="integratedMode" />
</modules>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483648" />
</requestFiltering>
</security>
<system.web>
<machineKey validationKey="27EB98EE963154462FD2DF6296D9B5BF34FA18067C15056DA4778903452D89EE964CD7574A3250E0C7827BFD0E10523D45452CBB20C05F258BBEE14B514A2E78" decryptionKey="6152EBDEDAE45C66209DF59FD7BB05E2ED28180E285DDAF6FCD3B81E77EED54D" validation="SHA1" decryption="AES" />
<customErrors mode="Off" />
<httpRuntime executionTimeout="3600" maxRequestLength="2097151" requestLengthDiskThreshold="2097151" shutdownTimeout="500"/>
<compilation debug="true" targetFramework="4.5">
<assemblies>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
<authentication mode="Forms">
<forms loginUrl="~/Home" defaultUrl="~/Home/Index" timeout="20" protection="All" slidingExpiration="true" />
</authentication>
<caching>
<outputCacheSettings>
<outputCacheProfiles>
<add name="10Mnt" duration="600" />
</outputCacheProfiles>
</outputCacheSettings>
</caching>

<profile>
<providers>
<clear />
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
</providers>
</profile>
<providers>
<clear/>
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
</providers>
</roleManager>-->
<pages controlRenderingCompatibilityVersion="4.0">
<namespaces>
<add namespace="System.Web.Helpers" />
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Optimization" />
<add namespace="System.Web.Routing" />
<add namespace="System.Web.WebPages" />
</namespaces>
</pages>

</system.web>

so plz help me.

Attachment: webconfig1.rar

Answers (6)