错误:未加载global.aspx文件 [英] Error: Not load global.aspx file
本文介绍了错误:未加载global.aspx文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,伙计们。我想在VS 2010中打开网站。我打开并显示错误:
错误1无法加载类型'WebApplication1.Global'。 D:\СайтИринаСтаткевич\WebApplication1\ global.asax 1
我不能理解为什么?请帮忙。
我有检查,类global.asax.cs有解决方案资源管理器
Hello, guys. I want open website in VS 2010. I open and show error:
Error 1 Could not load type 'WebApplication1.Global'. D:\Сайт Ирина Статкевич\WebApplication1\Global.asax 1
I cant undestand why? Please help.
I have check, class global.asax.cs have in solution explorer
推荐答案
使用您在Global.asax
中指定的命名空间检查类名是否正确并且与Global.asax.cs
匹配。
Check Class Name with Namespace you specified in yourGlobal.asax
is correct and matching with yourGlobal.asax.cs
.
<%@ Application Language="C#" Codebehind="Global.asax.cs" Inherits="Test.Global" %>
这篇关于错误:未加载global.aspx文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文