我从同一个数据库获得了2个表。只是客户和订单表。 我可以从那里获得客户,但是当我试图获得订单时我有例外。底层连接在WCF数据服务中关闭
An unhandled exception of type 'System.Data.Services.Client.DataServiceTransportException' occurred in Microsoft.Data.Services.Client.dll Additional information: The underlying connection was closed: An unexpected error occurred on a receive.;"
我的httpRuntime是:
httpRuntime targetFramework="4.5.2" executionTimeout="90" maxRequestLength="1048576" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" requestLengthDiskThreshold="2147483647"/>
而这个错误:
Error: Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation
问题在于这些表中的数据量。第二张桌子有太多的领域,我使用LinQ部分采取他们。 –