0

I created an ASP.NET MVC 1.0 application that works fine on my machine (running in vs 2008 web server). However, when I deploy it to my webhost (running in medium trust), I get the following exception on the first hit: could not find file or dependency System, Version 1.0.9.0. Looking at the stack trace, I saw target invocation exception, method not allowed exception (sorry I did not keep the original exception details). My webhost switched my trust level to full trust and it started working.

I thought ASP.Net MVC 1.0 was supposed to work in medium trust?

4

1 に答える 1

0

ASP.Net MVC は確かに中程度の信頼で実行する必要があります。以前に SO で説明されています。たとえば、ASP.NET MVC フレームワークに必要なアプリケーションの信頼レベルは何ですか?

明らかに、あなたのアプリは中程度の信頼では満足できないことを行っています。例外の詳細を再現して提供できますか?

于 2009-05-19T15:05:24.537 に答える