Click here to Skip to main content
15,997,960 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
There is no Source code available for the current location. in ASP .net
Getting the above error in ASP .NET
Please help
Posted

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
 
Share this answer
 
Comments
Abhinav S 2-Sep-11 6:19am    
Fairly good suggestion. 5.
Simon Bang Terkildsen 2-Sep-11 6:19am    
thank you
ssaakk 9-Apr-12 11:16am    
thank you
HarshTyagi03 20-Jun-12 9:48am    
Nice Solution..))
Google[^] it first.
 
Share this answer
 
Comments
Simon Bang Terkildsen 2-Sep-11 6:18am    
+5 And ofcouse you can just google it ;)
Abhinav S 2-Sep-11 6:19am    
Yup. 5.
You Just Remove all Reference (.dll) that u added Dynamically and Than Build the again add the dll correctly and than Build again Thats all !!
 
Share this answer
 
You are trying "StepInto (by pressing F11)" a dll in debug where PDB file is not present or version of the PDB is not matched.

1. delete the OLD reference of your dll
2. rebuild your dll in Debug mode
3. add reference yo your project
 
Share this answer
 
Open visual studio command prompt from all programs

type devenv.exe/resetskippkgs

and then reopen the project.

I hope it will help you.
 
Share this answer
 
 
Share this answer
 
Comments
CHill60 30-Nov-15 4:25am    
What on earth does this have to do with this 4 year old question?

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900