当前位置没有可用的源代码。 [英] There is no Source code available for the current location.

查看:60
本文介绍了当前位置没有可用的源代码。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前位置没有可用的源代码。



在ASP .NET中出现上述错误





我有取消选中以下



要求源文件与原始版本完全匹配



工具 - > ;选项 - >调试 - >一般



但我仍然得到同样的错误。



请帮忙解决这个问题。

There is no Source code available for the current location.

Getting the above error in ASP .NET


I have unchecked the following

"Require source files to exactly match the original version" in

Tool->Options->Debugging->General

but still i am getting the same error.

Please help to come out of this.

推荐答案

以下是类似问题的答案



Here is an answer from a similar question

1) PDB files are not up to date. Try to uncheck Tool->Options->Debugging->General->"Require source files to exactly match the original version"
 
2) You've referenced another of your projects byadding it's dll to your references instead of adding the project as reference. Try to remove the reference add add a new reference to the project from the "Projects" tab





回答者 - 西蒙Bang Terkildsen [ ^ ]



查看此链接以获取完整的讨论:当前位置没有可用的源代码。在ASP .net [ ^ ]



如果有效,请告诉我。如果没有,我会尝试给你一些关于可能出错的更多指示。



Answered by - Simon Bang Terkildsen[^]

check out this link here for complete discussion: There is no Source code available for the current location. in ASP .net[^]

Let me know if it worked. If not I will try to give you some more pointers on what could be wrong.


如果你在项目中使用Ajax控件工具包,你会得到这样的错误。试试在页面中添加脚本管理器,可以在工具中找到。认为可能是问题。
If you are using Ajax control tool kit in the project and you are getting the error like this.Try to add Script Manager in the page which could be found in the tools. Think that might be the problem.


这篇关于当前位置没有可用的源代码。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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