我想我现在已经在网上搜索了大约2个小时(忽略Facebook ..)而且我找不到解决方案来解决我的问题!
我有一个简单的网络应用程序 - :
Default.aspx
Global.ascx
bin
但由于某种原因,当我部署到我的服务器时,我只是得到了可怕的“找不到类型”错误,对于明显在我的bin文件夹中的内容...
"Parser Error
Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.
Parser Error Message: Cannot find type PTest.Global
Source Error:
Line 1: <%@ Application Inherits="PTest.Global" %>
Source File: /home/stu/www/aspx/Global.asax Lines: 1, 1"
有趣的是,如果我运行一个简单的页面,使用内联C#它运行正常并完成工作 - 只有编译的东西失败......:/
如果有帮助的话,它是一个使用FASTCGI在Lighttpd服务器上运行的4.0应用程序(不是MVC ..)。
任何帮助都非常感激。