【发布时间】:2012-03-30 23:26:58
【问题描述】:
对于 62MB 的文件,上传工作正常。但是,如果它是 100MB,则会引发异常。
我在 stackoverflow 中发现了一些问题,但没有一个关于数据类型的问题非常具体。
感谢您的帮助!
ASP.Net 4、IIS7、EntityFramework 4.1、Visual Studio 2010 SP1、SQL 2008
DataType 是 varbinary(max)
applicationHost.config
<section name="requestFiltering" overrideModeDefault="Allow" />
web.config
<httpRuntime maxRequestLength="1148576" executionTimeout="3600"/>
<security >
<requestFiltering>
<requestLimits maxAllowedContentLength="112400000" />
</requestFiltering>
</security>
我使用 EntityDataModel。设计器引发了以下异常。
【问题讨论】:
-
看起来不像“普通”EF 代码 - 这是使用 WCF RIA 吗?
-
也许您应该尝试流式传输或 MTOM 消息编码(如果这确实是 WCF)。
-
我正在使用 EntityDataModel。从那里抛出异常。
标签: asp.net entity-framework entity-framework-4 entity-framework-4.1