无法加载类型“MyProject.MvcApplication”
我不确定发生了什么,但现在我刚刚为我的 mvc 网站上传了一个新的 dll,但出现以下错误
解析器错误消息:无法加载类型“MyProject.MvcApplication”。
来源错误:
第 1 行:<%@ Application Codebehind="Global.asax.cs" Inherits="MyProject.MvcApplication" Language="C#" %>
我已经在本地重建了应用程序并且可以正常工作。所以问题出在远程服务器上。我已经上传了所有DLL
I'm not sure what's happen, but now i've just upload a new dlls for my mvc website and i'm getting the following error
Parser Error Message: Could not load type 'MyProject.MvcApplication'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="MyProject.MvcApplication" Language="C#" %>
I've have rebuilt the application locally and and works. So the issue is just on the remote server. I have uploaded all DLLs
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
UpTheCreek,有点质疑 ftp。我的酒店 Wi-Fi 连接受到限制。正如之前在 stackoverflow 上提到的,该消息并未描述该问题。于是我去上班并通过 ftp 传输了整个垃圾箱,结果成功了。非常令人沮丧。
UpTheCreek, is kinda spot on questioning the ftp. My connection is getting throttled in my hotel wifi. As previous mentioned on stackoverflow the message isn't descriptive of the issue. So i went to work and ftp'd the whole bin and it worked. Very frustrating.