English 中文(简体)
Razor MVC 应用程序没有装入 FreeTextBox, 但是它没有 FreeTextBox
原标题:Razor MVC application failed to load FreeTextBox but it doesn t have a FreeTextBox

我把我的MVC3 Razor应用程序上传到网站主机提供商(在2010年视觉工作室下,我的开发服务器运作良好)。

在部署地点,我得到一个

"Could not load file or assembly  FreeTextBox, Version=3.3.1.12354, Culture=neutral, PublicKeyToken=5962a4e684a48b87  or one of its dependencies. The system cannot find the file specified."

但我完全迷惑不解, 我的应用程序里面没有任何 FreeTextBox! 我甚至没有引用 DLL 。 不幸的是, “ 详细” IIS 错误甚至没有提到是谁或什么人试图装入 DLL, 所以我不知道它来自何处。

为了进行三重检查,我在FreeTextBox上搜索了带有搜索面具的自建应用程序。 搜索 ENTIRE 解决方案,视觉工作室找不到任何东西。

Here the Actual Solution It was indeed inheriting an assembly of the parent application. Ketan as per your suggestion I solved it by doing this:

  <system.web>
     <assemblies>
        <clear/>
        ... here standard MVC3 assemblies of template project ...
     </assemblies>**
   </system.web>
最佳回答

您在共享主机上的应用程序文件夹是否配置为“ 应用程序 ”? 如果不是的话, 它可能正在使用机器. config 或 Web. config 。 在有此控件引用的更高级别上配置。 FreeTextBox 是 ASP. NET WYSWYG 文本编辑器, 网站主机通常免费将它包含在主机软件包中。 我会联系他们的技术支持来解决这个问题 。

问题回答

您正在引用一个依赖“FreeTextBox”的集合。

将包含“FreeTextBox”组装的.dll 包含“FreeTextBox”组装到/bin dir 上,或用类似工具发现违规组装





相关问题
WebForms and ASP.NET MVC co-existence

I am trying to make a WebForms project and ASP.NET MVC per this question. One of the things I ve done to make that happen is that I added a namespaces node to the WebForms web.config: <pages ...

Post back complex object from client side

I m using ASP.NET MVC and Entity Framework. I m going to pass a complex entity to the client side and allow the user to modify it, and post it back to the controller. But I don t know how to do that ...

Create an incremental placeholder in NHaml

What I want to reach is a way to add a script and style placeholder in my master. They will include my initial site.css and jquery.js files. Each haml page or partial can then add their own required ...

asp.net mvc automapper parsing

let s say we have something like this public class Person { public string Name {get; set;} public Country Country {get; set;} } public class PersonViewModel { public Person Person {get; ...

structureMap mocks stub help

I have an BLL that does validation on user input then inserts a parent(PorEO) and then inserts children(PorBoxEO). So there are two calls to the same InsertJCDC. One like this=>InsertJCDC(fakePor)...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

热门标签