错误列表不包括c#asp.net中的文件名或行号(Visual Studio) [英] error list not including filename or line number in c# asp.net (Visual Studio)

查看:70
本文介绍了错误列表不包括c#asp.net中的文件名或行号(Visual Studio)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,亲爱的。有时我在我的错误列表中遇到错误,当我在asp.net(Visual Studio)中构建我的项目时,错误没有指定行号或文件名。

该错误通常类似''对象引用没有设置为对象的实例''

解决方案

hai ...这个错误的意思是...你的r丢失或丢失将正确的值传递给变量......

例如...



- >你定义任何变量..

- >你要动态地将值传递给变量

- >你在某个地方使用那个变量,比如乘法......

- >如果在你传递该变量的值丢失的情况下..那么它在乘法过程中显示错误。就像对象引用未设置为对象的实例





来检查或解决此错误



- >保持断点检查运行时的每个变量值



- >任何显示空值然后尝试解决这个问题



祝你好运


嗨!!! Pooyan

有时候你会遇到这种类型的错误,因为ms中的错误以msdn格式提交这种类型的错误(微软网站)

解决方案是保存项目和关闭VS并重启VS


Hi my dear friends. sometimes i face an error in my error list when i build my project in asp.net(Visual Studio) that the error has no line number or filename specified.
that error usually something like ''Object reference not set to an instance of object''

解决方案

hai... meaning of that error is.. your r missing or lose to pass the correct value into the variable...
for example...

->you are defining any variable..
->you are going to pass the value to the variable at dynamically
->your are using that variable in some place,like multiplication..
->if in case the value you are passing that variable is missing.. then it shows the error at multiplication process..Like "Object reference is not set to instance of object"


to check this or to solve this error

-> keep break points check every variable values at run time

->anything shows null value then try to solve that

good luck


Hi!!! Pooyan
Some time you face this type of error because of bugs in vs kindly submit this type of error in msdn form(microsoft site)
the solution is save the project and close vs and restart VS


这篇关于错误列表不包括c#asp.net中的文件名或行号(Visual Studio)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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