0
我在樹視圖控件上面臨錯誤。圖像如下所示。當代碼從一臺機器傳輸到另一臺機器時,在樹視圖控件上遇到錯誤
可能的原因是什麼。我已將已發佈的代碼從一臺PC轉移到另一臺。目標機器有Windows 2008服務器。
一切都很好,除了TreeView控件:
有什麼能爲它潛在的原因是什麼?
更新
下面是摘錄從我web.config
<system.webServer>
<validation ntegratedModeConfiguration="false" />
<handlers>
<add name="ReportViewerWebControl"
path="Reserved.ReportViewerWebControl.axd" verb=""
type="Microsoft.Reporting.WebForms.HttpHandler"
resourceType="Unspecified"
requireAccess="Script"
preCondition="integratedMode" />
<add name="ReportViewerWebControlHandler"
preCondition="integratedMode"
verb=""
path="Reserved.ReportViewerWebControl.axd"
type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
我的web.config是這樣的。它在Windows 7上工作正常,但不在Windows Server 2008上 – user1884709