System.object 出錯了
發生情況,通常是安裝新套件 或 開專案 netFramework 有誤
算是新手開始,比較容易遇到的錯誤。
也有可能是web.config被覆寫,所以將web.config加入以下字串
<compilation debug="true" targetFramework="4.5">
<assemblies>
<add assembly="System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</assemblies>
</compilation>詳細參考:
https://stackoverflow.com/questions/24396711/the-type-system-object-is-defined-in-an-assembly-that-is-not-referenced

留言
張貼留言