'/' アプリケーションでサーバー エラーが発生しました。

null 参照に対して実行時バインディングを実行することはできません

説明: 現在の Web 要求を実行中に、ハンドルされていない例外が発生しました。エラーに関する詳細および例外の発生場所については、スタック トレースを参照してください。

例外の詳細: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: null 参照に対して実行時バインディングを実行することはできません

ソース エラー:


行 1113:      @* 装着サイズ *@
行 1114:      <div id="installing-size" class="cf">
行 1115:        @if (other.IndexOf("FORGED DESIGN 555装着") >= 0)
行 1116:        {
行 1117:          other = other.Replace("FORGED DESIGN 555装着", "");

ソース ファイル: c:\WWW\DUONET\mzspeed.co.jp\products\body-kit\catalog.cshtml    行: 1115

スタック トレース:


[RuntimeBinderException: null 参照に対して実行時バインディングを実行することはできません]
   CallSite.Target(Closure , CallSite , Object , String ) +142
   System.Dynamic.UpdateDelegates.UpdateAndExecute2(CallSite site, T0 arg0, T1 arg1) +2881036
   CallSite.Target(Closure , CallSite , Object , String ) +201
   ASP._Page_products_body_kit_catalog_cshtml.Execute() in c:\WWW\DUONET\mzspeed.co.jp\products\body-kit\catalog.cshtml:1115
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +69
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +131
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +116


バージョン情報: Microsoft .NET Framework バージョン:4.0.30319; ASP.NET バージョン:4.7.3930.0