ASP.NET应用程序中的运行时错误 [英] Runtime error in asp.net application

查看:73
本文介绍了ASP.NET应用程序中的运行时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


当我编译我的asp.net项目时,它给了我一个错误.这是因为我的web.config文件无法修改.当我按下"F5"键时,它给我错误,但是当我按下"Ctrl + F5"时,它在不进行修改的情况下进行调试,并且没有给出任何错误.这是什么问题我对此一无所知,请很快帮我.


When I compile my asp.net project it gives me an error. it is because my web.config file is unable to modify. When I press "F5" key it gives me error but when I press "Ctrl + F5" then it debug without modifying and doesn''t give any error. what kind of problem is this. I''ve no idea about it kindly help me soon.

thanks in advance.

推荐答案

原因如下:

Debugging(F5):它运行程序,并通过设置断点来逐步调试.并首先构建代码.

无需调试即可启动(ctrl + F5):它将构建代码的发行版本并开始执行应用程序

我认为您的代码中某处存在错误/错误.发布您的错误消息可以帮助我们找到原因.
The reason is as follows:

Debugging(F5): it runns the program and lets you debug step by step by setting a breakpoint. and it builds code first.

Start without debugging(ctrl+F5) : it builds the release version of code and start the execution of application

I think there is a bug/error somewhere in you code. Posting your error message could help us to find the reason.


检查此博客
http://www.daniweb.com/web-development/aspnet/threads/160423 [ ^ ]
--NDK
check this blog
http://www.daniweb.com/web-development/aspnet/threads/160423[^]
--NDK


这篇关于ASP.NET应用程序中的运行时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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