Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# 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.
Posted 19-Jul-12 19:09pm
Comments
AnkitGoel.com at 11-Dec-12 7:43am
   
'Rebuild All' your solution.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
 
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.
  Permalink  
Comments
Sandeep Mewara at 20-Jul-12 18:20pm
   
Yep! Good answer. 5!
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 DamithSL 320
1 OriginalGriff 275
2 Sergey Alexandrovich Kryukov 187
3 Afzaal Ahmad Zeeshan 154
4 Peter Leow 115
0 OriginalGriff 7,510
1 DamithSL 5,494
2 Sergey Alexandrovich Kryukov 4,954
3 Maciej Los 4,936
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 11 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100