我從同一個數據庫獲得了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部分採取他們。 –