昨日、自分のWebサイトをc:\ development \ project \からc:\ inetpub \ wwwroot \ virtualdir \(同じPC)に展開しました。それはしばらくの間機能しました、私はhttp:// computername /virtualdir/に行くことによってウェブサイトに到達することができました。
しかし、今朝、誰もがエラーを受け取りました。システムは指定されたパスを見つけることができません。
見つからない指定されているパスは何ですか?/ virtualdir / bin /にはSystem.Web.Mvc.Dllアセンブリが含まれています...また、デプロイメントプロジェクトはそれを依存関係としてマークしているので、インストール中に実際に含まれていましたが、どうすれば突然変更できますか?
スタックトレース:
[DirectoryNotFoundException:システムは指定されたパスを見つけることができません。(HRESULTからの例外:0x80070003)]
[FileNotFoundException:ファイルまたはアセンブリ'System.Web.Mvc、Version = 1.0.0.0、Culture = neutral、PublicKeyToken=31bf3856ad364e35'またはその依存関係の1つを読み込めませんでした。指定されたパスが見つかりません。]
[FileNotFoundException:ファイルまたはアセンブリ'System.Web.Mvc、Version = 1.0.0.0、Culture = neutral、PublicKeyToken=31bf3856ad364e35'またはその依存関係の1つを読み込めませんでした。指定されたパスが見つかりません。]System.Reflection.Assembly._nLoad(AssemblyName fileName、String codeBase、Evidence assemblySecurity、Assembly locationHint、StackCrawlMark&stackMark、Boolean throwOnFileNotFound、Boolean forIntrospection)+0 System.Reflection.Assembly.nLoad(AssemblyName fileName 、String codeBase、Evidence assemblySecurity、Assembly locationHint、StackCrawlMark&stackMark、Boolean throwOnFileNotFound、Boolean forIntrospection)+43 System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef、Evidence assemblySecurity、StackCrawlMark&stackMark、Boolean forIntrospection)+127System.Reflection.Assembly。
[ConfigurationErrorsException:ファイルまたはアセンブリ'System.Web.Mvc、Version = 1.0.0.0、Culture = neutral、PublicKeyToken=31bf3856ad364e35'またはその依存関係の1つを読み込めませんでした。指定されたパスが見つかりません。]System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName、Boolean starDirective)+613 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()+203 System.Web.Configuration.CompilationSection.LoadAssembly( AssemblyInfo ai)+105 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)+178 System.Web.Compilation.BuildManager.GetReferencedAssemblies()+55 System.Web.Mvc.BuildManagerWrapper.System.Web.Mvc.IBuildManager.GetReferencedAssemblies ()+21System.Web.Mvc.ControllerTypeCache。