如何解决“'/'应用程序中的服务器错误"?错误? [英] How to solve "Server Error in '/' Application" error?

查看:863
本文介绍了如何解决“'/'应用程序中的服务器错误"?错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我收到以下错误时,我正在尝试deploy an asp.net application in local machine:

I am trying to deploy an asp.net application in local machine while I am receiving the following error:

Line 1:  <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Diagnose.aspx.vb" Inherits="FYP.Diagnose" %>
Line 2:
Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



任何人都知道为什么会发生此错误,以及解决方法是什么?



Anyone know why this error occur and what is the solution?

推荐答案

尝试在网站设置中将ASP.NET版本从4.0更改为2.0.
祝你好运!
Try changing the ASP.NET version from 4.0 to 2.0 in the web site settings.

Good luck!


尝试以下操作:
"/"应用程序中的服务器错误
我正在''/''应用程序中的服务器错误".这是什么意思?
"/"应用程序中的服务器错误
"/"应用程序中的服务器错误
Try the following:
Server Error in ''/'' Application
I''m getting "Server Error in ''/'' Application". What does this mean?
Server Error in ''/'' Application
Server Error in ''/'' Application


查看这些线程.

http://www.daniweb.com/web-development/aspnet/threads/33023 [ ^ ]

http://forums.asp.net/t/950095.aspx/1 [ ^ ]

这样对您有帮助.

问候,
爱德华
Check out these threads.

http://www.daniweb.com/web-development/aspnet/threads/33023[^]

http://forums.asp.net/t/950095.aspx/1[^]

That will help you.

Regards,
Eduard


这篇关于如何解决“'/'应用程序中的服务器错误"?错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆